Skip to content
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

Unable to Pull Images on Docker 3.3.3 using the new [virtualization.framework] #5731

Closed
3 tasks done
jankovandeventer opened this issue Jun 3, 2021 · 7 comments
Closed
3 tasks done

Comments

@jankovandeventer
Copy link

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: B5D40BC8-4AA4-4C09-AB02-6469184040D0/20210603073549

Expected behavior

docker pull pulls existing image (found while running Packer Build)

Actual behavior

Docker pull failes immediately
Build fails after ~2 seconds:

Error messages:

user@computer folder % docker pull python:2.7
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I initially found it when trying to build a new image with packer.

user@computer folder % packer build hulc.json
docker: output will be in this color.

==> docker: Creating a temporary directory for sharing data...
==> docker: Pulling Docker image: python:2.7
    docker: Error response from daemon: dial unix docker.raw.sock: connect: connection refused
==> docker: Error pulling Docker image: Bad exit status: 1
Build 'docker' errored after 1 second 51 milliseconds: Error pulling Docker image: Bad exit status: 1

==> Wait completed after 1 second 52 milliseconds

==> Some builds didn't complete successfully and had errors:
--> docker: Error pulling Docker image: Bad exit status: 1

==> Builds finished but no artifacts were created.

Information

  • macOS Version: 11.1 (20C69)
  • Intel chip or Apple chip: Intel
  • Docker Desktop Version: 3.3.3

Steps to reproduce the behavior

  1. On an Intel based Macbook Pro install Docker Desktop 3.3.3
  2. use the new Big Sur virtualization.framework
  3. run: docker pull python:2.7
@rherrick
Copy link

rherrick commented Jun 4, 2021

Same issue with OSX 11.4. I turned off the Big Sur virtualization framework and things started working again. I turned it back on and things stopped working again. That's the critical factor.

@akokshar
Copy link

akokshar commented Jun 4, 2021

Having similar issue (docker v3.3.3, osx 11.4) - not able to pull images when using virtualization framework, however different error is reported:

⟫ docker run -it --rm debian bash                                       
Unable to find image 'debian:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp 192.168.64.1:3128: connect: connection refused.
See 'docker run --help'.

Able to start containers using locally cached images. Have to switch back to qemu just to pull an image...

@PortableProgrammer
Copy link

Same issue on M1 (docker 3.3.3, macOS 11.5 b2 20G5033c). Disabling the experimental Big Sur virtualization framework resolves the issue.

@taiidani
Copy link

taiidani commented Jun 5, 2021

Similar behavior, Intel (Docker v3.3.3, macOS v11.1 20C69). I had to disable the new virtualization framework in order to pull.

@adamstamper
Copy link

Yep same, Docker v3.3.3 on M1 with macOS 11.4 - had to revert to Docker 3.3.1

@StefanScherer
Copy link
Member

Closing this as it's a duplicate of #5680.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants