BretFisher / udemy-docker-mastery

Docker Mastery Udemy course to build, compose, deploy, and manage containers from local development to high-availability in the cloud
https://www.bretfisher.com/courses
MIT License
5.34k stars 6.21k forks source link

Registry lectures don't work past 2.7 #130

Open BretFisher opened 1 year ago

BretFisher commented 1 year ago

I use PWD training to walk students through installing a local registry and then doing the same with a self-signed cert. Something's changed since 2.7 release, so I need to debug and update existing lectures.

Student says:

Still not corrected and in play with docker it is also wrong. this works: docker run --entrypoint htpasswd registry:2.7.0 -Bbn moby gordon > auth/htpasswd

Future improvement: Don't bother with TLS in this simple registry deployment, but rather move from simple local registry HTTP to a Harbor section.

For reference

PWD Registry for Linux Part 1, Part 2 & 3

Docker's reg docs

Origional Q&A

Q&A suggesting hints until I get this fixed