DVL-013 Improve docs: work inside the container

This commit is contained in:
cytopia 2017-12-07 09:32:09 +01:00
parent 033ed60148
commit 38460eaa1a
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -89,6 +89,14 @@ Here is an example to list the PHP inside the container from the Docker host.
$ docker-compose exec --user devilbox php php -v
```
However, instead of having to type all of the above for a simple command execution, you might be better off to simply enter the PHP container and work on a normal shell. Going into the container is as simple as this:
```
$ ./shell.sh
```
Read more about this in the next section.
## 3. Work inside the PHP container