4

我尝试在交互模式下运行centos:centos7 docker映像,它运行良好并且容器成功启动,但是当我尝试运行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

请参阅随附的屏幕截图 图片截图

这两个图像有什么区别?

4

0 回答 0