Category : mount

I am using WSL2 and Docker Desktop for Windows. I managed to “successfully” mount my network drive using WSL2 bash terminal like this: sudo mount -t cifs -o dom=teralab,user=johnny,vers=2.0,nobrl,cache=none,echo_interval=1,actimeo=0,rsize=1024 //111.111.1.111/data-users/mydata /media/data-users This command "successfully" mounted my network drive. In the WSL2 terminal, I could execute cd media & ls which would list all files from ..

Read more

I have recently started using docker to deploy my projects. I’m struggling about how to bind mount a container directory to the host directory (I have to save some images in the container directory). I create a volume using the command: docker volume create –driver local –opt type=none –opt device=/home/ubuntu/assets/eventsimg –opt o=bind salernofamiglia-event-images where the ..

Read more

I’m trying to mount a folder to a docker image in Ubuntu 20.04: (base) [email protected]:~$ sudo docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE docker.tigergraph.com/tigergraph latest 6c55bb15e2a6 7 days ago 10.6GB hello-world latest feb5d9fea6a5 6 weeks ago 13.3kB (base) [email protected]:~$ sudo docker run -t -i -v /home/raphy/ConceptNet/ 6c55bb15e2a6 It doesn’t give any error, but ..

Read more

I have mounted a cifs driver on our linux cluster with the following command. So Basically I have access to the directory but others not sudo mount -t cifs -o user=myusername,uid=myid,domain=domain,dir_mode=0770,file_mode=0770 "path to the driver" /mnt/test Now I have set up a rserver docker container and bound the whole directory to the container but it ..

Read more