Script to make your life easier with Docker daemon on MacOS.
It supports:
- starting/restarting/status of Docker daemon
- killing/removing Docker containers, images
- pruning images, volumes, networks...
$ brew install nejckorasa/tap/dckrSee homebrew-tap
Usage: dckr [options]
Start/stop docker daemon and kill/remove/stop/prune containers, images, volumes...
Options:
k | --kill Kill daemon
s | --start Start daemon
r | --restart Restart daemon
st | --status Status of daemon
ka | --kill-all Kill all running containers
sa | --stop-all Stop all containers
rma | --remove-all Remove all containers
rmai | --remove-all-images Remove all images
ip | --image-prune Remove dangling images
ipa | --image-prune-all Remove all unused images
vp | --volume-prune Remove all unused volumes
np | --network-prune Remove all unused network
sp | --system-prune Remove all unused objects
-h Display helpRestart docker daemon:
$ dckr rKill docker daemon:
$ dckr kStop all containers:
$ dckr saRemoving all containers:
$ dckr rmaRemoving all images:
$ dckr rmaiSee Usage for all options
