- Notifications
You must be signed in to change notification settings - Fork0
All-in-one Docker image with Samba and Avahi configured to provide simple anonymous file sharing.
License
NotificationsYou must be signed in to change notification settings
b0ch3nski/samba-insecure
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
All-in-one Docker image withSamba andAvahi configured to provide simple anonymous file sharing.
docker run \ --detach \ --name="samba" \ --restart unless-stopped \ --network host \ --volume"/tmp/smb:/storage:rw" \ --env SMB_GROUP="$(id -gn)" \ --env SMB_GID="$(id -g)" \ --env SMB_USER="$(id -un)" \ --env SMB_UID="$(id -u)" \ --env ENABLE_AVAHI="true" \ b0ch3nski/samba-insecure:latest
Alternatively try provideddocker-compose.yml:
SMB_GROUP="$(id -gn)" SMB_GID="$(id -g)" SMB_USER="$(id -un)" SMB_UID="$(id -u)" docker compose up --detach
I recommend going throughinit.sh for a better understanding how this works.
This project was made for fun and learning purposes and shall not be used in real workloads. Use it with extra care andonly at your own risk.
About
All-in-one Docker image with Samba and Avahi configured to provide simple anonymous file sharing.