Sign inSign up

glillico/docker-debian10-ansible

By glillico

•Updated over 2 years ago

A docker container using Debian 10 with Ansible installed for playbook and role testing.

Image
0

4.3K

glillico/docker-debian10-ansible repository overview

⁠Debian 10 Docker Image for Ansible Testing

latest python2

A docker container using Debian 10 with Ansible installed for playbook and role testing.

⁠Tags

  • 'latest' : Python 3.7.x and the latest stable version of Ansible.
  • 'python2' : Python 2.7.x and the latest stable version of Ansible.

⁠How To Build

To build this docker container you can do the following.

  • Install Docker Engine, see here⁠ for details.
  • Clone this repository.
    • $ git clone https://github.com/glillico/docker-debian10-ansible.git
  • Change to the repositories directory.
    • $ cd docker-debian10-ansible
  • Run the command
    • $ docker build -t debian10-ansible .

⁠How To Use

  • Install Docker Engine, see here⁠ for details.
  • To create a containter from the image you created in the How To Build section run the command.
    • $ docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro debian10-ansible:latest
  • To confirm Ansible is working within the container run the command.
    • $ docker exec --tty <CONTAINER ID> env TERM=xterm ansible --version

⁠Notes

This image is used for testing purposes only and is not intended to be used to provide live services of any sort.

⁠License

MIT

⁠Author Information

Created in 2020 by Graham Lillico.

Tag summary

Content type

Image

Digest

sha256:642c78a19…

Size

379.4 MB

Last updated

over 2 years ago

docker pull glillico/docker-debian10-ansible