-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpine 3.13 based images have no network access #2688
Labels
Comments
Have you verified that you have network connectivity just using the alpine:3.13 base image? ❯ docker pull alpine:3.13
3.13: Pulling from library/alpine
Digest: sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be
Status: Image is up to date for alpine:3.13
docker.io/library/alpine:3.13
❯ docker run --rm alpine:3.13 wget https://api.nuget.org/v3/index.json
Connecting to api.nuget.org (152.199.4.184:443)
saving to 'index.json'
index.json 100% |*****************************************************************************************************************************************************************| 8543 0:00:00 ETA
'index.json' saved |
Good point.. really strange 🧐 Alpine 3.13user@host:~$ docker pull alpine:3.13
3.13: Pulling from library/alpine
ba3557a56b15: Already exists
Digest: sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be
Status: Downloaded newer image for alpine:3.13
docker.io/library/alpine:3.13 user@host:~$ docker run --rm alpine:3.13 wget https://api.nuget.org/v3/index.json
wget: bad address 'api.nuget.org' Alpine 3.12user@host:~$ docker pull alpine:3.12
3.12: Pulling from library/alpine
f84cab65f19f: Already exists
Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe
Status: Downloaded newer image for alpine:3.12
docker.io/library/alpine:3.12 user@host:~$ docker run --rm alpine:3.12 wget https://api.nuget.org/v3/index.json
Connecting to api.nuget.org (152.199.23.209:443)
saving to 'index.json'
index.json 100% |********************************| 8543 0:00:00 ETA
'index.json' saved |
Not related to the dotnet images, issue closed. |
Relates alpinelinux/docker-alpine#155. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Using the Alpine 3.13 based images, the network access does not to work.
When using the Alpine 3.12 based images, everything works.
Steps to Reproduce
Create a container using
mcr.microsoft.com/dotnet/sdk:3.1.407-alpine3.13
.Restore a project having NuGet dependencies.
Results in the following error:
or for
mcr.microsoft.com/dotnet/aspnet:3.1.13-alpine3.13
when accessing some external resource:Output of
docker version
Output of
docker info
The text was updated successfully, but these errors were encountered: