A toolbox to provide usefull helpers to work with docker.
Shell Dockerfile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
tests
zsh
.gitattributes
.gitignore
CHANGELOG.md
Dockerfile
LICENSE
README.md
VERSION

README.md

docker-toolbox Circle CI

My toolbox 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 software available in your box

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

And more...

Following docker stable versions

This project aims to follow mainly docker stable releases. Meaning that each docker release, especially test ones may not be published here.

For more information please check docker stable releases and time based release schedule.

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