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

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


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

containers docker docker-compose docker-images docker-swarm

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Description
For users of Docker. This script has a basic set of utilities to manage large number of containers and images.

# Container Script Usage
```
USAGE ./docker-container.sh [argument]
-a: list all containers
-u: list running containers
-f: keep first container, remove others
-l: keep last container, remove others
-s: stop all running containers
```

# Image Script Usage
```
USAGE ./docker-images.sh [argument]
-a: list images
-f: keep first image, remove others
-l: keep last image, remove others
-z: remove all images
-1: drop first image
```

# TODO
- Write tests
- Make console output more user friendly
- Add additional options