Sign inSign up

zerounnet/docker-samba

By zerounnet

Updated almost 7 years ago

Image
0

208

zerounnet/docker-samba repository overview

Introduction

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.

Quick start

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

docker-compose

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

Reference

Tag summary

Content type

Image

Digest

Size

102.1 MB

Last updated

almost 7 years ago

docker pull zerounnet/docker-samba