# rpi-samba **Repository Path**: rabbired/rpi-samba ## Basic Information - **Project Name**: rpi-samba - **Description**: Samba Docker container for Raspberry Pi - **Primary Language**: Shell - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-02 - **Last Updated**: 2022-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Samba Docker container for Raspberry PI This project builds a Raspberry PI Docker container embedding a Samba server. This container allows you to share files over network using SMB protocol, used by Windows clients. ## Build instructions [Install Docker](https://www.raspberrypi.org/blog/docker-comes-to-raspberry-pi) on a Raspberry PI host. Build a Docker image using this command: $ make A Docker image named 'rpi-samba' is now available. Create a new Docker container from this image: $ sudo docker create --name rpi-samba --restart always -v $PWD/public:/data/share -p 445:445 -p 139:139 -p 137:137/udp -p 138:138/udp rpi-samba You are now ready to start this container: $ sudo docker start rpi-samba The Docker container exports a public network share named 'Public', linked to a local directory using a Docker volume. The Samba share is using the directory /data/share in the Docker image. Tweak the command line argument -v /your/local/dir:/data/share to set a specific directory. ## Copyright This program is a free software published under GPL. Copyright (c) 2017 Alexandre Roman.