Linux with following packages installed:
docker
(tested with version 17.12)git
docker-compose
(tested with version 1.19)
- Clone this repo
- Run the following commands in repo directory
# docker-compose up -d
# ./setup
- Run
sh
onmanager1
to manage the docker swarm (docker container exec -it dindswarm_manager1_1 sh
) - To stop the swarm, run
docker-compose down
in repo directory
# apk update
# apk add less vim curl bash bash-completion docker-bash-completion python py-pip
# pip install docker-compose
# vim ~/.bashrc
- add the following lines
export PS1='\u@\h:\w \$ ' # optional
source /etc/profile.d/bash_completion.sh
- Run
bash
onmanager1
and enjoy docker-bash-completion (docker container exec -it dindswarm_manager1_1 bash
)