GithubHelp home page GithubHelp logo

chzerv / docker-fedora-ansible Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 42 KB

Fedora container for Ansible role testing.

Dockerfile 100.00%
ansible role testing molecule docker container fedora

docker-fedora-ansible's Introduction

Fedora 33 Image for Ansible Testing

NOTE: This image is now DEPRECATED: Use:

Build Docker Cloud Build Status

This Dockerfile builds a Fedora 33 based container, capable to use systemd, with Ansible and Ansible testing tools pre-installed.

Branches/Tags

Each branch of this repository represents a Fedora version, with the master branch representing the latest version. Pull the branch (version) you are interested in.

Branch Distribution version Image tag
master 33 latest,33
32 32 32
31 31 31 [deprecated]
30 30 30 [deprecated]

How to build locally

  1. Install Docker or Podman.
  2. Clone the branch you're interested in. For example, for Fedora 33 (latest): git clone https://github.com/chzerv/docker-fedora-ansible.git.
  3. cd into the directory and run docker build -t fedora33-ansible .

How to use

  1. Install Docker or Podman.

  2. Pull this image from Docker hub: docker pull chzerv/docker-fedora-ansible:latest (or use the image you built locally).

  3. Run a container:

    docker run -d --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro docker-fedora-ansible:latest
  4. Run Ansible inside that container:

    docker exec -it $container_id ansible --version

Notes

This image is used for testing Ansible roles and playbooks locally and/or in CI, hence, security is not a concern. It is not intended or recommended to use this image in production environments.

docker-fedora-ansible's People

Contributors

chzerv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.