Docket
Simple bash access to your container
Install / Use
/learn @Pobb/DocketREADME
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

What next ?
Edit your .bashrc or .zshrc file, create an alias to "Docket it" :
# bashrc / zshrc / whatever
$ alias docket="/bin/bash docket.sh"
