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

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved