首页 > 解决方案 > 如何在 OpenShift 下使用 unrar 创建 pod?

问题描述

我想将使用 unrar 的应用程序部署到 OpenShift。但默认情况下,我的部署 pod 中的 /usr/bin 目录中没有 unrar。

如何向 OpenShift pod 添加 unrar 或 perl 等功能?

标签: openshift

解决方案


部署 pod 的内容由它正在部署的容器映像决定。

您可以使用 buildah、podman 或 docker CLI 工具构建自己的容器映像,其中包含您喜欢的任何工具。网上有很多资源详细说明了这是如何完成的。


推荐阅读