Public Repository

Last pushed: a year ago
Short Description
Fork of https://hub.docker.com/r/dastrasmue/rpi-samba/ -- smbd exit code 0 fix
Full Description

See here: https://hub.docker.com/r/dastrasmue/rpi-samba/

dastrasmue's image is fantastically lightweight. The only problem is that it restarts infinitely once smbd finishes initializing. The solution is not straightforward at all, but is actually very simple: http://unix.stackexchange.com/a/277119

Example in a docker-compose.yml:

version: '2'
#volumes:
services:
  smbshare:
    image: charlesmknox/rpi-samba:v2
    restart: always
    ports:
      - 137:137/tcp
      - 137:137/udp
      - 138:138/tcp
      - 138:138/udp
      - 139:139
      - 445:445
      - 445:445/udp
    hostname: parenthostname
    volumes:
      - /mnt/smbsharefolder:/share/data
    command: -u "user:password" -u "user2:password" -s "smbsharename:/share/data:rw:user,user2"
Docker Pull Command
Owner
charlesmknox

Comments (1)
clarity99
a year ago

Tag latest not found in repository docker.io/charlesmknox/rpi-samba ?