https://github.com/kwkwc/dockersh
DockerSH is a shell about docker management
https://github.com/kwkwc/dockersh
docker shell
Last synced: over 1 year ago
JSON representation
DockerSH is a shell about docker management
- Host: GitHub
- URL: https://github.com/kwkwc/dockersh
- Owner: kwkwc
- License: mit
- Created: 2018-07-16T09:47:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T02:19:25.000Z (over 2 years ago)
- Last Synced: 2025-02-28T07:52:01.014Z (over 1 year ago)
- Topics: docker, shell
- Language: Shell
- Homepage: https://kwkwc.github.io/dockerSH/
- Size: 36.1 KB
- Stars: 7
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/
```