Skip to content

Instantly share code, notes, and snippets.

View yamiacat's full-sized avatar
😸
Clearin' your caches

Matt Rose yamiacat

😸
Clearin' your caches
  • GitHub Staff
  • Kiddy, Blighty
View GitHub Profile
@yamiacat
yamiacat / docker-compose cheat sheet
Created August 11, 2021 11:05 — forked from githubfoam/docker-compose cheat sheet
docker-compose cheat sheet
#=====================================================================
docker-compose -f docker-compose.json up #use JSON instead of YAML compose file
#=====================================================================
docker-compose -f ~/hello_world/docker-compose.yml build
docker-compose -f ~/hello_world/docker-compose.yml up -d
docker-compose ps # Lists containers.
docker-compose stop
docker-compose start # Starts existing containers for a service.
docker-compose stop # Stops running containers without removing them.
docker-compose pause # Pauses running containers of a service.