I am trying to give a set of bash instruction to my docker container when it launch.
but when I try to launch this docker file everything works great until the ‘mv’ command as you can see here :
but when I try to move the file directly from the container (the exact same command as my docker file) it works :
does anyone has an idea why its not working with the docker file instruction but working fine when I run the command manually ?
2
Answers
I fixed the issue by adding the creation of the folder named /fuseki/configuration in the set of instruction. It works fine and I can see this log :
The directory
/fuseky/configuration
does not exist.In the container you are doing it the right way so just change the command in the dockerfile:
and you should be fine