GitHunt
B0

b0ch3nski/samba-insecure

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

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.

Languages

Shell74.1%Makefile17.3%Dockerfile8.6%

Contributors

Latest Release

v0.1November 11, 2024
Apache License 2.0
Created November 11, 2024
Updated November 11, 2024