Giter VIP home page Giter VIP logo

youtube_ansible_images's Introduction

ansible_images

The repository contains example how to create docker images for Ansible

Cheat chart

Build and run docker container in the background

docker-compose up --build -d

List of existed images

docker images

List of currently running containers

docker ps

Attach to existed container

docker exec -it CONTANTER_ID bash

youtube_ansible_images's People

Contributors

generalovmaksim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

youtube_ansible_images's Issues

Failed to build container

Terminal output:

#11 76.59     Complete output from command python setup.py egg_info:
#11 76.59
#11 76.59             If you are seeing an error here please try the following to
#11 76.59             successfully install cryptography:
#11 76.59
#11 76.59             Upgrade to the latest pip and try again. This will fix errors for most
#11 76.59             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#11 76.59             =============================DEBUG ASSISTANCE==========================
#11 76.59
#11 76.59     Traceback (most recent call last):

  1 FROM centos:7 as ansible_runner
  2 ENV PS1 '$(whoami):$(pwd)\\$ '
  1 FROM centos:7 as ansible_runner
#11 76.59     ModuleNotFoundError: No module named 'setuptools_rust'
#11 76.59
#11 76.59     ----------------------------------------
#11 77.50 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-njk49k8w/cryptography/
------
ERROR: Service 'ansible' failed to build

Need to add next line into "ansible_main/ansible/Dockerfile":

RUN python3 -m pip install -U pip

just after yum install line.

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.