普通docker镜像和s2i镜像有什么区别?

时间:2020-07-31 06:45:02

标签: docker s2i

我尝试以交互方式运行centos:centos7码头工人镜像,它工作正常并且容器成功启动,但是当我尝试运行centos/python-36-centos7:latest 时,显示了以下文本而不是容器。

This is a S2I python-3.6 centos base image:
To use it, install S2I: https://github.com/openshift/source-to-image
Sample invocation:
s2i build https://github.com/sclorg/s2i-python-container.git --context-dir=3.6/test/setup-test-app/ centos/python-36-centos7 python-sample-app
You can then run the resulting image via: podman run -p 8080:8080 python-sample-app

请参阅随附的屏幕截图 Image screenshot

这两张图片有什么区别?

0 个答案:

没有答案