Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrvautin/docka
A CLI helper for all things Docker
https://github.com/mrvautin/docka
Last synced: about 1 month ago
JSON representation
A CLI helper for all things Docker
- Host: GitHub
- URL: https://github.com/mrvautin/docka
- Owner: mrvautin
- Created: 2017-12-09T12:59:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T15:49:53.000Z (about 7 years ago)
- Last Synced: 2024-10-14T09:17:27.976Z (3 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docka
`docka` is a little CLI helper for common Docker commands. It makes repetitive commands like `docker-compose ...` into short and easy to type/remember commands. It's also really easy to extend and add any additional commands
which make your daily developer life easier.## Installing
`npm i docka -g`
## Usage
### # logs
Tails the logs for a given container
**Usage**:
`docka logs `
---
### # start
Starts all or a specific container
**Usage**:
`docka start ` (optional)
---
### # stop
Starts all or a specific container
**Usage**:
`docka stop ` (optional)
---
### # restart
Restarts all or a specific container
**Usage**:
`docka restart ` (optional)
---
### # ssh
Give ssh (bash) access to a container
**Usage**:
`docka ssh `
---
### # ps
Lists all containers
**Usage**:
`docka ps`
---
### # build
Builds Docker containers with docker-compose file
**Usage**:
`docka build`
---
### # images
Lists all Docker images
**Usage**:
`docka images`
---
### # prune
WARNING: This removes all stopped containers
**Usage**:
`docka prune`
---
### # cleanup
WARNING: This removes all dangling (non used/tagged) images
**Usage**:
`docka cleanup`
---
### # killall
WARNING: This stops and removes ALL containers.
**Usage**:
`docka killall`
---
### # stats
Gets the running stats of all containers
**Usage**:
`docka stats`
---
### # version
Shows the app version
**Usage**:
`docka -v`
---