September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module is useful for container developers. It helps with building, loading, pulling, and pushing container images to a repository or archiving a container into a tar file. The following playbook example shows some possible tasks that can be carried out with this module:
- name: pull a container image docker_image: name: ubuntu:18.04 pull: yes - name: push a container image to docker hub docker_image: name: labimages/ubuntu repository: labimages/ubuntu tag: lab18 push: yes - name: remove a container image docker_image: name: labimages/ubuntu state: absent tag: lab16
Read now
Unlock full access