Docker Community Forums

Share and learn in the Docker community.

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


(Mlotfi) #1

Hi,

I just finished a tutorial
/nodejs_web_app/
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 ?

Thanks.

where to


#2

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.