Samba : the standard Windows interoperability suite of programs for Linux and Unix. This container aims to run a Samba server registered as a member of a given Active Directory domain.
Run the Samba image.
Replace by the local ip of the machine executing docker runtime.
docker run -it --rm --add-host "docker-smb.localdomain.loc docker-smb":<host ip address> \
--hostname docker-smb \
-e TZ=Etc/UTC
-e DOMAIN_NAME=localdomain.loc \
-e ADMIN_SERVER=dc1.localdomain.loc \
-e WORKGROUP=localdomain \
-e AD_USERNAME=Administrator \
-e AD_PASSWORD=V3rY1ns3cur3P4ssw0rd \
-p 137:137/udp \
-p 138:138/udp \
-p 139:139/tcp \
-p 445:445/tcp \
zerounnet/docker-samba:latest
samba:
container_name: samba
image:zerounnet/docker-samba:latest
restart: unless-stopped
ports:
- 137:137/udp
- 138:138/udp
- 139:139/tcp
- 445:445/tcp
volumes:
- "/opt/kodi-headless-01:/config/.kodi"
environment:
- TZ="Europe/Berlin"
- DOMAIN_NAME="localdomain.loc"
- ADMIN_SERVER="dc1.localdomain.loc"
- WORKGROUP="localdomain"
- AD_USERNAME="Administrator"
- AD_PASSWORD="V3rY1ns3cur3P4ssw0rd"
extra_hosts:
- "docker-smb.localdomain.loc docker-smb":<host ip address>
tty: true
Content type
Image
Digest
Size
102.1 MB
Last updated
almost 7 years ago
docker pull zerounnet/docker-samba