distribution-library-image icon indicating copy to clipboard operation
distribution-library-image copied to clipboard

Added Windows variants for v2.6.0

Open sixeyed opened this issue 7 years ago • 8 comments

Added Dockerfiles for building registry images running on Windows Nano Server and Windows Server Core. The binaries were built from v2.6.0 of docker/distribution using the local source for PR 2209.

Sample images are on the Hub as sixeyed/registry. The Windows Dockerfiles are good to be built as official images with this PR.

The update.sh changes rebuild the Windows binary in the same way that the Linux binary is built. That depends on PR 2209 so it is for future releases.

sixeyed avatar Mar 08 '17 14:03 sixeyed

/cc @jhowardmsft @aaronlehmann @shhsu @friism

sajayantony avatar May 17 '17 21:05 sajayantony

What's up @SajayAntony ?

friism avatar May 17 '17 21:05 friism

@friism do you know who can help review these?

sajayantony avatar May 17 '17 22:05 sajayantony

Bumped Windows versions, but this is still dependent on docker/distribution PR 2209.

sixeyed avatar May 17 '17 22:05 sixeyed

Sorry if this is the wrong place to raise these questions / concernes. Are there thoughts on how we can secure the .key file that we must mount into the container for SSL to work? If the registry service was compromised, we are worried that the private key could be stolen. On windows if you had to protect a certificate at rest (on disk) you would typically persist it as a passphrase protected pfx file. Otherwise it should be in the windows certificate store. However I am assuming that registry.exe doesn't integrate with the windows certificate store when running on windows? Is it possible to delete the .key file after the registry.exe has started (i.e is it loaded into memory and used from there for the duration) or does the .key file have to remain on disk whilst the registry.exe is running in order for SSL to work?

dazinator avatar May 03 '18 17:05 dazinator

Status? I'd like to use an official image on Windows

drnybble avatar Mar 20 '19 20:03 drnybble

Any progress on this ? When will have offcial windows image ?

John0King avatar Sep 06 '19 01:09 John0King

This would close #26.

AndreasHassing avatar Nov 25 '20 12:11 AndreasHassing