Please help! I’m struggling with this for a few days now… I’m trying to write to a mount in a Kubernetes pod with a non-root user and getting access denied. In the Kubernetes manifest, I am mounting a windows shared folder like this: kind: Deployment apiVersion: apps/v1 metadata: name: centos-deployment spec: template: spec: volumes: – ..
Is it possible to run SMB in Dockerized Windows Server container? I am running the following: $sharepath = "c:share" $Acl = Get-ACL $SharePath $AccessRule= New-Object System.Security.AccessControl.FileSystemAccessRule("DOMAINFile Server Admins","full","ContainerInherit,Objectinherit","none","Allow") $Acl.AddAccessRule($AccessRule) Set-Acl $SharePath $Acl NET SHARE sharename=c:share "/GRANT:Everyone,FULL" As a result, I get the following: The Server service is starting. The Server service could not be started. ..
I would like to access a Windows file share share (SMB3) from a docker container, but I do not want to compromise the security of the host machine. All the guides I have read state that I need to use either the –privileged flag or –cap-add SYS_ADMIN capability. Here is the command I use: mount ..
I have a NAS with a shared CIFS/SMB share that I would like to mount as a volume using docker-compose on Windows. I have read through multiple suggestions (for instance using plugins, mounting it in Windows to give it a drive letter) without finding anything that I can get working. I understand it’s not 100 ..
I’m having an issue with nextcloud + SMB + sharing: I have nextcloud running inside a docker container, with storage attached via the "external Storage"/SMB plugin. (from the same machine, needs auth) I can browse the SMB share and create a sharing link that is available to not-logged-in users. –So far this works as expected.– ..
I am trying to monitor folder file activity in a network shared folder on windows in real time, through a python watchdog script running in a docker container. The problem is I didn’t find a way to connect my docker container to the shared folder via the ip address or by monitoring the smb activity. ..
I have a service or three that needs access to the same SMB share. The service(s) is running inside a Docker container. I think my choices are: Have the Docker container(s) where the service(s) is running mount the SMB share itself Have the host of the Docker container(s) mount the SMB share and then share ..
I’m trying to access multiple Windows CIFS shares from a Python code that will run in a Docker container. I’ve seen that there are multiple SMB libraries like pysmb and smbprotocol that claim that they can be used to access CIFS shares, but I haven’t managed to get it to work and haven’t seen a ..
Is it possible mount CIFS volume root folder? Something like this: my-storage: driver: local driver_opts: type: cifs device: ‘//IP-address’ o: ‘file_mode=0600,dir_mode=0755,username=admin,password=pass’ I only managed to mount a subfolder like //IP-address/some-dir Source: Docker..
I have a Docker Volume used by several containers (Linux containers running on Windows). I would like to be able to access the Volume from the Windows machine through the explorer, in the best case with a network drive, e.g.: smbd: image: dperson/samba ports: – "445:445/tcp" volumes: – data:/public … volumes: data: external: name: mydrive ..