{"id":22797556,"url":"https://github.com/rollmug/orchard-docker-windows","last_synced_at":"2026-05-17T01:44:59.616Z","repository":{"id":157373815,"uuid":"615430358","full_name":"rollmug/Orchard-Docker-Windows","owner":"rollmug","description":"Running Orchard Core CMS with Docker on Windows Server 2022","archived":false,"fork":false,"pushed_at":"2023-03-21T19:32:41.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T19:36:42.525Z","etag":null,"topics":["docker","docker-compose","orchard-cms","orchard-core","windows-server","windows-server-2022"],"latest_commit_sha":null,"homepage":"https://github.com/rollmug/Orchard-Docker-Windows","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rollmug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-17T17:14:36.000Z","updated_at":"2023-03-17T17:47:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d12ddee6-d365-4975-9b09-6cc485e143e5","html_url":"https://github.com/rollmug/Orchard-Docker-Windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rollmug/Orchard-Docker-Windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollmug%2FOrchard-Docker-Windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollmug%2FOrchard-Docker-Windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollmug%2FOrchard-Docker-Windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollmug%2FOrchard-Docker-Windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollmug","download_url":"https://codeload.github.com/rollmug/Orchard-Docker-Windows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollmug%2FOrchard-Docker-Windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33124933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","orchard-cms","orchard-core","windows-server","windows-server-2022"],"created_at":"2024-12-12T06:06:23.363Z","updated_at":"2026-05-17T01:44:59.593Z","avatar_url":"https://github.com/rollmug.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orchard + Docker + Windows Server\n### Running Orchard Core CMS with Docker on Windows Server 2022\n\nThis is a walkthrough on getting up and running with Orchard Core CMS on Windows Server 2022, using Docker with Windows containers, along with a sample docker-compose.yml file. \n\n_Note: this procedure will probably also work on Windows Server 2016 or greater, although I've only tested on Server 2022._\n\n**Overview:**\n\n- [enable the Containers](#enable-containers) feature in Windows Server Manager\n- [install Docker](#install-docker)\n- [install Docker Compose](#install-docker-compose)\n- [create files and set permissions](#orchard-core-cms)\n- [run docker-compose command](#running-docker-compose-and-orchard)\n\n## Enable Containers\n\nLog into your Windows Server machine as Administrator, and open Windows Server Manager. Then:\n\n1. select \"Manage\" from the top menu bar (or under the Quick Start menu on Dashboard), and select \"Add Roles and Features\"\n2. click Next on the \"Before You Begin\" page\n3. for Installation type, select \"Role-based\", and then Next\n4. select the name of the server where the feature will be installed and click \"Next\"\n5. no changes are to be made on the Server Roles page, so just click \"Next\"\n6. on the Features page, check the box next to \"Containers\" and click \"Next\"\n7. click \"Install\"\n8. when it's done, click close\n9. restart the machine\n\n## Install Docker \n\nAfter the system has rebooted, run PowerShell as Administrator. From there, run the following:\n\n```sh\nInstall-Module -Name DockerMsftProvider -Repository PSGallery –Force\n```\n\nThis command will prompt you to install the Nuget provider in order to install the module. Go for it. Then, run the below command to install the latest Docker version:\n\n```sh\nInstall-Package -Name docker -ProviderName DockerMsftProvider\n```\n\nSelect \"Yes to all\", then: \n\n```sh\nRestart-Computer\n```\n\nOnce it's rebooted, re-open PowerShell as Administrator, and confirm that it's working by running: \n\n```sh\nGet-WindowsFeature -Name containers\n```\n\nNow check the docker version, and verify it's running with by using these two commands:\n\n```sh\ndocker --version\n```\n\nand also: \n\n```sh\nGet-Service docker\n```\n\n## Install Docker Compose\n\nRun PowerShell as Administrator. Enable TLS 1.2 by running:\n\n```sh\n[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n```\n\nRun the following command to download the latest release of Compose (as of this writing, v2.16.0, but change the version as needed):\n\n```sh\nStart-BitsTransfer -Source \"https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-Windows-x86_64.exe\" -Destination $Env:ProgramFiles\\Docker\\docker-compose.exe\n```\n\nTest the installation:\n\n```sh\ndocker-compose version\n```\n\n## Orchard Core CMS\n\nIn either File Exporer or from the command line, create the parent directory for your Orchard Core CMS install, for example, `Orchard-Core-CMS`, and cd into it. Into that directory, either clone the files from this repo, or create them manually (there's only 2: the `App_Data` dir and the `docker-compose.yml` file).\n\nSince we want to persist Orchard data even if the Docker container is stopped or removed, we need to first set some permissions on our parent folder before we do anything else.\n\nFollow these steps to add the \"Users\" group to our app:\n\n1. in File Explorer, right-click the parent dir (in our case, `Orchard-Core-CMS`, or whatever you named it)\n2. click Properties\n3. click the Security tab\n4. next to where it says, \"To change permissions\", click the \"Edit\" button.\n5. click the Add button\n6. where it says \"Enter the object names\", type \"users\" in the text box\n7. click \"Check Names\" (should auto fill the value for you)\n8. click OK\n9. Highlight your newly added Users group\n10. Under \"Permissions for [User/Groupname]\" select Full control\n11. click apply\n12. click \"OK\"\n13. click \"OK\"\n\n## Running Docker Compose and Orchard\n\nFrom the command line, cd into the parent directory (`Orchard-Core-CMS`, or whatever you named it).\n\nRun:\n\n```sh\ndocker-compose up\n```\n\nThis will take a while the first time you run it, but subsequent builds will be very fast. You'll see lots of logs. If all goes well, at the end of this you should be able to navigate to `http://localhost:8080` and continue your Orchard Core setup from within the browser.\n\nCheck to make sure files are persisted by navigating to the `App_Data` directory. You should now see some files that Orchard has created (logs, Sites, tenants.json).\n\nIf all is going well, now you can exit the session by typing Ctrl+C. We'll now want to run it again, but this time in the background so our terminal window doesn't need to stay open.\n\nNow, run:\n\n```sh\ndocker-compose up -d\n```\n\nThe `-d` flag will run it in detached mode. Feel free to close the terminal session. You should again be able to navigate to `http://localhost:8080`, and the data from your initial setup should still be there.\n\nTo stop the running Orchard container, simply run:\n\n```sh\ndocker-compose down\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollmug%2Forchard-docker-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollmug%2Forchard-docker-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollmug%2Forchard-docker-windows/lists"}