rules_docker icon indicating copy to clipboard operation
rules_docker copied to clipboard

Error with `bazel run //tests/container/python3:py3_image`

Open chasezheng opened this issue 3 years ago • 1 comments

🐞 bug report

Is this a regression?

the bug was introduced here: https://github.com/bazelbuild/rules_docker/commit/40cc8e86d6173a1f2db9088e9039c84d62961a50#diff-7a17f840165fbdd60cb3ea0ceb710d45aa8febe42fa34102d7df9f8c5282587fR252

Description

this gets an error with bazel run //tests/container/python3:py3_image

🔥 Exception or Error





Unable to find image 'arg0:latest' locally
docker: Error response from daemon: pull access denied for arg0, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

🌍 Your Environment

Operating System:

  

  

Output of bazel version:

  
bazel 4.0.0
  

Rules_docker version:

  
ed321b33ca008819e4f83aaa64dc3466bff5ae21
  

Anything else relevant?

I suggest reverting commit 40cc8e86d6173a1f2db9088e9039c84d62961a50. The feature is nice, but it's implemented in an error-prone and not-so-readable way

chasezheng avatar Jul 01 '22 23:07 chasezheng

left comments in 40cc8e86d6173a1f2db9088e9039c84d62961a50

chasezheng avatar Jul 02 '22 10:07 chasezheng

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_docker!

github-actions[bot] avatar Dec 30 '22 02:12 github-actions[bot]

This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"

github-actions[bot] avatar Jan 29 '23 02:01 github-actions[bot]

no fix for this, yet?

@chasezheng reopen the issue?

kpark-hrp avatar May 17 '23 15:05 kpark-hrp