# apt-get install zot
/etc/zot/config.json.
{
"storage":{
"rootDirectory":"/var/lib/zot"
},
"http":{
"address":"127.0.0.1",
"port":"5000"
},
"log":{
"level":"debug"
},
"extensions": {
"search": {
"enable": true,
"cve": {
"trivy": {
"dbRepository": "altlinux.space/trivy/trivy-db"
},
"updateInterval": "24h"
}
},
"ui": {
"enable": true
},
"mgmt": {
"enable": true
}
}
}
address задать значение 0.0.0.0 (слушать на всех сетевых интерфейсах).
externalUrl), например:
"externalUrl": "http://registry.test.alt"
Примечание
#systemctl start zot#systemctl status zot
Примечание
# zot serve /etc/zot/config.json
http://localhost:5000.
Примечание
/etc/containers/registries.conf:
[[registry]] location = "localhost:5000" insecure = true
$ podman push --tls-verify=false localhost:5000/alt/alt:p11