Closed itamcampos closed 1 year ago
There is already a guideline for this problem in the documentation. I used the network as "host" and it solved my problem
Docker command line:
:$ :$ docker container run \ --memory="512m" \ --detach \ --restart=always \ --network host \ <---------------- --env NMBD=true \ --volume '/path:/path:rw' \ --volume '/path/smb.conf:/etc/smb.conf:rw' \ --name samba dperson/samba:amd64 -p
I cannot access shared folders using the name 'netbios/netbios alias'
I'm using a Windows 10 computer on the network and I type in Explorer:
\name
Docker command line:
:~$ :~$ docker container run \ --memory="512m" \ --detach \ --restart=always \ --publish 135:135/udp \ --publish 137:137/udp \ --publish 138:138/udp \ --publish 139:139 \ --publish 445:445 \ --env NMBD=true \ --env RECYCLE=false \ --env USERID=1003 \ --env GROUPID=1003 \ --volume '/path:/path:rw' \ --volume '/path/smb.conf:/etc/smb.conf:rw' \ --name samba dperson/samba:amd64 -p -n
My "smb.conf":
netbios aliases = name interfaces = 127.0.0.0/8 172.17.0.0/16 192.168.174.0/24 bind interfaces only = yes