Show Menu
Cheatography

Docker Aliases Keyboard Shortcuts by

Docker aliases list from zsh-docker-aliases (https://github.com/luismayta/zsh-docker-aliases/blob/develop/zsh-docker-aliases.zsh)

Docker

d
docker

Images

di
docker images
drmi
docker rmi
dbu
docker build
drmi_all
delete all images
drmi_dang
delete dangling images

Volumes

dvls
docker volume ls
dvrm_all
Remove all volumes
dvrm_dang
Remove dangling volumes
 

Containers

dps
docker ps
dpsl
Show latest container
drm
docker rm
dexec
docker exec
dlog
docker logs
dip
docker inspect
dstop_all
Stop all running containers
drm_st­opped
Remove all stopped containers
drmv_s­topped
Remove all stopped containers with theirs associated volumes
drm_all
Remove all containers
drmv_all
Remove all containers with theirs associated volumes
 

Clean up

docker­-cl­ean­-co­nta­iners
Stop and remove all containers
docker­-cl­ean­-images
Remove all images
docker­-cl­ean­-vo­lumes
Remove all volumes
docker­-cl­ean­-ne­tworks
Remove all networks
docker­-cl­ean­-unused
docker prune all with volumes
docker­-cl­ean­-im­age­s-dang
Remove dangling images
docker­-cl­ean-all
Stop and remove all (conta­iners + volumes + images)
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets