Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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`

---