Show Menu
Cheatography

Docker Groupeer Cheat Sheet (DRAFT) by

Docker CheatSheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Launch a Groupeer Project

Init a project after a clone (if needed)
./bedrock init
Launch the project with docker­-co­mpose in daemon
docker­-co­mpose up -d

Docker Images

List Docker Images
docker image
Delete a Docker Image
docker rmi image_id
Delete All Docker Images
docker rmi $(docker image)
 

If there is like a cache problem

Stop a project
docker­-co­mpose down
Remove all volume
docker volume rm $(docker volume ls)
Delete All Docker Images
docker rmi $(docker image)

Docker Volumes

Remove a volume
docker volume rm volume_id
Remove All volume
docker volume rm $(docker volume ls)
 

Docker­-co­mpose

Launch a project
docker­-co­mpose up
Launch a project in daemon
docker­-co­mpose up -d
Build a project
docker­-co­mpose build
Build & Launch a project
docker­-co­mpose up --build
Stop a project
docker­-co­mpose down