Skip to content

All-in-one Docker image with Samba and Avahi configured to provide simple anonymous file sharing.

License

Notifications You must be signed in to change notification settings

b0ch3nski/samba-insecure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samba-insecure

license release issues

All-in-one Docker image with Samba and Avahi configured to provide simple anonymous file sharing.

usage

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 provided docker-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 through init.sh for a better understanding how this works.

disclaimer

This project was made for fun and learning purposes and shall not be used in real workloads. Use it with extra care and only at your own risk.