Building Windows Docker images: Lambda-EC2 vs Docker Hub vs AWS ECR2019 Community Moderator ElectionBuilding Windows Containers with AWS CodeBuildHow does one remove an image in Docker?Where are Docker images stored on the host machine?How to copy Docker images from one host to another without using a repositoryHow to remove old and unused Docker imagesDocker: updating image and registryHow to build docker images on AWS EC2 Windows Server instance?Modifying Docker Images DirectlyDeploy docker image with TFS to AWS ECRBuilding Windows Containers with AWS CodeBuildBuilding Docker Images on Windows Server 2016

Writing text next to a table

How do I raise a figure (placed with wrapfig) to be flush with the top of a paragraph?

What should I do when a paper is published similar to my PhD thesis without citation?

Should we avoid writing fiction about historical events without extensive research?

Logistic regression BIC: what's the right N?

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

Having the player face themselves after the mid-game

I am the person who abides by rules, but breaks the rules. Who am I?

Is there a way to make cleveref distinguish two environments with the same counter?

Difference between `nmap local-IP-address` and `nmap localhost`

Graphic representation of a triangle using ArrayPlot

Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?

Is it possible to clone a polymorphic object without manually adding overridden clone method into each derived class in C++?

"If + would" conditional in present perfect tense

What is the purpose of a disclaimer like "this is not legal advice"?

How do I increase the number of TTY consoles?

Was it really inappropriate to write a pull request for the company I interviewed with?

Which country has more?

Can I negotiate a patent idea for a raise, under French law?

Is divide-by-zero a security vulnerability?

Strange opamp's output impedance in spice

The (Easy) Road to Code

Automaton recognizing ambiguously accepted words of another automaton

What does *dead* mean in *What do you mean, dead?*?



Building Windows Docker images: Lambda-EC2 vs Docker Hub vs AWS ECR



2019 Community Moderator ElectionBuilding Windows Containers with AWS CodeBuildHow does one remove an image in Docker?Where are Docker images stored on the host machine?How to copy Docker images from one host to another without using a repositoryHow to remove old and unused Docker imagesDocker: updating image and registryHow to build docker images on AWS EC2 Windows Server instance?Modifying Docker Images DirectlyDeploy docker image with TFS to AWS ECRBuilding Windows Containers with AWS CodeBuildBuilding Docker Images on Windows Server 2016










0















Problem



The problem is CodeBuild can not build windows Docker image. That happens due to the fact that CodeBuild is runing inside Docker container, and Microsoft does not support Docker inside Docker.



I know, not the first question about this topic, i.e. this. But I gonna suppose some alternatives to the standard workflow that looks like this.



Important: As I understand, Windows Docker image of Microsoft Server 2016 can be built only from Microsoft Server 2016 system/container.



Standard approach



  1. CodeBuild triggers Lambda

  2. Lambda launches image of EC2 with Docker

  3. EC2 instance pulls source code, build image from Dockerfile, push image to repo & trigger CodePipeline.

  4. CodePipeline deploys image

Quetions



Instead of implementing custom image-build step, we can use one of 3rd party solutions: Docker Hub or AWS ECR.



  1. Is AWS ECR able to build Docker images from Docker file? Is it possible to make builds on Microsoft Server 2016 system/container?

  2. Is Docker Hub able to build Docker images on Microsoft Server 2016 system/container?









share|improve this question
























  • Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

    – Gregory Suvalian
    Mar 6 at 13:37











  • @GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

    – VB_
    Mar 6 at 14:09











  • @GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

    – VB_
    Mar 6 at 14:18











  • Yes, it's hosted and provided by Microsoft

    – Gregory Suvalian
    Mar 6 at 14:26











  • @GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

    – VB_
    Mar 6 at 15:06















0















Problem



The problem is CodeBuild can not build windows Docker image. That happens due to the fact that CodeBuild is runing inside Docker container, and Microsoft does not support Docker inside Docker.



I know, not the first question about this topic, i.e. this. But I gonna suppose some alternatives to the standard workflow that looks like this.



Important: As I understand, Windows Docker image of Microsoft Server 2016 can be built only from Microsoft Server 2016 system/container.



Standard approach



  1. CodeBuild triggers Lambda

  2. Lambda launches image of EC2 with Docker

  3. EC2 instance pulls source code, build image from Dockerfile, push image to repo & trigger CodePipeline.

  4. CodePipeline deploys image

Quetions



Instead of implementing custom image-build step, we can use one of 3rd party solutions: Docker Hub or AWS ECR.



  1. Is AWS ECR able to build Docker images from Docker file? Is it possible to make builds on Microsoft Server 2016 system/container?

  2. Is Docker Hub able to build Docker images on Microsoft Server 2016 system/container?









share|improve this question
























  • Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

    – Gregory Suvalian
    Mar 6 at 13:37











  • @GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

    – VB_
    Mar 6 at 14:09











  • @GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

    – VB_
    Mar 6 at 14:18











  • Yes, it's hosted and provided by Microsoft

    – Gregory Suvalian
    Mar 6 at 14:26











  • @GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

    – VB_
    Mar 6 at 15:06













0












0








0








Problem



The problem is CodeBuild can not build windows Docker image. That happens due to the fact that CodeBuild is runing inside Docker container, and Microsoft does not support Docker inside Docker.



I know, not the first question about this topic, i.e. this. But I gonna suppose some alternatives to the standard workflow that looks like this.



Important: As I understand, Windows Docker image of Microsoft Server 2016 can be built only from Microsoft Server 2016 system/container.



Standard approach



  1. CodeBuild triggers Lambda

  2. Lambda launches image of EC2 with Docker

  3. EC2 instance pulls source code, build image from Dockerfile, push image to repo & trigger CodePipeline.

  4. CodePipeline deploys image

Quetions



Instead of implementing custom image-build step, we can use one of 3rd party solutions: Docker Hub or AWS ECR.



  1. Is AWS ECR able to build Docker images from Docker file? Is it possible to make builds on Microsoft Server 2016 system/container?

  2. Is Docker Hub able to build Docker images on Microsoft Server 2016 system/container?









share|improve this question
















Problem



The problem is CodeBuild can not build windows Docker image. That happens due to the fact that CodeBuild is runing inside Docker container, and Microsoft does not support Docker inside Docker.



I know, not the first question about this topic, i.e. this. But I gonna suppose some alternatives to the standard workflow that looks like this.



Important: As I understand, Windows Docker image of Microsoft Server 2016 can be built only from Microsoft Server 2016 system/container.



Standard approach



  1. CodeBuild triggers Lambda

  2. Lambda launches image of EC2 with Docker

  3. EC2 instance pulls source code, build image from Dockerfile, push image to repo & trigger CodePipeline.

  4. CodePipeline deploys image

Quetions



Instead of implementing custom image-build step, we can use one of 3rd party solutions: Docker Hub or AWS ECR.



  1. Is AWS ECR able to build Docker images from Docker file? Is it possible to make builds on Microsoft Server 2016 system/container?

  2. Is Docker Hub able to build Docker images on Microsoft Server 2016 system/container?






amazon-web-services docker dockerhub docker-windows amazon-ecr






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 6 at 13:30







VB_

















asked Mar 6 at 13:23









VB_VB_

19.2k2382167




19.2k2382167












  • Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

    – Gregory Suvalian
    Mar 6 at 13:37











  • @GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

    – VB_
    Mar 6 at 14:09











  • @GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

    – VB_
    Mar 6 at 14:18











  • Yes, it's hosted and provided by Microsoft

    – Gregory Suvalian
    Mar 6 at 14:26











  • @GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

    – VB_
    Mar 6 at 15:06

















  • Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

    – Gregory Suvalian
    Mar 6 at 13:37











  • @GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

    – VB_
    Mar 6 at 14:09











  • @GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

    – VB_
    Mar 6 at 14:18











  • Yes, it's hosted and provided by Microsoft

    – Gregory Suvalian
    Mar 6 at 14:26











  • @GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

    – VB_
    Mar 6 at 15:06
















Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

– Gregory Suvalian
Mar 6 at 13:37





Or you can just build in Azure Devops for free with free WIndows build agents and then upload to AWS ECR or Azure ACR

– Gregory Suvalian
Mar 6 at 13:37













@GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

– VB_
Mar 6 at 14:09





@GregorySuvalian could you please provide more details? I'm not DevOps, just developer that managing CI/CD. How could I call Azure Devops from CodePipeline? Does Azure support my requirement about Windows Server 2016? How much confings it will require?

– VB_
Mar 6 at 14:09













@GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

– VB_
Mar 6 at 14:18





@GregorySuvalian we are doing DevOps through CloudFormation. As I understand Azure DevOps will require configuring DevOps Pipeline outside of CloudFormation, right?

– VB_
Mar 6 at 14:18













Yes, it's hosted and provided by Microsoft

– Gregory Suvalian
Mar 6 at 14:26





Yes, it's hosted and provided by Microsoft

– Gregory Suvalian
Mar 6 at 14:26













@GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

– VB_
Mar 6 at 15:06





@GregorySuvalian sorry, not an option for us. Let it be within CoudFormation or require no or minimal configs

– VB_
Mar 6 at 15:06












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55024175%2fbuilding-windows-docker-images-lambda-ec2-vs-docker-hub-vs-aws-ecr%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55024175%2fbuilding-windows-docker-images-lambda-ec2-vs-docker-hub-vs-aws-ecr%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко