Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 539 Bytes

INSTALL.md

File metadata and controls

23 lines (19 loc) · 539 Bytes

Installation instructions

UNDER CONSTRUCTION

Install ansible on the host

# su -
# apt install -y software-properties-common
# apt-add-repository -y ppa:ansible/ansible
# apt update
# apt install ansible pip
# pip install docker-py
# echo 'localhost ansible_connection=local' >> /etc/ansible/hosts
# ansible-playbook deploy.yml

How to run docker with IP

# docker run --name=hello hello-world
# docker ps -aqf name=hello
# docker inspect --format '{{ .NetworkSettings.IPAddress }}' `docker ps -aqf name=hello`