docker-shell
docker-shell copied to clipboard
A simple interactive prompt for docker
docker-shell
A simple interactive prompt for Docker. Inspired from kube-prompt uses go-prompt.
Table Of Contents
- Features:
-
Installation
- Homebrew
- Build From Source Code
- How To Use
- How To Contribute
Features
- [X] Suggest docker commands
- [X] List container ids&names after docker exec/start/stop commands
- [X] Suggest command parameters based on typed command
- [X] List images from docker hub after docker pull command v1.2.0
- [X] Suggest port mappings after docker run command v1.3.0
- [X] Suggest available images after docker run command v1.3.0
Installation
Homebrew
You can install by using homebrew:
brew tap trendyol/trendyol-tap
brew install docker-shell
Build From Source Code
You can build the command from source code by following the steps below:
git clone [email protected]:Trendyol/docker-shell.git
cd docker-shell
sudo go build -o /usr/local/bin/docker-shell .
docker-shell
How To Use
After installation, you can type docker-shell
and run the interactive shell.
Image suggestion from docker hub:
Port mapping suggestion:
How To Contribute
Contributions are welcome and will be fully credited.
Please read the CONTRIBUTING and CODE_OF_CONDUCT files for details.