Start services listed in docker-compose.yml file for the first time
docker-compose up -d
Stop services listed in docker-compose.yml
docker-compose stop
Subsequently start services listed in docker-compose.yml file
docker-compose start
Clean up services listed in docker-compose.yml file
docker system prune
Bring up all services listed in docker-compose.yml file
docker-compose upBring up "node" service listed in docker-compose.yml file
docker-compose up nodeClean up all services listed in docker-compose.yml file
docker-compose rm -fRebuild your services on restart
docker-compose up -d --force-recreate --buildLog into a container named webserver
docker exec -it webserver /bin/bashProvide information about the running container "ubuntu".
docker inspect ubuntuLook for containers
docker container lsThis will give you a list of CONTAINER ID's.
Remove containers
docker container rm -f <CONTAINER ID>Look for images
docker imagesThis will give you a list of IMAGE ID's.
Remove containers
docker rmi -f <IMAGE ID>Look for volumes
docker volume lsThis will give you a list of VOLUME NAME's.