Add note about fig rm/build dance

This needs more thought. Ref #2
This commit is contained in:
Ben Firshman 2014-01-02 23:47:04 +00:00
parent 9ede185d4b
commit 3fa80cd974
1 changed files with 3 additions and 2 deletions

View File

@ -204,7 +204,7 @@ Run `fig [COMMAND] --help` for full usage.
Build or rebuild services.
Services are built once and then tagged as `project_service`. If you change a service's `Dockerfile` or its configuration in `fig.yml`, you will probably need to run `fig build` to rebuild it.
Services are built once and then tagged as `project_service`. If you change a service's `Dockerfile` or its configuration in `fig.yml`, you will probably need to run `fig build` to rebuild it, then run `fig rm` to make `fig up` recreate your containers.
#### kill
@ -241,8 +241,9 @@ Stop running containers without removing them. They can be started again with `f
#### up
Build, create, start and attach to containers for a service.
Build, create, start and attach to containers for a service.
If there are stopped containers for a service, `fig up` will start those again instead of creating new containers. When it exits, the containers it started will be stopped. This means if you want to recreate containers, you will need to explicitly run `fig rm`.
### Environment variables