Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
4d5e3e5e
Commit
4d5e3e5e
authored
Oct 24, 2016
by
philtrep
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Documentation for using ssh on workspace
parent
aa7c52c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
README.md
README.md
+17
-2
No files found.
README.md
View file @
4d5e3e5e
...
...
@@ -37,7 +37,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
-
[
List current running Containers
](
#List-current-running-Containers
)
-
[
Close all running Containers
](
#Close-all-running-Containers
)
-
[
Delete all existing Containers
](
#Delete-all-existing-Containers
)
-
[
Enter a Container (
SSH into
a running Container)
](
#Enter-Container
)
-
[
Enter a Container (
run commands in
a running Container)
](
#Enter-Container
)
-
[
Edit default container configuration
](
#Edit-Container
)
-
[
Edit a Docker Image
](
#Edit-a-Docker-Image
)
-
[
Build/Re-build Containers
](
#Build-Re-build-Containers
)
...
...
@@ -63,6 +63,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
-
[
Misc
](
#Misc
)
-
[
Change the timezone
](
#Change-the-timezone
)
-
[
Cron jobs
](
#CronJobs
)
-
[
Access workspace via ssh
](
#Workspace-ssh
)
-
[
MySQL access from host
](
#MySQL-access-from-host
)
-
[
Use custom Domain
](
#Use-custom-Domain
)
-
[
Enable Global Composer Build Install
](
#Enable-Global-Composer-Build-Install
)
...
...
@@ -388,7 +389,7 @@ docker-compose down
<br>
<a
name=
"Enter-Container"
></a>
### Enter a Container (
SSH into
a running Container)
### Enter a Container (
run commands in
a running Container)
1 - first list the current running containers with
`docker ps`
...
...
@@ -1023,6 +1024,20 @@ You can add your cron jobs to `workspace/crontab/root` after the `php artisan` l
Make sure you
[
change the timezone
](
#Change-the-timezone
)
if you don't want to use the default (UTC).
<a
name=
"Workspace-ssh"
></a>
### Access workspace via ssh
You can access the
`workspace`
container through
`localhost:2222`
by setting the
`INSTALL_WORKSPACE_SSH`
build argument to
`true`
.
To change the default forwarded port for ssh:
```
yml
workspace
:
ports
:
-
"
2222:22"
# Edit this line
...
```
<a
name=
"MySQL-access-from-host"
></a>
### MySQL access from host
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment