When we pull a docker image, where is located in our machine?


I just finished a tutorial
at the end I push it to my docker hub, let say someone found it online, did docker pull in his machine, how he will see the project structure, for example for this tutorial it is a Node.js web app ? where is located ?


where to

The project/directory structure will be the same as you defined it in the image. So if you have the node app built/installed in /myapp in the image, then whoever pull the image will find the code there, inside the running container. You can not see the file structure in the image directly as far as I know.