Docker
Listing
- List All Docker Containers:
docker ps -a
- List all networks:
docker network list
- Inspect docker container:
docker inspect {container id}
Starting/Stopping
- Start docker container:
docker start {container id}
- Stop docker container:
docker stop {container id}
- Stop All Docker Containers:
docker stop $(docker ps -a -q)
- Remove all docker cContainers:
docker stop $(docker ps -a -q)
Deleting/Cleaning
- Delete no longer needed containers:
docker container prune
- Delete no longer needed images:
docker image prune
- Delete no longer needed networks:
docker network prune
- Delete no longer needed trash:
docker system prune