Docker notes (Advanced) - Docker Compose

Docker Compose 1. Introduction Official introduction 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, with a single command, you create and start all the services from your configuration. To learn more about all the features ...

Added by kevski on Mon, 29 Nov 2021 00:59:38 +0200

Common template commands of docker-compose.yml file

Note: when writing docker-compose.yml file, a space should be added after all colons (:) and dashes (-). 1,command Overrides the default command executed after the container is started command: echo "hello" 2,container_name Specifies the container name. The project name will be used by default_ Service name_ Format such as serial number c ...

Added by paran0id Dan on Tue, 16 Nov 2021 10:25:31 +0200