【问题标题】:How I can update my container image in bluemix, without stop my actual service that use this container?如何在不停止使用此容器的实际服务的情况下更新我在 bluemix 中的容器映像?
【发布时间】:2017-07-24 00:44:48
【问题描述】:

如何在不停止使用此容器的实际服务的情况下更新我在 bluemix 中的容器映像?

通常我会停止 > 删除 > 重新创建一个新容器。这不是很有效率。

【问题讨论】:

    标签: docker containers ibm-cloud ibm-cloud-tools


    【解决方案1】:

    IBM Bluemix Container Service 现在结合了 Docker 和 Kubernetes。 Kubernetes 是一个开源项目,用于管理您可以部署到 Bluemix 的基础架构。零停机部署是 Kubernetes 的原生特性。

    您应该考虑将旧容器迁移到新的 IBM Container Service。

    有关创建集群的更多信息: https://console.bluemix.net/docs/containers/container_index.html#clusters

    使用 IBM Bluemix Container Service 管理滚动部署 https://console.bluemix.net/docs/containers/cs_apps.html#cs_apps_rolling

    【讨论】:

    • 好的,我需要迁移我的实际服务吗?我在 docker 中创建是因为我需要与 oracle 和我的应用程序建立连接,并且在工作一个月后在 blue mix 上运行的独特解决方案是使用 docker。那是我第一次与 docker 合作。现在我知道我有一个容器,它是我运行应用程序的 SO 的一部分。我安装了其他东西以获得支持,这与我们的服务兼容(我在使用 ssh 在 blumix 中运行我的容器后制作的)。我需要在容器中不停地刷新我的代码。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-18
    • 1970-01-01
    • 2017-04-25
    • 1970-01-01
    • 2013-09-22
    • 2011-10-22
    • 2014-10-05
    相关资源
    最近更新 更多