From 00619263f469a42f3e0a345e1aaf1fc9710fc773 Mon Sep 17 00:00:00 2001 From: George Date: Sat, 31 Oct 2020 23:40:22 -0400 Subject: [PATCH] Update up.md An option's short form should not be used in descriptions since they are intentionally terse and as such does throw away the otherwise nice narrative provide by using the long form. --- compose/reference/up.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/compose/reference/up.md b/compose/reference/up.md index f7c211618e..5c7a11982b 100644 --- a/compose/reference/up.md +++ b/compose/reference/up.md @@ -20,12 +20,13 @@ Options: --always-recreate-deps Recreate dependent containers. Incompatible with --no-recreate. --no-recreate If containers already exist, don't recreate - them. Incompatible with --force-recreate and -V. + them. Incompatible with --force-recreate and + --renew-anon-volumes. --no-build Don't build an image, even if it's missing. --no-start Don't start the services after creating them. --build Build images before starting containers. --abort-on-container-exit Stops all containers if any container was - stopped. Incompatible with -d. + stopped. Incompatible with --detach. --attach-dependencies Attach to dependent containers. -t, --timeout TIMEOUT Use this timeout in seconds for container shutdown when attached or when containers are @@ -44,8 +45,8 @@ Builds, (re)creates, starts, and attaches to containers for a service. Unless they are already running, this command also starts any linked services. -The `docker-compose up` command aggregates the output of each container (essentially running `docker-compose logs -f`). When -the command exits, all containers are stopped. Running `docker-compose up -d` +The `docker-compose up` command aggregates the output of each container (essentially running `docker-compose logs --follow`). When +the command exits, all containers are stopped. Running `docker-compose up --detach` starts the containers in the background and leaves them running. If there are existing containers for a service, and the service's configuration