How can I use a local file on container?
Yes, you can do this. What you are describing is a bind mount. See https://docs.docker.com/storage/bind-mounts/ for documentation on the subject. For example, if I want to mount a folder from my home directory into /mnt/mydata in a container, I can do: docker run -v /Users/andy/mydata:/mnt/mydata myimage Now, /mnt/mydata inside the container will have access to … Read more