Azure / Azure/azure-quickstart-templates

The script works great (mostly) :-)

Open
#2,242 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

After lots of messing about yesterday trying to manually install and set up Windows containers on Azure, I was pleased to find the script at https://github.com/Azure/azure-quickstart-templates/tree/master/windows-server-containers-preview . The first part of the install went without a hitch. Towards the end it failed though with :-

C:\Windows\system32\update-containerhost.ps1 : Could not find a part of the path 'C:\ProgramData\docker\config\daemon.json'.
At C:\windos-containers.ps1:11 char:5
- .\update-containerhost.ps1
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,update-containerhost.ps1

Fortunately yesterday I'd come across (https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server).

I ran steps 2 and 4 and before the note about creating a rule in a Network Security Group I thought I'd cross my fingers and http to whatever.northeurope.cloudapp.azure.com.

SUCCESS!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with windows-containers.ps1 and update-containerhost.ps1, then inspect the reported failure involving C:\ProgramData\docker\config\daemon.json. Reproduce the Windows containers setup and compare the script flow with the documented manual steps. Done means the script completes without this missing-path error and the resulting container host is usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, docker, powershell
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.