I'm working with an mantis container : https://hub.docker.com/r/vimagick/mantisbt
On my linux instance I mounted an EFS volume in /mnt/TestMnt/ folder.
So I would like to mount my docker content files directly in my EFS share throught the mounted volume (TestMnt). Problem is when I run docker run commandlet, container is running well (but in reality it doens't work :) ) without error message, and I've got no files appearing in the EFS share. Any idea ?
Here is the command I ran : docker run -v /mnt/TestMnt/:/var/www/html/ -d --name Mantis -p 85:80 vimagick/mantisbt:latest
Thank you
Do you have /var/html/html folder inside that custom image of yours? If not then add this line in the Dockerfile first and then build the image again:
You can also try this first, since this seems to be the better way and it works for me as well: