CentOS basic Dockerfiles with test Samba server for automated builds on docker hub.
Based on grossws/centos:7
image.
To run smbd
for testing environment:
docker run -it --rm -v /tmp/share-data:/data -p 445:445 grossws/smbd:latest
Also additional params could be passed to smbd
daemon:
# with debug level == 4
docker run -it --rm -v /tmp/share-data:/data -p 445:445 grossws/smbd:latest smbd -- -d 4
After that share could be accessed using smbclient
or any other tool:
smbclient -U ro //localhost/data
Two users are available:
ro
with read-only access (password istest
);rw
with read-write access (password istest
).
Is part of the docker-components repo.
Licensed under MIT License. See LICENSE file