Error response from daemon: no successful auth challenge for https://localhost:5000/v2/ - errors: [basic auth attempt to https://localhost:5000/v2/ realm “Registry Realm” failed with status: 401 Unauthorized]
When I attached to the container and validate the password file
In current Docker Compose, this mounts the volume named auth in /auth in the container filesystem space. If you’re trying to mount the auth subdirectory of the directory containing the docker-compose.yml file, you need to say
volumes:
- "./auth:/auth"
If you docker-compose exec registry bash, do you see the /auth and /certs directories correctly?