CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/smb/README.md
Views: 11766

Setup

This contains a custom Docker image used for SMB acceptance testing.

Running

  • Build:

docker compose build
  • Run:

docker compose up -d --wait
  • Shut down:

docker compose down

Adding More Shares & Files

To add more shares, you need to create the directories and files in the shares folder. Each directory in this folder should follow a pattern of being mapped to a share. These directories and files will be copied to the container when re-building the Docker image. For each new share, you need to add in a corresponding entry to the config/smb.conf file so that the share is registered by Samba.