List all docker images
docker images -a
List all running docker container
docker ps -a/docker container ls
Delete or Kill all running containers
docker rm -f $(docker ps -aq)/docker kill $(docker ps -a)
View the logs container
docker logs <container name>
Use docker Compose to start or remove a group of container
docker-compose up -d or down
Shell into a running docker container
docker exec -it <container name> bash
List Nodes in a cluster
docker node ls
List Services in a docker swarm
docker service ls






