0x646e78.docker_debian

Ansible Role to Install Docker CE (and/or Compose) on Debian

This is an Ansible role that installs Docker CE from the official APT repository on Debian. It also offers options such as installing Docker Compose and turning off Docker's management of iptables rules.

While this role is specifically designed for Debian 10 and newer, feel free to report any issues or submit pull requests for other Debian-based distributions or versions.

To install using ansible-galaxy:

ansible-galaxy install 0x646e78.docker_debian

You can also add this repository as a submodule:

git submodule add https://github.com/auraltension/ansible-role-docker-debian.git roles/docker-debian
git submodule init roles/docker_debian

Requirements

Likely none. If you encounter any issues, please let us know.

Role Variables

  • iptables: true - Set to false to turn off Docker's management of iptables rules.
  • install_compose: false - Set to true to install Docker Compose.

Dependencies

None

Example Playbook

---
- hosts: my_server
  roles:
    - { role: docker_debian, iptables: false }

License

GPL-2.0

This software is free; you can share and/or change it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 or any later version.

This program is shared in the hope that it will be helpful, but comes WITHOUT ANY WARRANTY; without even an implied warranty of FITNESS FOR A PARTICULAR PURPOSE. For more details, see the GNU General Public License.

You should have received a copy of the GNU General Public License with this program; if not, visit: https://www.gnu.org/licenses/gpl-2.0.html

Author Information

DNX - blog - Docker Hub - Ansible Galaxy

Informazioni sul progetto

Install docker-ce on Debian

Installa
ansible-galaxy install 0x646e78.docker_debian
Licenza
Unknown
Download
101
Proprietario