This image provides a Samba 4 Domain Controller using an Alpine Linux base.
First, Pull the image:
docker pull laslabs/alpine-samba-dc:0.1.0
Now, start the image with the correct environment variables for initial configuration:
samba
in your working dirmkdir ${PWD}/samba
docker run -d --restart unless-stopped \
-e SAMBA_DC_REALM='corp.example.net' \
-e SAMBA_DC_DOMAIN='EXAMPLE' \
-e SAMBA_DC_ADMIN_PASSWD='5u3r53cur3!' \
-e SAMBA_DC_DNS_BACKEND='SAMBA_INTERNAL' \
-v ${PWD}/samba:/samba \
'laslabs/alpine-samba-dc:0.1.0'
After the container has been run for the first time, invoke it with the following command
docker run -d --restart unless-stopped -v ${PWD}/samba:/samba 'laslabs/alpine-samba-dc:0.1.0'
The following volumes are exposed:
Name | Value | Description |
---|---|---|
Samba | /samba | Re-homed Samba Config, data and log directory |
The following environment variables are available for your configuration pleasure:
Name | Default | Description |
---|---|---|
SAMBA_DC_REALM | corp.example.net | The realm to launch the DC into |
SAMBA_DC_DOMAIN | EXAMPLE | The NetBIOS Domain Name |
SAMBA_DC_ADMIN_PASSWD | 5u3r53cur3! | The AD DC Administrator user password |
SAMBA_DC_DNS_BACKEND | SAMBA_INTERNAL | The DNS backend to use |
Bugs are tracked on GitHub Issues. In case of trouble, please check there to see if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
This module is maintained by LasLabs Inc.