Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 2.76 KB

README.md

File metadata and controls

22 lines (19 loc) · 2.76 KB

Ansible Role: docker

A simple Ansible role to install Docker.

Configuration options

Variable Default Explanation
docker_edition ce ce for Community Edition or ee for Enterprise Edition
docker_packages - "docker-[ce/ee]"
- "docker-[ce/ee]-cli"

- "containerd.io"
- "docker-buildx-plugin"
- "docker-compose-plugin"
Docker packages to install
docker_log_max_size 10m Sets the docker daemon configuration variable log-opts.max-size in /etc/docker/daemon.json to prevent the accumulation of large amounts of logs consuming storage.
docker_log_max_file 3 Sets the docker daemon configuration variable log-opts.max-file in /etc/docker/daemon.json to prevent the accumulation of large amounts of logs consuming storage.
http_proxy "" Proxy for HTTP
https_proxy "" Proxy for HTTPS
no_proxy "" Proxy exception list

Supported distributions

Currently this role supports the following distributions:

  • Ubuntu
    • 20.04
    • 22.04
    • 22.10
    • 23.04