Docker Samba Domain Controller on RPI with BIND9 for DNS
samba-ad-dc:
container_name: DC
image: phreakazoid/samba-dc:latest
restart: always
net: host
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/opt/ad-dc-arm/samba:/usr/local/samba/etc"
- "/opt/ad-dc-arm/data:/usr/local/samba/private"
- "/opt/ad-dc-arm/samba-log:/usr/local/samba/var"
- "/opt/ad-dc-arm/bind9:/usr/local/bind9/etc"
environment:
TZ: "Europe/Berlin"
-docker run -d \
- --restart=always \
- --net="host" \
- -v /opt/DHCP/data:/etc/dhcp \
- --name DHCP \
- phreakazoid/rpi-samba-dc:dhcpd