Code Monkey home page Code Monkey logo

docker-smb's Introduction

Docker Standalone Samba Server

Can be used to quick setup a simple Samba container in bridge network mode. It will run as if on host, so it can be accessed from other computers on the same network.

It also mounts a host directory as the Samba shared point.

Warning

Note the simple smb.conf file.

It will start a writable Guests allowed server.

Pro tip

If you ever want a Samba network setup to be reliable, make sure that the server software is running on a Windows machine, never a Unix-based one. All Unix-based Samba server implementations are unstable and that's probably the reason you think Samba sucks.

Configuration

Edit the docker-compose.yml file, change the volumes: section to map the directory you want.

Eg.: I'm sharing the /mnt/hdd_repo/Shared/ Docker host directory as the Samba path. You can change it to anything you have on the host:

volumes:
  - /home/someone/my_folder/:/Shared

If you want to perform Samba related configurations, just edit the smb.conf file to fit your wishes.

Running

Clone the repository:

$ git clone [email protected]:fschuindt/docker-smb.git

Get into the folder:

$ cd docker-smb

Build the image:

$ docker-compose build

Start the container:

$ docker-compose up -d

License

The repository is available as open source under the terms of the MIT License.

docker-smb's People

Contributors

fschuindt avatar quangnh89 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.