拉取镜像,验证安装:
[root@k8s1 ~]# nerdctl pull xxxxxxxxxxxxxxxxx:5000/test-server:0.0.3 --insecure-registry WARN[0000] skipping verifying HTTPS certs for "xxxxxxxxxxxxxxxxx:5000" INFO[0000] trying next host error="failed to do request: Head \"https://xxxxxxxxxxxxxxxxx:5000/v2/test-server/manifests/0.0.3\": http: server gave HTTP response to HTTPS client" host="xxxxxxxxxxxxxxxxx:5000"WARN[0000] server "xxxxxxxxxxxxxxxxx:5000" does not seem to support HTTPS, falling back to plain HTTP error="failed to resolve reference \"xxxxxxxxxxxxxxxxx:5000/test-server:0.0.3\": failed to do request: Head \"https://xxxxxxxxxxxxxxxxx:5000/v2/test-server/manifests/0.0.3\": http: server gave HTTP response to HTTPS client"xxxxxxxxxxxxxxxxx:5000/test-server:0.0.3: resolving |--------------------------------------| elapsed: 0.1 s total: 0.0 B (0.0 B/s) xxxxxxxxxxxxxxxxx:5000/test-server:0.0.3: resolved |++++++++++++++++++++++++++++++++++++++| manifest-sha256:e0f152bb79f22dcbaaf4429cf8bc3cff75d831a5bee8042acf018560f5900586: done |++++++++++++++++++++++++++++++++++++++| config-sha256:cf3c9b089da1f8120c9ee912752dd14d56d7ef769d81d6a81423dea7324a3e5b: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:1ac10fb9def776a83d1c0f223a554096276d41f7f92ddb642049b8274713c863: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:58c4eaffce77ac1fb013bf82c91927c631802ad54465ebc9b687b5dc8ee73c02: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:d14afce733284f533ef0231bbf5eac60b0fe3ea5b536fb62f27d5ed8a66cdcbf: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:e6a22c806ee8aa2b360bd5818a4f78bc3da280abb86f3db09805b1daddd78324: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:961d55d95b310f4184745eb0f3dcaad3d03e8d6d477a0ecac1ef4a4b8795ad72: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:e88a2a8ed0885e3915c290365e61db3b4b2090edf20e0c45980bf1e45d7d991f: done |++++++++++++++++++++++++++++++++++++++| elapsed: 16.8s total: 580.3 (34.5 MiB/s) [root@k8s1 ~]# nerdctl image ls | grep serverxxxxxxxxxxxxxxxxx:5000/test-server 0.0.3 e0f152bb79f2 2 minutes ago linux/amd64 845.2 MiB 580.3 MiB