
Stop the containers, if required, before removing Push what it can and ignores images with push failures. Pull without printing progress informationĪlso pull services declared as dependencies Pull what it can and ignores images with pull failures.ĭeprecated, pull multiple images in parallel (enabled by default). Show all stopped containers (including those created by the run command) Number of lines to show from the end of the logs for each container. Path to workdir directory for this command. Set environment variables (can be used multiple times, not supported in API < 1.25) Index of the container if there are multiple instances of a service By default docker-compose exec allocates a TTY. Output events as a stream of json objectsĭetached mode: Run command in the background.ĭisable pseudo-tty allocation. Remove containers for services not defined in the Compose file Remove named volumes declared in the volumes section of the Compose file and anonymous volumes attached to containers. 'local': Remove only images that don't have a custom tag set by the image field. Type must be one of: 'all': Remove all images used by any service. Incompatible with –force-recreate.ĭon't build an image, even if it's missing. If containers already exist, don't recreate them. Recreate containers even if their configuration and image haven't changed.

Set "service1,service2" for a list of specified services or use the wildcard symbol to display all services Print the service config hash, one per line. Only validate the configuration, don't print anything.

Sets memory limit for the build container.Īutomatically push images for any services which have a build option specified. Do not use cache when building the image.Īlways attempt to pull a newer version of the image.
