Giter Site home page Giter Site logo

ansible-lab-docker's People

Contributors

lmtx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-lab-docker's Issues

The repository does not have a release file

Hi! I am a beginner with Docker, but I need this lab, so when installing or executing this command docker-compose up -d --build,
some errors appeared saying The repository does not have a release file

image

Build and run containers

Hey im running into an issue initially when on the "Build and run Container step"

here is the output i am receiving.. I have looked on stack overflow and seen discussions that the image may not exist on docker...I changed the image from Ubuntu:17.10 to just Ubuntu and still no luck. Any idea why this would be happening?

Error response from daemon: pull access denied for ansible_host, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

need to change compose file, getting below error.

[root@localhost ansible]# docker-compose up -d --build
Creating network "ansible_default" with the default driver
Creating volume "ansible_ansible_vol" with default driver
Building base
Step 1/4 : FROM ubuntu:17.10
17.10: Pulling from library/ubuntu
4ccdce43d1e0: Pull complete
c95f13c88d92: Pull complete
82656eee95ad: Pull complete
78ff727be57a: Pull complete
448bb314afa5: Pull complete
Digest: sha256:3b811ac794645dfaa47408f4333ac6e433858ff16908965c68f63d5d315acf94
Status: Downloaded newer image for ubuntu:17.10
---> e211a66937c6
Step 2/4 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y aptitude iputils-ping net-tools man vim openssh-server python && rm -rf /var/lib/apt/lists/*
---> Running in dc7e2177d18c
Ign:1 http://security.ubuntu.com/ubuntu artful-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu artful InRelease
Ign:3 http://archive.ubuntu.com/ubuntu artful-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.142 80]
Ign:5 http://archive.ubuntu.com/ubuntu artful-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu artful Release
404 Not Found [IP: 91.189.88.142 80]
Err:7 http://archive.ubuntu.com/ubuntu artful-updates Release
404 Not Found [IP: 91.189.88.142 80]
Err:8 http://archive.ubuntu.com/ubuntu artful-backports Release
404 Not Found [IP: 91.189.88.142 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-backports Release' does not have a Release file.
ERROR: Service 'base' failed to build: The command '/bin/sh -c apt-get update && apt-get install --no-install-recommends --no-install-suggests -y aptitude iputils-ping net-tools man vim openssh-server python && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

I get this eeor when i run docker-compose on windows 10 machine with docker

$ docker-compose.exe up -d --build
Creating network "ansible_default" with the default driver
Creating volume "ansible_ansible_vol" with default driver
Building base
Step 1/4 : FROM ubuntu:17.10
17.10: Pulling from library/ubuntu
Digest: sha256:3b811ac794645dfaa47408f4333ac6e433858ff16908965c68f63d5d315acf94
Status: Downloaded newer image for ubuntu:17.10
---> e211a66937c6
Step 2/4 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y aptitude iputils-ping net-tools man vim openssh-server python && rm -rf /var/lib/apt/lists/*
---> Running in 4e1bd54069c8
Ign:1 http://security.ubuntu.com/ubuntu artful-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu artful InRelease
Err:3 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.152 80]
Ign:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu artful-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu artful Release
404 Not Found [IP: 91.189.88.152 80]
Err:7 http://archive.ubuntu.com/ubuntu artful-updates Release
404 Not Found [IP: 91.189.88.152 80]
Err:8 http://archive.ubuntu.com/ubuntu artful-backports Release
404 Not Found [IP: 91.189.88.152 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-backports Release' does not have a Release file.
Service 'base' failed to build: The command '/bin/sh -c apt-get update && apt-get install --no-install-recommends --no-install-suggests -y aptitude iputils-ping net-tools man vim openssh-server python && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

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.