Sign inSign up

aevrin/samba

By aevrin

•Updated 2 days ago

Image
0

10K+

aevrin/samba repository overview

⁠samba-docker

⁠An attempt to make a simple docker image for samba

⁠TODO

Get signing working

Multi user has been added, but isn't tested. If anyone tried is, please let me know

⁠Status

It rebuild regularly, pulls from Ubuntu, has a lot of copied code

Encryption is tested for a few shares, and is working

Pulls and tests at least for functioning smb on rebuild

Contains bash for troubleshooting purposes

⁠Sample docker-compose.yml

version: "3.3"
services:
  smb:
    container_name: Samba-Compose
    hostname: samba-compose
    image: aevrin/samba:latest
    environment:
      - USERNAME=adminuser # Forced User
      - PASSWORD=adminpassword # Use a real password
      # - ENCRYPTION=required # Not Supported, feel free to test
      # - SIGNING= # Not Supported, feel free to test
      - USER1=user1
      - PASS1=pass1
      - USER2=user2
      - PASS2=pass2
      - USER3=user3
      - PASS3=pass3
      #E? is the local path
      #C? is the share name
      - E1=/Storage
      - C1=storage
      - E2=/Secure
      - C2=secure
      - E3=/Backup
      - C3=backup
      - E4=/Public
      - C4=public
      - E5=/Private
      - C5=private
      # Extend up to USER999, PASS999, E999, C999 as needed
    volumes:
      - /Storage:/Storage
      - /Secure:/Secure
      - /Backup:/Backup
      - /Public:/Public
      - /Private:/Private
    ports:
      - 445:445
    healthcheck:
      test: ["CMD", "nc", "-z", "localhost", "445"]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: always

Any issues please send to [email protected]⁠

Tag summary

Content type

Image

Digest

sha256:c56bb7580…

Size

73 MB

Last updated

2 days ago

docker pull aevrin/samba