https://github.com/joonas-fi/samba
Samba in a Docker container (Alpine Linux)
https://github.com/joonas-fi/samba
alpine-linux docker-image samba-server
Last synced: about 1 month ago
JSON representation
Samba in a Docker container (Alpine Linux)
- Host: GitHub
- URL: https://github.com/joonas-fi/samba
- Owner: joonas-fi
- License: apache-2.0
- Created: 2019-08-14T17:20:01.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T13:03:03.000Z (over 2 years ago)
- Last Synced: 2025-02-01T19:44:30.656Z (over 1 year ago)
- Topics: alpine-linux, docker-image, samba-server
- Language: Shell
- Homepage: https://function61.com/
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://hub.docker.com/r/joonas/samba/)
Samba, contained - as all things should be.
Status
------
Might be ready for public consumption, but don't expect much support if you encounter problems.
Use case
--------
We only support this use case:
The container automatically shares all directories from `/samba-private` to your named user only.
Only one username/password is supported.
`/samba-public` is writable to guest users (e.g. your family).
Running
-------
Example:
```
$ docker run --rm -it -p 445:445 \
-e "SMB_USERNAME=joonas" \
-e "SMB_PASSWORD=..." \
-v "/home/joonas/music:/samba-private/music" \
-v "/home/joonas/movies:/samba-private/movies" \
-v "/home/joonas/family-public:/samba-public" \
joonas/samba
```
Thanks
------
Standing on the shoulders of giants:
- Strongly inspired by [Stanback/alpine-samba](https://github.com/Stanback/alpine-samba)