Answers for "look inside docker image"

3

how to check docker contents

docker run -it image_name sh
Posted by: Guest on September-25-2020
0

look inside docker image

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
Posted by: Guest on November-02-2021

Browse Popular Code Answers by Language