Page 1 of 1

How to mount a volume in a docker container?

Posted: Thu Jan 20, 2022 2:02 pm
by TerpEE93
Good morning,

I have containers running in my EVE Pro instance, and I just pulled down the latest Nginx container. I'd like to mount a directory on my EVE server as a volume in the container, but I don't see documentation to describe how to do that. The startup config runs commands inside the container after it boots. I need something to set command line arguments on the "docker run" command -- some way to start the Nginx container equivalent to "docker run --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d nginx". Is this possible?

Thanks!

-- Greg

Re: How to mount a volume in a docker container?

Posted: Sat Aug 23, 2025 5:01 pm
by laroyeh854
thanks for help!