grycap.docker

Docker Engine Role

This role installs Docker Engine (specifically for EC3).

Role Variables

Here are the variables you can use with this role and what they mean:

  • docker_mirror_protocol: The protocol for the Docker mirror (default is "http").
  • docker_mirror_port: The port for the Docker mirror (default is 5000).
  • docker_opts: Additional options for Docker.
  • docker_channel: The Docker release channel (default is "stable").
  • docker_version: The version of Docker to install (default is "latest").
  • docker_compatible_versions: A list of Docker versions that won't trigger a reinstall.
  • docker_install_criu: Whether to install CRIU (default is true).
  • docker_install_pip: Whether to install pip (default is true).
  • docker_compose_version: The version of Docker Compose to install (default is "1.25.5").
  • docker_config_values: Configuration values for Docker.
  • docker_nvidia_support: Enable NVIDIA support (default is false).
  • docker_nvidia_options: Options for NVIDIA runtime.
  • docker_containerd_only: Install only containerd, not full Docker (default is false).
  • docker_containerd_version: The version of containerd to install (default is "latest").
  • docker_nerdctl_version: The version of the nerdctl command to install (default is "1.0.0").
  • docker_containerd_install_cni: Install CNI plugins for containerd (default is false).
  • docker_containerd_cni_version: The version of CNI plugins (default is '1.1.1').
  • docker_containerd_root: The root path for containerd.

Example Playbook

To use this role, you can create a playbook like this:

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

Contributing to the Role

To keep the code organized, changes to the master branch are not allowed. If you want to contribute, create a branch, make your changes, and then submit a pull request.
Thank you!

Informazioni sul progetto

Install docker engine

Installa
ansible-galaxy install grycap.docker
Licenza
apache-2.0
Download
20.7k
Proprietario
Grid y Computación de Altas Prestaciones