Update doc

This commit is contained in:
Michael RICOIS 2018-03-23 10:53:00 +01:00
parent 87cdedf2f1
commit 506c156b49

View File

@ -28,13 +28,14 @@ We hope you have define a workspace path
Linux: ```/home/<user>/workspace```
Windows: ```C:\<user>\worspace```
Always go in `<workspace>/devcontainer` to execute docker-compose file.
Always go in `<workspace>/devcontainer` to execute docker-compose command.
## Launch services (first time build)
```bash
docker-compose up -d
```
Delete service : `docker-compose rm`
Delete service : `docker-compose rm <container_name>`
Prune all: `docker-compose down`
## Start and stop
`docker-compose start`
@ -66,14 +67,20 @@ docker-compose exec <container_name>
```
## Database
Database files are store in <workspace>/database.
Even if you delete your
Database files are store in `<workspace>/database`.
Even if you delete your container date are preserved.
## HTTPd
# Additional
## Ip Address
See all ip addresses in one command
`docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)`
## ctop
Get ctop on [github](https://github.com/bcicen/ctop)