How to Install in a Windows Container ? #3103

Closed
opened 2025-11-02 05:00:48 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @FLeven on GitHub (Mar 26, 2019).

I already tried to run it in a Windows Container, but gitea will just Exit without any error logged, git client was up and running inside the Container.

Is a windows Container supported at all and is there any guidance how to do it right?

Originally created by @FLeven on GitHub (Mar 26, 2019). I already tried to run it in a Windows Container, but gitea will just Exit without any error logged, git client was up and running inside the Container. Is a windows Container supported at all and is there any guidance how to do it right?
Author
Owner

@lunny commented on GitHub (Mar 26, 2019):

Windows Container is not officially supported yet.

@lunny commented on GitHub (Mar 26, 2019): Windows Container is not officially supported yet.
Author
Owner

@FLeven commented on GitHub (Apr 28, 2020):

Will this be supported anytime soon ?

@FLeven commented on GitHub (Apr 28, 2020): Will this be supported anytime soon ?
Author
Owner

@alexanderadam commented on GitHub (May 5, 2020):

Probably only if there is some contributor who is willing to add a PR. But I guess for most users niche features like a Windows Container won't have any priority at all. Especially since it comes with the disadvantage that you have to pay for licensing stuff (for customers and builds). It is much easier to spin up some kind of GNU/Linux distribution in a Windows VM. Or maybe use the Linux Subsystem. Many modern development tools are natively running in *NIX environments anyway, so I guess it would make sense to have a Linux Subsystem/VM available for those cases.

So my guess is, that no Windows Container support will be available unless you add it.

@alexanderadam commented on GitHub (May 5, 2020): Probably only if there is some contributor who is willing to add a PR. But I guess for most users niche features like a Windows Container won't have any priority at all. Especially since it comes with the disadvantage that you have to pay for licensing stuff (for customers and builds). It is much easier to spin up some kind of GNU/Linux distribution in a Windows VM. Or maybe use the Linux Subsystem. Many modern development tools are natively running in *NIX environments anyway, so I guess it would make sense to have a Linux Subsystem/VM available for those cases. So my guess is, that no Windows Container support will be available unless _you_ add it.
Author
Owner

@lafriks commented on GitHub (May 5, 2020):

Also to build windows containers we would need windows server to run drone agent on

@lafriks commented on GitHub (May 5, 2020): Also to build windows containers we would need windows server to run drone agent on
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3103