DomiStyle / docker-idrac6

iDRAC 6 web interface and VNC proxy
https://hub.docker.com/r/domistyle/idrac6/
MIT License
756 stars 135 forks source link

Mounting vmedia #66

Open Swampcritter opened 10 months ago

Swampcritter commented 10 months ago

How do you go about mounting the /vmedia from the docker command line way?

I tried something like this: docker run -d \ -p 5800:5800 \ -p 5900:5900 \ -e IDRAC_HOST=mydellserver.local \ -e IDRAC_USER=root \ -e IDRAC_PASSWORD=calvin \ -e VIRTUAL_MEDIA=file.iso \ domistyle/idrac6 And I can connect to the docker VNC server (port 5900). But when I look at the drop down under the Launch Virtual Media, it doesn't show the /vmedia folder on the host machine. Am I doing something wrong?

liltimtim commented 8 months ago

@Swampcritter you may have already tried this but just in case you havent

initial_screen_1

Click the dropdown and navigate to / folder

screen_2

Click on /

screen_3

You may need to scroll to vmedia folder, click into that folder screen_4

you should see your ISO

otherwise I have a compose file I can send you which uses a bind mount where I store my own ISO files

bcurran3 commented 1 week ago

AutoMount didn't work for me. Did some quick discovery and...

README/Configuration says to use VIRTUAL_MEDIA variable, but the mountiso.sh script uses VIRTUAL_ISO as the variable. The example docker-compose.yml has it correct.

Change your docker container environmental variable to VIRTUAL_ISO instead of VIRTUAL_MEDIA and your ISO will AutoMount.


LOVE THIS CONTAINER. Thank you @DomiStyle!.

bcurran3 commented 1 week ago

I just added a PR: https://github.com/DomiStyle/docker-idrac6/pull/75 for this.