docker-shell

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 19 Imported by: 0

README

docker-shell

A simple interactive prompt for Docker. Inspired from kube-prompt uses go-prompt.

Contributor Covenant

Table Of Contents

Features

  • Suggest docker commands
  • List container ids&names after docker exec/start/stop commands
  • Suggest command parameters based on typed command
  • List images from docker hub after docker pull command v1.2.0
  • Suggest port mappings after docker run command v1.3.0
  • 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 git@github.com: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.

asciicast

Image suggestion from docker hub:

asciicast

Port mapping suggestion:

asciicast

How To Contribute

Contributions are welcome and will be fully credited.

Please read the CONTRIBUTING and CODE_OF_CONDUCT files for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL