To get started with Docker Engine on Debian, make sure you meet the prerequisites, then install Docker.
- You must have Ansible installed on your computer.
# for Debian
sudo apt update
sudo apt install ansible -y
For role Install Docker
docker_users: [ubuntu]
- A list of users who will be added to the docker group.
See the defaults/main.yml
file listing
all possible options which you can be passed to a runner registration command.
To install Docker Engine, you need the 64-bit version of one of these Debian.
Config the host with Ansible:
Ansible code one that deploys everything you need to run service - docker and related.
git clone https://github.com/DenAV/ansible-host-initial-setting.git
cd ansible-host-initial-setting
ansible-playbook playbooks/pl_initial_setting_local.yml -bK
or
sudo ansible-playbook playbooks/pl_initial_setting_local.yml