Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Cloud
-
HD-Enabler:Docker
Description
Created question in FIWARE Q/A platform on 31-03-2016 at 17:03
Please, ANSWER this question AT https://ask.fiware.org/question/459/internet-connection-not-working-from-within-docker-container/
Question:
Internet connection not working from within docker container
Description:
Hello everyone,
we have problems building docker images on Fiware instance. The problem is, that from within a docker container, we can't download any data from internet. Commands like wget, composer, apt-get don't work. Strangely ping to any live address works fine from within containers.
My Dockerfile starts like this:
FROM php:7.0.4-apache
RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++
...
ADD entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
but the build fails...
Building web
Step 1 : FROM php:7.0.4-apache
---> ce68d55b8d56
Step 2 : RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++
---> Running in 9108f4c9afcc
Ign http://httpredir.debian.org jessie InRelease
Ign http://security.debian.org jessie/updates InRelease
Ign http://httpredir.debian.org jessie-updates InRelease
Get:1 http://httpredir.debian.org jessie-updates Release.gpg [1554 B]
Get:2 http://httpredir.debian.org jessie-updates Release.gpg [1554 B]
Err http://security.debian.org jessie/updates Release.gpg
Connection failed [IP: 195.20.242.89 80]
Err http://httpredir.debian.org jessie Release.gpg
Connection failed
Get:3 http://httpredir.debian.org jessie-updates Release.gpg [1554 B]
Same problems occurred when we uploaded existing container that works on different machines (Linode) to Fiware instance.
Internet connection from Instance itself works, just not from within a docker container.
Has anyone had the same issues with connectivity?
Thank you
Activity
Fix Version/s | 2021 [ 12600 ] |
Summary | [fiware-askbot] Internet connection not working from within docker container | FIWARE.Question.Tech.Cloud.Docker.Internet connection not working from within docker container |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Closed [ 6 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | Done [ 10000 ] |
Status | In Progress [ 3 ] | Closed [ 6 ] |
HD-Chapter | Cloud [ 10837 ] |
Component/s | FIWARE-TECH-HELP [ 10278 ] | |
Component/s | FIWARE-LAB-HELP [ 10279 ] |
Description |
Created question in FIWARE Q/A platform on 31-03-2016 at 17:03 {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/459/internet-connection-not-working-from-within-docker-container/ +Question:+ Internet connection not working from within docker container +Description:+ Hello everyone, we have problems building docker images on Fiware instance. The problem is, that from within a docker container, we can't download any data from internet. Commands like wget, composer, apt-get don't work. Strangely ping to any live address works fine from within containers. My Dockerfile starts like this: FROM php:7.0.4-apache RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ ... ADD entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] but the build fails... Building web Step 1 : FROM php:7.0.4-apache ---> ce68d55b8d56 Step 2 : RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ ---> Running in 9108f4c9afcc Ign http://httpredir.debian.org jessie InRelease Ign http://security.debian.org jessie/updates InRelease Ign http://httpredir.debian.org jessie-updates InRelease Get:1 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Get:2 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Err http://security.debian.org jessie/updates Release.gpg Connection failed [IP: 195.20.242.89 80] Err http://httpredir.debian.org jessie Release.gpg Connection failed Get:3 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Same problems occurred when we uploaded existing container that works on different machines (Linode) to Fiware instance. Internet connection from Instance itself works, just not from within a docker container. Has anyone had the same issues with connectivity? Thank you |
Created question in FIWARE Q/A platform on 31-03-2016 at 17:03 {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/459/internet-connection-not-working-from-within-docker-container/ +Question:+ Internet connection not working from within docker container +Description:+ Hello everyone, we have problems building docker images on Fiware instance. The problem is, that from within a docker container, we can't download any data from internet. Commands like wget, composer, apt-get don't work. Strangely ping to any live address works fine from within containers. My Dockerfile starts like this: FROM php:7.0.4-apache RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ ... ADD entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] but the build fails... Building web Step 1 : FROM php:7.0.4-apache ---> ce68d55b8d56 Step 2 : RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ ---> Running in 9108f4c9afcc Ign http://httpredir.debian.org jessie InRelease Ign http://security.debian.org jessie/updates InRelease Ign http://httpredir.debian.org jessie-updates InRelease Get:1 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Get:2 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Err http://security.debian.org jessie/updates Release.gpg Connection failed [IP: 195.20.242.89 80] Err http://httpredir.debian.org jessie Release.gpg Connection failed Get:3 http://httpredir.debian.org jessie-updates Release.gpg [1554 B] Same problems occurred when we uploaded existing container that works on different machines (Linode) to Fiware instance. Internet connection from Instance itself works, just not from within a docker container. Has anyone had the same issues with connectivity? Thank you |
Resolution | Fixed [ 1 ] | |
HD-Enabler | Docker [ 10868 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Pietropaolo Alfonso [ alfopietro ] | Kenneth Nagin [ knagin ] |
Assignee | Pietropaolo Alfonso [ alfopietro ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-LAB-HELP [ 10279 ] |