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
- Host: GitHub
- URL: https://github.com/anmolnagpal/docker-utils
- Owner: anmolnagpal
- Created: 2017-06-18T21:20:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-18T21:31:46.000Z (about 9 years ago)
- Last Synced: 2025-01-12T07:12:18.534Z (over 1 year ago)
- Topics: containers, docker, docker-compose, docker-images, docker-swarm
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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