Difference between revisions of "Docker-compose up"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
https://docs.docker.com/compose/reference/up/
 
https://docs.docker.com/compose/reference/up/
 
If there are existing containers for a service, and the service’s configuration or image was changed after the container’s creation, docker-compose up picks up the changes by stopping and recreating the containers (preserving mounted volumes). To prevent Compose from picking up changes, use the --no-recreate flag.
 
If there are existing containers for a service, and the service’s configuration or image was changed after the container’s creation, docker-compose up picks up the changes by stopping and recreating the containers (preserving mounted volumes). To prevent Compose from picking up changes, use the --no-recreate flag.
 +
 +
 +
== Related commands ==
 +
* <code>[[docker-compose pull]]</code>
 +
  
  

Revision as of 18:20, 12 January 2020

docker-compose up -d
-d daemon


https://docs.docker.com/compose/reference/up/ If there are existing containers for a service, and the service’s configuration or image was changed after the container’s creation, docker-compose up picks up the changes by stopping and recreating the containers (preserving mounted volumes). To prevent Compose from picking up changes, use the --no-recreate flag.


Related commands


See also

  • https://docs.docker.com/compose/reference/up/
  • Advertising: