Sign inSign up

laslabs/alpine-samba-dc

By laslabs

•Updated about 9 years ago

Samba4 Domain Controller Based on Alpine

Image
9

10K+

laslabs/alpine-samba-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 laslabs/alpine-samba-dc:0.1.0

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:/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 -v ${PWD}/samba:/samba 'laslabs/alpine-samba-dc:0.1.0'

⁠Volumes

The following volumes are exposed:

NameValueDescription
Samba/sambaRe-homed Samba Config, data and log directory

⁠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

31.6 MB

Last updated

about 9 years ago

docker pull laslabs/alpine-samba-dc