容器:docker 的相关操作
1 登录docker仓库 - 使用明文的登录信息
docker login -u 【username】 -p 【password】 repo.xxx.top:28802
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/ttquser/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
2 查看docker仓库中的镜像
【登录】
docker login matrix.xxx.com:8082
Authenticating with existing credentials...
WARNING! Your password will be stored unencrypted in /home/ttquser/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
【获取】
curl -XGET matrix.xxx.com:8082/v2/_catalog
{"repositories":["android-studio","z7_lin_drv_build_alientek","zynq-build-tool-v2.0"]}
3 【获取】
curl -XGET matrix.xxx.com:8082/v2/_tags
4 【删除】
docker rmi matrix.xxx.com:8082/zynq-build-tool-v2.0
5 【获取具体】
curl -X GET matrix.xxx.com:8082/v2/z7_lin_drv_build_alientek

浙公网安备 33010602011771号