From 551925a167a2ec5017ef0e273fdc7f7369a1726b Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Thu, 19 Dec 2024 02:20:27 -0500 Subject: [PATCH] Update README.md --- Docker/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Docker/README.md b/Docker/README.md index b052ffc..5dce50f 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -1,4 +1,27 @@ # Create Docker Stash Container (By David Maisonave) -CreateContainer.cmd is a script file that can be used to create a Stash container on Docker. +CreateContainer.cmd is a Windows script file that is used to create a Stash container on Docker. + +To use it, first copy the file to the following path: +**C:\Users\MyUserName\AppData\Local\Docker\wsl\CreateContainer.cmd** + +Note: Replace **MyUserName** with the actual user name. + +Then use a DOS window to change to the **ws1** directory before calling the script. +### The script requires at minumum 3 arguments. +- New Container Name +- Image Name +- Stash Port Number + +### Example Commands: +- Example usage with minumum arguments: + - `CreateContainer.cmd MyContainerName "stashapp/stash:latest" 9998` +- Example with shared mount paths: + - `CreateContainer.cmd ContainerName1 "stashapp/stash:latest" 9991 C:\MySharedMountPath C:\Another\Shared\Folder` +- Example adding Stash **Image** and container: + - `CreateContainer.cmd v0.27.2 "stashapp/stash:v0.27.2" 9997 PULL` +- Example with DLNA: + - `CreateContainer.cmd v272 "stashapp/stash:v0.27.2" 9996 C:\downloads DLNA` +- Example skipping docker-compose: + - `CreateContainer.cmd ContainerName "stashapp/stash:v0.26.2" 9992 C:\Videos SKIP`