Summary
docker-compose is a command line tool for defining and running multi-container dockerized applications. docker-compose uses a single file to define a multi-container environment. A docker-compose file should be saved with extension yml or yaml. We can compose container environments using services, networks and volumes in a docker-compose file. docker-compose CLI tool should be available on the container host to run the commands. docker-compose gives you options to build images, create volumes, port mappings, define dependencies among components and so on. docker-compose CLI contains commands to manage environments, services or containers. The CLI cane used to setup number of containers for each service. Service Discovery and Registration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access