This is the SAMBA server with Docker image repository.
- Firstly, downloading the Docker image via following command:
# Download latest version
docker pull peter279k/docker-samba:latest
# Download specific released version
docker pull peter279k/docker-samba:v1.0
- Secondly, using following command to setup SAMBA server:
The port numbers should be specified and volume SAMBA directory should be specified, too.
docker run -d -p 1399:139 -p 4455:445 -p 1377:137 -p 1388:138 -v /path/to/samba/folder:/srv/private peter279k/docker-samba:latest "SAMBA_USER" "SAMBA_PASS"
Of course, it can allow developers to build this image manually:
docker build -t docker-samba .
The following references is to help this Docker image to build well :).