How to mount a volume in a docker container?

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
TerpEE93
Posts: 3
Joined: Fri Oct 01, 2021 3:38 pm

How to mount a volume in a docker container?

Post by TerpEE93 » Thu Jan 20, 2022 2:02 pm

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

laroyeh854
Posts: 1
Joined: Sat Aug 23, 2025 5:01 pm

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

Post by laroyeh854 » Sat Aug 23, 2025 5:01 pm

thanks for help!

Post Reply