Use hostnames everywhere in docs, add YAML note and deprecate env.md
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
342ed948ec
commit
73bd4aca74
4 changed files with 16 additions and 4 deletions
|
|
@ -51,7 +51,7 @@ One-off commands are started in new containers with the same config as a normal
|
|||
|
||||
Links are also created between one-off commands and the other containers for that service so you can do stuff like this:
|
||||
|
||||
$ fig run db /bin/sh -c "psql -h \$DB_1_PORT_5432_TCP_ADDR -U docker"
|
||||
$ fig run db psql -h db_1 -U postgres
|
||||
|
||||
If you do not want linked containers to be started when running the one-off command, specify the `--no-deps` flag:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue