📜  查看 docker 图像内部 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:58.861000             🧑  作者: Mango

代码示例2
if there is no entry point :
docker run -it image_name sh 

if there is an entry point then :
docker run -it --entrypoint sh image_name

To see how image was built.. i.e steps of docker file : you can :
docker image history --no-trunc image_name > image_history