Closed jviotti closed 4 years ago
I tried passing the -Update
option so get the Install-Package
function to print this line:
if($options.ContainsKey('Update'))
{
Write-Verbose "Updating the docker installation."
$update = $true
}
I guess its not even running the install function for some reason?
You cannot install Docker insider a Windows Container, the package installer will fail to start Docker service as the Containers feature cannot be installed inside a Windows Container. The only thing that could be teste if the install script theoretically would install the binaries, but I don't know if it's that what you want to do :-)
Thanks for the info! I'll close this issue then.
What prevents the Containers feature from being installed inside a Windows Container in more detail btw? Do you think this is something that might be supported at some point?
Also looking for this to be supported. Would love to be able to build our docker images inside a docker container that is running azure devops agent. This would simplify our pipeline setup a ton.
Mimicking a setup I have for GNU/Linux, I'm writing a Windows container whose task is to build and push other Windows containers. In order to do this, I'm trying to install Docker inside my Windows Server Core container.
I don't see any errors during the installation, but in fact no installation seems to be taking place for some reason. I think that the
Get-SourceList
function is executed, and then the installation successfully aborts, and I can't see Docker in Program Files as usual:What do you think? Am I missing something?