Site icon XtraCode.me

Docker-compose Tips and Tricks

Docker-compose is a very useful tool when you need to orchestrate multiple containers.

Here are some useful tips and best practises.

Build container

Build and start containers in detached mode:

Container logs

Control containers

The following command will stop and the remove all docker-compose containers:

Exit mobile version