Sign inSign up

celfring/samba-ad-dc

By celfring

•Updated over 6 years ago

Image
0

1.6K

celfring/samba-ad-dc repository overview

License: Apache 2.0 Build Status

⁠Docker - Alpine Samba Domain Controller

This image provides a Samba 4 Domain Controller using an Alpine Linux base.

⁠Configuration

First, Pull the image:

docker pull celfring/samba-ad-dc

Now, start the image with the correct environment variables for initial configuration:

  • Note that we're persisting the samba volume to a local directory named samba in your working dir
mkdir ${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/etc:/etc/samba \
    -v ${PWD}/samba/lib:/var/lib/samba \
    -v ${PWD}/samba/log:/var/log/samba \
     'laslabs/alpine-samba-dc:0.1.0'

⁠Usage

After the container has been run for the first time, invoke it with the following command

docker run -d --restart unless-stopped 'laslabs/alpine-samba-dc:0.1.0'

⁠Environment Variables

The following environment variables are available for your configuration pleasure:

NameDefaultDescription
SAMBA_DC_REALMcorp.example.netThe realm to launch the DC into
SAMBA_DC_DOMAINEXAMPLEThe NetBIOS Domain Name
SAMBA_DC_ADMIN_PASSWD5u3r53cur3!The AD DC Administrator user password
SAMBA_DC_DNS_BACKENDSAMBA_INTERNALThe DNS backend to use

⁠Bug Tracker

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.

⁠Credits

⁠Contributors

⁠Maintainer

LasLabs Inc.

This module is maintained by LasLabs Inc.⁠

Tag summary

Content type

Image

Digest

Size

43.6 MB

Last updated

over 6 years ago

docker pull celfring/samba-ad-dc