You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm --entrypoint htpasswd registry:2 -Bbn username password
On my desktop where it cached an old version of registry:2, the command works.
$ docker run --rm --entrypoint htpasswd registry:2 -Bbn username password
username:$2y$05$RO8TSDjphyaccxuztK6L.uQrJ0csk.YpAhfvS7cm2d5Z/cI3PAZm6
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry 2 708bc6af7e5e 4 months ago 25.8MB
However, the new registry:2 image they created 27 hours ago fails, as it doesn't have htpasswd.
$ docker run --rm --entrypoint htpasswd registry:2 -Bbn username password
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: \"htpasswd\": executable file not found in $PATH": unknown.
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry 2 2d4f4b5309b1 27 hours ago 26.2MB
The text was updated successfully, but these errors were encountered:
chanseokoh
changed the title
Integration test failing after official Docker Distribution registry (registry:2) removed htpasswd
Tests failing after official Docker Distribution registry (registry:2) removed htpasswdJun 22, 2020
Our integration tests run
On my desktop where it cached an old version of
registry:2
, the command works.However, the new
registry:2
image they created 27 hours ago fails, as it doesn't havehtpasswd
.Here's a sample Kokoro build failure log.
The text was updated successfully, but these errors were encountered: