Skip to content

Pobb/docket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Docket

Your docker container in the pocket ! Go to a container in bash with one command line and keyboard. Bash or ruby version are available. Forget to "docker ps", choose your container name, and "docker exec -it my_container bash". Docket do it for you. Enjoy !

Installation

  • Bash version : just put the bash file where you want on your computer

  • Ruby version : you have to install "cli-ui" gem :

$ gem install "cli-ui"

How to use ?

Bash

Using the following command, you'll be connected with the default user defined in the image:

# Bash version
$ bash docket.sh

You can also choose a specific user passing it in argument:

$ bash docket.sh root

Ruby

$ ruby docket.rb

Docket in action

Recordit GIF

What next ?

Edit your .bashrc or .zshrc file, create an alias to "Docket it" :

# bashrc / zshrc / whatever
$ alias docket="/bin/bash docket.sh"

About

Simple bash access to your container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published