我尝试以交互模式运行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
Run Code Online (Sandbox Code Playgroud)
这两个图像有什么区别?
| 归档时间: |
|
| 查看次数: |
2383 次 |
| 最近记录: |