/docker-comp-smbd

Primary LanguageDockerfileMIT LicenseMIT

Info

CentOS basic Dockerfiles with test Samba server for automated builds on docker hub.

Based on grossws/centos:7 image.

Usage

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

Users

Two users are available:

  • ro with read-only access (password is test);
  • rw with read-write access (password is test).

Is part of the docker-components repo.

Licensing

Licensed under MIT License. See LICENSE file