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

Docker Push not skipped when using Docker Desktop 4.31 #6394

Closed
im-aIex opened this issue Jun 12, 2024 · 1 comment · Fixed by #6395
Closed

Docker Push not skipped when using Docker Desktop 4.31 #6394

im-aIex opened this issue Jun 12, 2024 · 1 comment · Fixed by #6395
Labels
bug Something isn't working

Comments

@im-aIex
Copy link

im-aIex commented Jun 12, 2024

Expected Behavior

When building/running a local image via Docker Desktop k8s cluster the image is not pushed to an external registry.

STEP 2/3 — Pushing [IMAGE_NAME]
Skipping push: building on cluster's container runtime

Current Behavior

The image is attempting to push to docker.io and failing due to authentication.

STEP 2/3 — Pushing [IMAGE_NAME]
Pushing with Docker client
Authenticating to image repo: docker.io
Sending image data

Build Failed: docker push: pushing image "docker.io/library/[IMAGE_NAME]": denied: requested access to the resource is denied

Steps to Reproduce

  1. Upgrade to Docker Desktop 4.31.1
  2. Attempt to tilt up with a local image built/deployed

Context

tilt doctor Output

$ tilt doctor
Tilt: v0.33.16, built 2024-06-07
System: windows-amd64
---
Docker
- Host: npipe:////./pipe/dockerDesktopLinuxEngine
- Server Version: 26.1.4
- API Version: 1.45
- Builder: 2
- Compose Version: v2.18.1
---
Kubernetes
- Env: docker-desktop
- Context: docker-desktop
- Cluster Name: docker-desktop
- Namespace: default
- Container Runtime: docker
- Version: v1.29.2
- Cluster Local Registry: none
---

About Your Use Case

Unable to use tilt with the latest version of Docker Desktop (which fixed other issues wrt CoreDNS).

@im-aIex im-aIex added the bug Something isn't working label Jun 12, 2024
@nicks
Copy link
Member

nicks commented Jun 12, 2024

thanks for the report!

nicks added a commit that referenced this issue Jun 12, 2024
fixes #6394

Signed-off-by: Nick Santos <nick.santos@docker.com>
@nicks nicks closed this as completed in 0edf8bd Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants