# Stop
docker-compose stop
# Start
docker-compose up -d
# Build
docker-compose build
# Remove
docker-compose rm -f
# Restart
docker-compose restart <container>
# Inspect logs
docker logs <container> -f
# Execute command
docker exec -it <container> /bin/bash
# Delete volumes
docker volume prune
# Delete system files
docker system prune
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q) --force
# Get IP address
docker inspect <container> | grep '"IPAddress"'