Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kwkwc/dockersh

DockerSH is a shell about docker management
https://github.com/kwkwc/dockersh

docker shell

Last synced: 22 days ago
JSON representation

DockerSH is a shell about docker management

Awesome Lists containing this project

README

        

# DockerSH v1.2.0

> DockerSH is a shell about docker management

English | [简体中文](README.zh-CN.md)

### Framework
```bash
├── dockerSH
├── dockerSH-completion.bash
├── install.sh
├── tools.sh
├── README.md
└── services
├── containerA
│   └── docker-compose.yml
└── containerB
└── docker-compose.yml
```

### Usage
```bash
# Install
git clone https://github.com/kwkwc/dockerSH.git

# Working directory
cd dockerSH

# This step is not necessary, consider whether you need to run
# Deploy dockerSH(Install docker, add command auto-completion configuration)
./install.sh

# Help information
./dockerSH -h

# Up containerA
./dockerSH up containerA

# Down containerA
./dockerSH down containerA

# Reup containerA
./dockerSH reup containerA
```

### Commands auto-complement
```bash
# Temporary setting
source dockerSH-completion.bash

# Permanent setting
cp dockerSH-completion.bash /etc/bash_completion.d/
```