Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 625 Bytes

File metadata and controls

38 lines (29 loc) · 625 Bytes

docker-smb

SMB File Server

Running the container

  1. Become root:

    sudo su
    
  2. Create a folder for storing the samba configuration and database files

  3. Run the container:

    docker run -d --name smb \
        -p 139:139 -p 445:445 \
        -v /data:/data \
        gotofoo/smb
    
  4. Start the container:

    docker start smb
    

Commands

The following commands are available for the administration of the server.

Add a new user

docker exec -it smb useradd <username>

Change the password of a User

docker exec -it smb passwd <username>