xkjyeah / docker-images

Ansible role to load images onto a remote Docker host where access to a registry is not possible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-images

Ansible role to load images onto a remote Docker host where access to a registry is not possible.

Requirements

  • Ansible >= 2.3

On Ansible control machine and host that executes module:

  • python >= 2.6
  • docker-py >= 1.7.0
  • Docker API >= 1.20

Role Variables

  • images: List of image names and tags to pull from registries
  • force_pull_images: Set to True to force a pull from registries even if images already exist on the control machine. Defaults to False.
  • tars: List of tarballs to load
  • gzips: List of Gzipped tarballs to load

About

Ansible role to load images onto a remote Docker host where access to a registry is not possible.

License:Apache License 2.0