{"id":15779976,"url":"https://github.com/rgl/containerd-playground-vagrant","last_synced_at":"2026-03-12T12:03:57.270Z","repository":{"id":55491815,"uuid":"518649408","full_name":"rgl/containerd-playground-vagrant","owner":"rgl","description":"containerd on ubuntu and windows playground","archived":false,"fork":false,"pushed_at":"2024-11-10T11:25:50.000Z","size":269,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T11:05:58.411Z","etag":null,"topics":["containerd","linux","nerdctl","ubuntu","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/rgl.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":"2022-07-28T00:27:10.000Z","updated_at":"2024-11-10T11:25:53.000Z","dependencies_parsed_at":"2024-02-03T22:19:50.675Z","dependency_job_id":"4990b3d8-fbca-44b5-8bee-30c9b78291bf","html_url":"https://github.com/rgl/containerd-playground-vagrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fcontainerd-playground-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fcontainerd-playground-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fcontainerd-playground-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fcontainerd-playground-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/containerd-playground-vagrant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243547625,"owners_count":20308743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["containerd","linux","nerdctl","ubuntu","windows"],"created_at":"2024-10-04T18:22:10.456Z","updated_at":"2026-03-12T12:03:57.250Z","avatar_url":"https://github.com/rgl.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\r\n\r\nThis is a containerd on Ubuntu and Windows Server 2022 Vagrant environment for playing with Linux and Windows containers.\r\n\r\nFor Docker on Windows Server 2022 see the [rgl/docker-windows-2022-vagrant](https://github.com/rgl/docker-windows-2022-vagrant) repository.\r\n\r\n## Usage\r\n\r\nInstall the [Base Ubuntu 22.04 UEFI Box](https://github.com/rgl/ubuntu-vagrant).\r\n\r\nInstall the [Base Windows Server 2022 UEFI Box](https://github.com/rgl/windows-vagrant).\r\n\r\nInstall the required plugins:\r\n\r\n```bash\r\nvagrant plugin install vagrant-reload\r\n```\r\n\r\nThen launch the environment:\r\n\r\n```bash\r\nvagrant up --provider=libvirt --no-destroy-on-error --no-tty\r\n```\r\n\r\nEnter the `windows` virtual machine:\r\n\r\n```bash\r\nvagrant ssh windows\r\n```\r\n\r\nTest executing a `nanoserver` container with `ctr`:\r\n\r\n```powershell\r\nctr image pull mcr.microsoft.com/windows/nanoserver:ltsc2022\r\nctr run --cni --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 test cmd /c ver\r\nctr run --cni --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 test cmd /c set\r\nctr run --cni --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 test ipconfig /all\r\nctr run --cni --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 test curl https://httpbin.org/user-agent\r\n```\r\n\r\nTest executing a multi-platform image container with `ctr`:\r\n\r\n```powershell\r\nctr image pull docker.io/ruilopes/example-docker-buildx-go:v1.12.0\r\nctr run --cni --rm docker.io/ruilopes/example-docker-buildx-go:v1.12.0 test\r\n```\r\n\r\nTest executing a nanoserver container with `nerdctl`:\r\n\r\n```powershell\r\nnerdctl run --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c ver\r\nnerdctl run --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c set\r\nnerdctl run --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c ipconfig /all\r\nnerdctl run --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c curl https://httpbin.org/user-agent\r\n```\r\n\r\nTest executing a multi-platform image container with `nerdctl`:\r\n\r\n```powershell\r\nnerdctl run --rm ruilopes/example-docker-buildx-go:v1.12.0\r\n```\r\n\r\nExit the `windows` virtual machine:\r\n\r\n```powershell\r\nexit\r\n```\r\n\r\nList this repository dependencies (and which have newer versions):\r\n\r\n```bash\r\nexport GITHUB_COM_TOKEN='YOUR_GITHUB_PERSONAL_TOKEN'\r\n./renovate.sh\r\n```\r\n\r\nLint the source code:\r\n\r\n```bash\r\n./mega-linter.sh\r\n```\r\n\r\n## Caveats\r\n\r\n* There is no support for building Windows containers because `buildkitd` is not available for Windows.\r\n  * See [moby/buildkit#616](https://github.com/moby/buildkit/issues/616).\r\n* See [all the known nerdctl Windows Non-WSL2 issues](https://github.com/containerd/nerdctl/issues?q=state%3Aopen%20label%3Aplatform%2FWindows%2FNon-WSL2).\r\n\r\n## Troubleshoot\r\n\r\n* See the [Microsoft Troubleshooting guide](https://docs.microsoft.com/en-us/virtualization/windowscontainers/troubleshooting) and the [CleanupContainerHostNetworking](https://github.com/MicrosoftDocs/Virtualization-Documentation/tree/live/windows-server-container-tools/CleanupContainerHostNetworking) page.\r\n\r\n## References\r\n\r\n* [Tech Community Windows Server Containers News](https://techcommunity.microsoft.com/t5/containers/bg-p/Containers)\r\n* [Using Insider Container Images](https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/using-insider-container-images)\r\n* [Beyond \\ - the path to Windows and Linux parity in Docker (DockerCon 17)](https://www.youtube.com/watch?v=4ZY_4OeyJsw)\r\n* [The Internals Behind Bringing Docker \u0026 Containers to Windows (DockerCon 16)](https://www.youtube.com/watch?v=85nCF5S8Qok)\r\n* [Introducing the Host Compute Service](https://blogs.technet.microsoft.com/virtualization/2017/01/27/introducing-the-host-compute-service-hcs/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fcontainerd-playground-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fcontainerd-playground-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fcontainerd-playground-vagrant/lists"}