Docker Community Forums

Share and learn in the Docker community.

Copy a file from host machine to container


(Durgesh07) #1

Hi All,
I am trying to move a file from my host machine to container, via Dockerfile, any solutions???


(Martin Terp) #2

Hi :slight_smile:

I belive this is what you’re looking for.


(Loinx) #3

I think you should read this article to understand ADD and COPY Instruction in Dockerfile: