|
|
@@ -72,3 +72,15 @@ Once you are done with that, run the garbage-collect:
|
|
|
docker exec <registry_container_name> registry garbage-collect /etc/docker/registry/config.yml --delete-untagged
|
|
|
|
|
|
Your registry config file may be in some other path, but this is the default. Read more about the garbage collector from docs, but the gist is: the registry binary inside the container includes a garbage-collect command, but you have to run it yourself. Of course you can always let the crontab run it for you.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+# regenerar htpasswd
|
|
|
+
|
|
|
+htpasswd ya está instalado. Para regenerar el fichero con bcrypt (formato compatible con el registry):
|
|
|
+
|
|
|
+ htpasswd -Bbn creylopez 'nuevaContraseña' > registry.password
|
|
|
+
|
|
|
+Y si el fichero ya existe en el hostPath, sobrescribir el que usa el registry:
|
|
|
+
|
|
|
+ htpasswd -Bbn creylopez 'nuevaContraseña' > /mnt/Externo/mypdr/a2auth/registry.password
|