It helps to manage developer test environments based on docker-compose files.
The released binaries are statically compiled, so they can run in almost all linux distributions. App running is tested in Ubuntu 4 (2006). Supported platforms is:
- Linux x86, x86_64
To install dcw
system wide with bash completion run this command in your terminal:
sudo sh -c 'curl -sSL https://github.com/navrocky/dcw/raw/master/install.sh | bash'
Usage: dcw [OPTIONS] SUBCOMMAND
Options:
-h,--help Print this help message and exit
Subcommands:
add, a Add named docker compose file as workspace
rm, r Remove workspace
list, l List registered workspaces
up, u Switch to the workspace
down, d Down current workspace
dcw add myproj /home/user/myproj/docker-compose.yml
dcw list
Output is:
🟢 myproj: /home/user/myproj/docker-compose.yml
⚫ otherproj: /home/user/otherproj/docker-compose.yml
dcw up otherproj
dcw down -p