Skip to content

serv-O-droid/docker-install

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ansible-role

Ansible role to install docker. Only runs on ubuntu based machines.

Docker version

Default docker version is for Ubuntu 18.04 version. If you want to get this role working on ubuntu 16.04 you may override docker_version variable to an older version :

docker_version: "18.02.0~ce-0~ubuntu"

Role Variables

docker_package_name: docker-ce
docker_version: 18.06.0ce3-0~ubuntu
dockerpy_version: 1.10.6
docker_disks: /dev/sdb
docker_partitions: /dev/sdb1
docker_opts: "--log-opt max-size=50m --log-opt max-file=2"
use_docker_lvm: true
docker_repository_url: https://download.docker.com/linux/ubuntu/
docker_repository_category: edge
docker_opts: ""
#this should be overrided only in case of downgrade of docker version
docker_force_version: no

docker_registries: []

Registries Examples

docker_registries:
  # no certificate is required for docker hub
  - url: index.docker.io
  # if you have the ca certificate
  - url: my.custom.registry
    certificate: path/to/ca.crt of the registry
  # if you want ansible to fetch the certificate from the registry itself with openssl
  - url: my.custom.registry
    port: 443

License

Apache License 2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published