91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

harbor 倉庫安裝重要節點信息

發布時間:2020-08-01 18:14:24 來源:網絡 閱讀:1835 作者:xingzhehxiang 欄目:云計算

一、https 需要的ca證書創建

?1056? mkdir -p /data/cert && cd /data/cert

?1057? openssl genrsa -out ca.key 2048

?1058? openssl req -x509 -new -nodes -key ca.key -days 10000 -out ca.crt -subj "/CN=Harbor-ca"

?1059? ll

?1060? openssl req -newkey rsa:4096 -nodes -sha256 -keyout server.key -out server.csr

?1061? ll

?1062? echo subjectAltName = IP:192.168.0.169 > extfile.cnf

?1063? cat extfile.cnf?

?1064? openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -days 365 -extfile extfile.cnf -out server.crt

?

二、x509: certificate signed by unknown authority 登錄時候報錯

[root@169_test harbor]# cat /etc/docker/daemon.json?

{?

? "insecure-registries": ["192.168.0.169"]

}

[root@169_test harbor]#?


三、harbor.yml配置項目

[root@169_test harbor]# cat harbor.yml? |grep -v "#"


hostname: 192.168.0.169



https:

? port: 443

? certificate: /data/cert/server.crt

? private_key: /data/cert/server.key


四、goharbor/nginx-photon:v1.8.0 啟動失敗

Error response from daemon: configured logging driver does not support reading?

關注docker-compose.yml 以下選項是否對應

[root@169_test harbor]# cat docker-compose.yml? |grep cert


? ? ? ? source: /data/cert/server.key

? ? ? ? target: /etc/cert/server.key

? ? ? ? source: /data/cert/server.crt

? ? ? ? target: /etc/cert/server.crt

[root@169_test harbor]#?

五、mytest項目沒有創建,用戶沒有相關項目操作權限,導致報沒有權限

[root@169_test ~]# docker login 192.168.0.169

Authenticating with existing credentials...

WARNING! Your password will be stored unencrypted in /root/.docker/config.json.

Configure a credential helper to remove this warning. See

https://docs.docker.com/engine/reference/commandline/login/#credentials-store


Login Succeeded

[root@169_test ~]#? docker push 192.168.0.169/mytest/mariadb10.3?

The push refers to repository [192.168.0.169/mytest/mariadb10.3]

9fe1346a8e46: Preparing?

44b71d929e12: Preparing?

23402936133c: Preparing?

d4149884a4c1: Preparing?

c80bf439605a: Preparing?

21e1e894139d: Waiting?

d69483a6face: Waiting?

denied: requested access to the resource is denied


備注:

軟件版本:harbor.v1.8.0.tar.gz


備注

上傳命令:

? 登錄? docker login 192.168.0.169

?查看鏡像? docker images


給鏡像打標簽 docker tag mytest/mariadb10.3:latest 192.168.0.169/mytest/mariadb10.3:latest

查看鏡像信息? docker images

上傳鏡像,注意要有mytest項目? ?docker push 192.168.0.169/mytest/mariadb10.3?



向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

渑池县| 胶南市| 雅江县| 偏关县| 台安县| 麟游县| 城口县| 双辽市| 比如县| 漳浦县| 黄大仙区| 阜阳市| 娱乐| 大石桥市| 西华县| 甘德县| 疏附县| 界首市| 东阳市| 苍溪县| 南岸区| 大埔县| 沾化县| 衢州市| 永新县| 富裕县| 赞皇县| 松桃| 比如县| 汉源县| 桐柏县| 满城县| 大关县| 怀远县| 曲阳县| 青海省| 新兴县| 扎赉特旗| 政和县| 小金县| 延吉市|