DOcKer MANager
This is a bash helper library for easier working with docker-compose
. Main goal of this library is to reduce
everyday typing. As docker
has docker-compose
to easier orchestrate with docker containers
now developer has dokman
for easier working with docker-compose
enabling commonly used docker commands.
Main purpose for creating this library was to unify docker workflow on multiple projects.
This library allows you to:
- easily setup multiple environments of your docker setup (ie. production, development, test...)
- have easy access to your docker containers (less typing)
- same docker philosophy on multiple projects
- whole docker is wrapped in easy to use shorthands
docker-compose
commands are wrapped in that manner to reduce typing with our special commands- event system that will ease your life with setting up project
- support for waiting containers until they become healthy
Dokman pre-requires for you to have docker
and docker-compose
installed and running.
For easier working with docker in general, add your user to docker group, so you will not need to write every docker
command with sudo
.
sudo usermod -aG docker ${USER}
Note: Dokman will populate environment variables with your current user and group id so you can easily create shadow user.