An open API service indexing awesome lists of open source software.

https://github.com/willguimont/docker-utils


https://github.com/willguimont/docker-utils

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# docker-utils

**docker-rm-exited**: Remove exited docker containers

**docker-prune**: Delete all unused docker images

# Installation

Need to be able to run docker commands without `sudo`, see [documentation](https://docs.docker.com/engine/install/linux-postinstall/)

1. `mkdir ~/bin`
2. Copy `docker-rm-exited` and `docker-prune` into `~/bin`
3. `chmod +x ~/bin/docker-rm-exited ~/bin/docker-prune`
4. Add `PATH=$PATH:$HOME/bin` at the end of your `~/.bashrc`
5. Use with `docker-rm-exited` or `docker-prune`