This commit is contained in:
Alexander Zhirov 2023-05-08 23:17:44 +03:00
parent b0f38dc91d
commit 3b89555e16
1 changed files with 12 additions and 0 deletions

View File

@ -5,3 +5,15 @@
```sh ```sh
~ $ htpasswd -Bc registry.passwd docker-adm ~ $ htpasswd -Bc registry.passwd docker-adm
``` ```
Доступ к registry:
```sh
http://<ip-address>:5000/v2/_catalog
```
Для доступа к HTTP (небезопасному) хосту из под Docker - добавить в `/etc/docker/daemon.json`:
```sh
{"insecure-registries" : ["http://<ip-address>:5000"]}
```