Window docker image run cmd as Admin

ronkit 36 Reputation points
2022-07-05T08:43:13.54+00:00

Hi,

Trying to add Registry key inside current docker images.
But keep getting error mentioning Access Denied

217639-image.png

Any idea on this?

Thanks
Ron

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
387 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
635 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 16,971 Reputation points MVP
    2022-08-03T04:19:55.2+00:00

    Try the following way and see if it helps

    RUN cmd /k REG ADD "your key"  
    

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments