Category : cifs

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 am trying to mount a CIFS volume for downloading documents, if I config it with the IP works fine… The problem is that when I try to config it with the domain name it doesn’t work due to invalid argument. This works for me volumes: cifs: driver: local driver_opts: type: cifs o: username=$WSDLUSER,password=$WSDLPASS,rw,domain=YYYYY.com,uid=1000,forceuid,gid=1000,forcegid,file_mode=0400,dir_mode=0500 device: ..

Read more

We have a docker image that is processing some files on a samba share. For this we created a cifs share which is mounted to /mnt/dfs and files can be accessed in the container with: docker run -v /mnt/dfs/project1:/workspace image Now what I was aked to do is get the container into k8s and to ..

Read more

I have the next docker-compose.yml: version: ‘3.9’ services: server: build: context: . dockerfile: Dockerfile environment: – "SQLALCHEMY_DATABASE_URI=<DB_CONNECTION_STR>" – "RAW_DATA_DIR=/app/mydrive" – "INDEXING=False" restart: "always" volumes: – ${CONFIG_PATH}companyLogo.png:/app/files/branding/companyLogo.png – mydrive:/app/mydrive networks: – internal ports: – ’80:80′ command: "server" volumes: mydrive: driver: local driver_opts: type: cifs o: ‘username=<USERNAME>,password=<PASSWORD>,domain=<DOMAIN>,uid=5000,gid=6000’ device: ‘<LINK_TO_MY_SERVER>’ networks: internal: And azure-pipeline.yml with Azure Agent on ..

Read more

I want to mount a CIFS share for my docker container to use. This already worked by explicitly creating a docker volume like so: docker volume create –driver local –opt type=cifs –opt o=vers=2.0,username=xxxx,password=xxxx –opt device=//servername/Documents Documents docker run -i –rm -v Documents:/mnt busybox ls -l /mnt however I want to prevent that I have to ..

Read more