Public | Automated Build

Last pushed: 12 hours ago
Short Description
A toolbox to provide usefull helpers to work with docker.
Full Description

docker-toolbox

My toobox docker image based on alpine image.

Usage

$ docker run -it --rm  \
                -v /var/run/docker.sock:/var/run/docker.sock \
                -v /vagrant:/vagrant \
                -w="/vagrant" \
                -e COMPOSE_PROJECT_NAME="app" \
                -e DKTB_EXTENSION_REPO="https://github.com/AlbanMontaigu/docker-toolbox-extension" \
                -e DKTB_EXTENSION_VERSION="latest" \
                --name docker-toolbox \
                amontaigu/docker-toolbox:latest

Note: DKTB_EXTENSION_REPO and DKTB_EXTENSION_VERSION are optional. Remove them if you want to keep base docker-toolbox. You can customize this extension system by forking docker-toolbox-extension and change it according to your needs.

Key softwares available in your box

  • git
  • mercurial
  • zsh
  • curl
  • wget
  • docker
  • docker-compose
  • nc
  • vim
  • nano

And more...

Commands available in your box

Each command has integrated help, just type the command to see detailed usage.

  • dk is a docker alias
  • dc is a docker-compose alias
  • test-port HOST PORT to validate quickly with nc if a certain port on a certain host is accessible

Don't hesitate to complete your knowledge by learning docker and compose official cli documentation.

Sources

Docker Pull Command
Owner
amontaigu
Source Repository

Comments (0)