Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.39 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.39 KB

Docker Container Image: Ubuntu 19.10 (Eoan) with Ansible

Build Status Docker Build Status License

A Ubuntu 19.10 (Eoan) Docker container image for Ansible playbook and role testing.

This image uses docker systemctl replacement script to execute systemctl commands without systemd.

Usage

  1. Install Docker.

  2. Pull this image from Docker Hub.

    docker pull erjac77/docker-ubuntu1910-ansible:latest

  3. Run a container using the image.

    docker run -d --name [container_name] --privileged erjac77/docker-ubuntu1910-ansible:latest

  4. Use Ansible inside the container.

    a. docker exec -it [container_name] ansible --version

    b. docker exec -it [container_name] ansible-playbook /path/to/ansible/playbook.yml

Warnings

Important: For testing purposes only. Do not use this image in production!

License

Apache 2.0

Author Information

Eric Jacob (@erjac77)