- Docker v20.10.17+
- Docker Compose v2.6.0
If you're behind a Proxy, make sure you add your proxy settings in your own ~/.docker/config.json
file using the example described here: https://docs.docker.com/network/proxy/#configure-the-docker-client
You can now use these simple commands to build and run your docker-compose project (with or without proxy):
# Builds containers with `build` sections defined
$ make
# Starts the stack
$ make start
# Get logs from the stack
$ make logs
# Stops the stack
$ make stop
# Restarts the stack
$ make restart
# Cleanup everything ( useful for fresh starts )
$ make clean