gpt4 book ai didi

docker - Bluemix中缺少定制的docker镜像

转载 作者:行者123 更新时间:2023-12-02 19:42:11 25 4
gpt4 key购买 nike

我正在尝试按照CLI指示部署我的自定义Docker镜像。

我推了图片
docker push registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker:mytag
输出看起来很好:
The push refers to a repository [registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker] (len: 1)
Sending image list
Pushing repository registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker (1 tags)
Image ebdbe10e9b33 already pushed, skipping
Image 366219586e86 already pushed, skipping
Image fa5be2806d4c already pushed, skipping
Image 501f51238f9e already pushed, skipping
Image 1a895dd3954a already pushed, skipping
Image 755bf916afd3 already pushed, skipping
Image e94ed3d5b932 already pushed, skipping
Image 3fa79d064cb7 already pushed, skipping
Image 528af6b6dd27 already pushed, skipping
Image 7c1b7e04f409 already pushed, skipping
Image c50c1b0883b3 already pushed, skipping
Pushing tag for rev [c50c1b0883b3] on {https://registry.ng.bluemix.net/v1/repositories/XXX/XXXXXX/centos-docker-broker/tags/mytag}

但是,如果列出图像,则看不到自定义图像。我只看到默认的。

$ cf ic images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
registry.ng.bluemix.net/ibm-mobilefirst-starter latest 5996bb6e51a1 8 days ago 770.4 MB
registry.ng.bluemix.net/ibm-node-strong-pm latest ef21e9d1656c 3 weeks ago 528.7 MB
registry.ng.bluemix.net/ibmliberty latest 2209a9732f35 3 weeks ago 492.8 MB
registry.ng.bluemix.net/ibmnode latest 8f962f6afc9a 3 weeks ago 429 MB

我的形象在哪里?

最佳答案

似乎我没有将本地docker命令连接到外部主机,例如

    export DOCKER_HOST=tcp://containers-api.ng.bluemix.net:8443
export DOCKER_CERT_PATH=/Users/xxx/.ice/certs/containers-api.ng.bluemix.net
export DOCKER_TLS_VERIFY=1

关于docker - Bluemix中缺少定制的docker镜像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33398413/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com