Du lette etter:

docker compose reference

Compose file version 3 reference | Docker Documentation
https://docs.docker.com/compose/compose-file/compose-file-v3
The default path for a Compose file is ./docker-compose.yml. Tip: You can use either a .yml or .yaml extension for this file. They both work. A service definition contains configuration that is applied to each container started for that service, much like passing command-line parameters to …
Overview of docker-compose CLI
https://docs.docker.com › reference
Where to go next . CLI environment variables · Declare default environment variables in file · fig, composition, compose, docker, orchestration, cli, reference ...
Overview of docker-compose CLI | Docker Documentation
docs.docker.com › compose › reference
Compose builds the configuration in the order you supply the files. Subsequent files override and add to their predecessors. For example, consider this command line: $ docker-compose -f docker-compose.yml -f docker-compose.admin.yml run backup_db. The docker-compose.yml file might specify a webapp service. webapp: image: examples/web ports ...
Overview of docker-compose CLI | Docker Documentation
https://docs.docker.com/compose/reference
You can use Docker Compose binary, docker-compose [-f <arg>...] [options] [COMMAND] [ARGS...], to build and manage multiple services in Docker containers. Use -f to specify name and path of one or more Compose files 🔗 Use the -f flag to specify the location of a Compose configuration file. Specifying multiple Compose files 🔗
Compose file | Docker Documentation
https://docs.docker.com/compose/compose-file
16 rader · Compose file Reference and guidelines 🔗 These topics describe the Docker Compose implementation of the Compose format. Docker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x.
Compose file | Docker Documentation
https://docs.docker.com › compose
Docker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support ...
docker compose
https://docs.docker.com › reference
docker compose: You can use compose subcommand, `docker compose [-f ...] [options] [COMMAND] [ARGS...]`, to build and manage multiple services in Docker ...
The docker-compose.yml file - Divio Documentation
https://docs.divio.com/en/latest/reference/docker-docker-compose
docker-compose.yml is used exclusively for local project set-up In the Divio project architecture, the docker-compose.yml file is not used for cloud deployments, but only for configuration of the local environment. On the cloud, the deployment is taken care of …
docker-compose config
https://docs.docker.com › reference
docker-compose config. Usage: config [options] Options: --resolve-image-digests Pin image tags to digests. --no-interpolate Don't interpolate environment ...
Overview of Docker Compose
https://docs.docker.com › compose
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services. Then ...
docker-compose run
https://docs.docker.com › reference
For example, the following command starts the web service and runs bash as its command. docker-compose run web bash. Commands you use with run start in new ...
Compose file version 2 reference | Docker Documentation
https://docs.docker.com › compose
Tip: You can use either a .yml or .yaml extension for this file. They both work.
docker-compose ps | Docker Documentation
docs.docker.com › compose › reference
docker-compose ps Usage: ps [options] [SERVICE...] Options: -q, --quiet Only display IDs --services Display services --filter KEY=VAL Filter services by a property -a, --all Show all stopped containers (including those created by the run command) Lists containers.
Compose file | Docker Documentation
docs.docker.com › compose › compose-file
Compose file Reference and guidelines. These topics describe the Docker Compose implementation of the Compose format. Docker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x.
Compose file version 3 reference | Docker Documentation
https://docs.docker.com › compose
The Compose file is a YAML file defining services, networks and volumes. The ...
Reference documentation
https://docs.docker.com › reference
Docker CLI, The main CLI for Docker, includes all docker commands ; Compose CLI, The CLI for Docker Compose, which allows you to build and run multi-container ...
docker-compose up
https://docs.docker.com › reference
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 ...
Compose file version 3 reference | Docker Documentation
docs.docker.com › compose › compose-file
Compose and Docker compatibility matrix 🔗. There are several versions of the Compose file format – 1, 2, 2.x, and 3.x. The table below is a quick look. For full details on what each version includes and how to upgrade, see About versions and upgrading. This table shows which Compose file versions support specific Docker releases.
docker-compose down | Docker Documentation
docs.docker.com › compose › reference
docker-compose down. Usage: down [options] Options: --rmi type Remove images. Type must be one of: 'all': Remove all images used by any service. 'local': Remove only images that don't have a custom tag set by the `image` field. -v, --volumes Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes ...