docker

License CI

Docker Engine Role

Install Docker Engine (recipe for EC3)

Role Variables

The variables that can be passed to this role and a brief description about them are as follows.

docker_mirror_protocol: "http"
docker_mirror_port: 5000
docker_opts: ""
docker_channel: "stable"
docker_version: "latest"
# Docker comaptible versions that if are installed docker will not be reinstalled
# ['17.03.', '18.06.', '18.09.', '19.03.']
docker_compatible_versions: []
docker_install_criu: true
docker_install_pip: true
docker_compose_version: "1.25.5"
docker_config_values: {}
docker_nvidia_support: false
docker_nvidia_options:
    default-runtime: nvidia
    runtimes:
        nvidia:
            path: /usr/bin/nvidia-container-runtime
            runtimeArgs: []
# Installs containerd only, not full docker
docker_containerd_only: false
docker_containerd_version: "latest"
# Set the version of the command nerdctl to install
docker_nerdctl_version: 1.0.0
# Install containerd CNI plugins
docker_containerd_install_cni: false
docker_containerd_cni_version: '1.1.1'
# Set the root path for containerd
docker_containerd_root: ""

Example Playbook

  - hosts: server
  roles:
  - { role: 'grycap.docker' }
  - hosts: client
  roles:
  - { role: 'grycap.docker' }

Contributing to the role

In order to keep the code clean, pushing changes to the master branch has been disabled. If you want to contribute, you have to create a branch, upload your changes and then create a pull request.
Thanks

About

Install docker engine

Install
ansible-galaxy install grycap/ansible-role-docker
GitHub repository
License
apache-2.0
Downloads
19519
Owner
Grid y Computación de Altas Prestaciones