Server Core provides you with a minimal installation of Windows Server 2016 that supports installing only certain server roles.
Please note that we cannot monitor the comment section of each of the Microsoft container images.
For support or general questions, please post in our forum here:
License: By requesting and using this Container OS Image for Windows containers, you acknowledge, understand, and consent to the following Supplemental License Terms:
MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE TERMS
CONTAINER OS IMAGE
Microsoft Corporation (or based on where you live, one of its affiliates) (referenced as “us,” “we,” or “Microsoft”) licenses this Container OS Image supplement to you (“Supplement”). You are licensed to use this Supplement in conjunction with the underlying host operating system software (“Host Software”) solely to assist running the containers feature in the Host Software. The Host Software license terms apply to your use of the Supplement. You may not use it if you do not have a license for the Host Software. You may use this Supplement with each validly licensed copy of the Host Software.
ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS
Your use of the Supplement as specified in the preceding paragraph may result in the creation or modification of a container image (“Container Image”) that includes certain Supplement components. For clarity, a Container Image is separate and distinct from a virtual machine or virtual appliance image. Pursuant to these license terms, we grant you a restricted right to redistribute such Supplement components under the following conditions:
(i) you may use the Supplement components only as used in, and as a part of your Container Image,
(ii) you may use such Supplement components in your Container Image as long as you have significant primary functionality in your Container Image that is materially separate and distinct from the Supplement; and
(iii) you agree to include these license terms (or similar terms required by us or a hoster) with your Container Image to properly license the possible use of the Supplement components by your end-users.
We reserve all other rights not expressly granted herein.
By using this Supplement, you accept these terms. If you do not accept them, do not use this Supplement.
As part of the Supplemental License Terms for this Container OS Image for Windows containers, you are also subject to the underlying Windows Server host software license terms, which are located at: https://www.microsoft.com/en-us/useterms.
Sorry for the lack of response from our team!
We monitor our forum (https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowscontainers) and didn't think to look here for customer issues.
If you post there we respond within a few days. You can also raise issues in the github repos for our docs, post on StackOverflow or StackExchange (with the docker-for-windows or windows-containers tags) or post in the Docker forums.
How to install language pack?
I use DISM to install. command line: dism /online /add-package /packagepath:c:/host/lp.cab
Running to 100% return error 0x80070bc9 "The requested operation failed. A system reboot is required to roll back changes made."
How can i do?
When I run the following command:
Enable-WindowsOptionalFeature -Feature -Online Windows-Identity-Foundation
on a container based on windowsservercore, I get the following error:
Enable-WindowsOptionalFeature : Feature name Windows-Identity-Foundation is unknown.
This works on the same version of Windows 2016 Enterprise MSDN distribution. I'm assuming this is a feature decided to not include in WindowsServerCore. Does anyone know of a way to install it? All of the downloads either fail due to a certificate issue or says its not for this version of Windows.
@vcarluer it did help indeed !!
Even though I don't quite get why the fact that not being able to output something to the standard output make the entire binary not work.
Regardless of that I couldn't manage to use the docker anyway as I need the Windows 10 SDK and for some reason it just refuses to install itself. I couldn't find Windows Server 2016 listed as supported by the Windows 10 SDK, but it does not make any sense for it to not be supported.
Thanks for the help anyway ;)
Why is the image failing License Activation; if expected how do I activate it.
PS C:> Get-EventLog Application -EntryType Error
Index Time EntryType Source InstanceID Message
36 Apr 07 14:21 Error Software Protecti... 3221233670 License Activation (slui.exe) failed with the following error code:... 33 Apr 07 14:21 Error Software Protecti... 3221226513 Failed to collect hardware data. Error code 0xD0000034. 20 Mar 08 12:22 Error Software Protecti... 3221233670 License Activation (slui.exe) failed with the following error code:...
I need to install Windows Identity Foundation 3.5 in this container. But the feature is not listed when I run "Get-WindowsFeature" in Powershell.
@italogarcia There is an open bug for msys2 based program for Windows images: https://github.com/docker/for-win/issues/262
Spent hours to try to make it work.
My solution: fallback to msysgit based git program available here: https://github.com/msysgit/msysgit/releases
You will have password prompt for https.
set HOME=%USERPROFILE% to get ssh path to work properly.
Hope it will help.
The Crystal Reports runtime fails to install.
I'm starting with microsoft/dotnet-framework:3.5 since it needs the 3.5 framework.
Simply running the installer CRRuntime_64bit_13_0_19.msi a few errors occur towards the end and it aborts the install.
Has anyone been able to install the CR runtime in core?
I created a Docker container using this image and tried to install Git through many ways. All of them installed git under c:\Git. I I'm able to use git with certain limitations which are: I could not manage to authenticate(use private repo) in any way(https and/or ssh), also none of the binaries in C:\Git\usr\bin\ would work at all, they appear to be a bunch of 'nops'. Do you guys have any ideia why this is happening ?
If anyone is struggling with adding a secondary disk there is an old school half-way workaround to at least create another 'drive' letter on the container. Create a larger C: and use the subst command. Google psubst for a permanent fix, as this wont survive a reboot but may solve your initial problem without resorting to a mapped network drive. May not be useful but I needed a local E: for my use-case and this was enough to get me going at least.
subst e: c:\drive-e
If anyone can solve this one though let me know. Looks like I simply cannot use the container as it stands.
dism /online /enable-feature /featurename:IIS-NetFxExtensibility /All
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.