<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Docker on blog.ehn.nu</title><link>https://blog.ehn.nu/categories/docker/</link><description>Recent content in Docker on blog.ehn.nu</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 22 Apr 2020 14:46:16 +0000</lastBuildDate><atom:link href="https://blog.ehn.nu/categories/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Implementing Azure Container Registry Retention with Brigade</title><link>https://blog.ehn.nu/2020/04/implementing-azure-container-registry-retention-with-brigade/</link><pubDate>Wed, 22 Apr 2020 14:46:16 +0000</pubDate><guid>https://blog.ehn.nu/2020/04/implementing-azure-container-registry-retention-with-brigade/</guid><description>&lt;p&gt;If you are doing any work related to containers and Azure, you are most likely using &lt;a href="https://azure.microsoft.com/en-us/services/container-registry/"&gt;Azure Container Registry&lt;/a&gt; for storing images. The amoun of storage available for these images depends on the pricing tier you are using.&lt;br&gt;
If you exceed this amount of storage, you will pay an additional fee for every GB of image data that exceeds the limit. See the table below for the current pricing details.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Azure Container Registry pricing details&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>How Visual Studio 2019 supports containerized applications</title><link>https://blog.ehn.nu/2020/02/how-visual-studio-2019-supports-containerized-applications/</link><pubDate>Wed, 05 Feb 2020 15:37:34 +0000</pubDate><guid>https://blog.ehn.nu/2020/02/how-visual-studio-2019-supports-containerized-applications/</guid><description>&lt;p&gt;Visual Studio has for quite some time been adding features to make it easier to create, build, run and debug Dockerized applications.  This is great, because Docker can be quite daunting when you intially approach it and anything that makes that journey easier should be encouraged.&lt;/p&gt;
&lt;p&gt;However, with this tooling support comes some magic that is performed behind the scene when you hit F5 in Visual Studio. I have on numerous different occasions explained to developers what actually happens when you build and debug a Dockerized application in Visual Studio. With this post, I can send them here instead the next time 🙂&lt;/p&gt;</description></item><item><title>Getting started with Windows Containers in Azure Kubernetes Service</title><link>https://blog.ehn.nu/2019/06/getting-started-with-windows-containers-in-azure-kubernetes-service/</link><pubDate>Fri, 28 Jun 2019 14:12:04 +0000</pubDate><guid>https://blog.ehn.nu/2019/06/getting-started-with-windows-containers-in-azure-kubernetes-service/</guid><description>&lt;p&gt;Many of us have eagerly been waiting for the announcement that Microsoft made at the Build 2019 conference, Windows Containers is now in public preview in Azure Kubernetes Service! Yes, it’s in preview so we still have to wait before putting applications into production but it is definitely time to start planning and testing migrations of your Windows applications to AKS, such as full .NET Framework apps.&lt;/p&gt;
&lt;p&gt;Containers on Windows are still not as mature as on Linux of course, but they are fully supported on Windows and it is now GA on Kubernetes since version 1.14.&lt;/p&gt;</description></item><item><title>Running Windows Container Build Agents for Azure Pipelines</title><link>https://blog.ehn.nu/2019/06/running-windows-container-build-agents-for-azure-pipelines/</link><pubDate>Thu, 20 Jun 2019 10:29:39 +0000</pubDate><guid>https://blog.ehn.nu/2019/06/running-windows-container-build-agents-for-azure-pipelines/</guid><description>&lt;p&gt;In &lt;a href="https://blog.ehn.nu/2019/01/creating-a-windows-container-build-agent-for-azure-pipelines/"&gt;a previous post&lt;/a&gt; I talked about how to create a build environment, including an Azure DevOps build agent, using Docker and Windows Containers. Using Dockerfiles, we can specify everything that we need in order to build and test our projects. Docker gives us Infrastructure as Code (no more snowflake build servers) and isolation which makes it easy to spin up multiple agents quickly on one or more machines without interfering with each other.&lt;/p&gt;</description></item><item><title>Accessing Azure Artifacts feed in a Docker build</title><link>https://blog.ehn.nu/2019/05/accessing-azure-artifacts-feed-in-a-docker-build/</link><pubDate>Mon, 27 May 2019 20:48:39 +0000</pubDate><guid>https://blog.ehn.nu/2019/05/accessing-azure-artifacts-feed-in-a-docker-build/</guid><description>&lt;p&gt;I’ve recently given talks at conferences and user groups on the topic of using Docker as a build engine, describing the builds using a Dockerfile. This has several advantages, such as fully consistent build no matter where you run it, no dependencies necessary except Docker.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Image result for docker" loading="lazy" src="https://www.docker.com/sites/default/files/social/docker_facebook_share.png"&gt;&lt;/p&gt;
&lt;p&gt;Some things become a bit tricker though, &lt;a href="https://blog.ehn.nu/2019/01/running-net-core-unit-tests-with-docker-and-azure-pipelines/"&gt;I’ve blogged previously&lt;/a&gt; about how to run unit tests in a Docker build, including getting the test results out of the build container afterwards.&lt;/p&gt;</description></item><item><title>Creating a Windows Container Build Agent for Azure Pipelines</title><link>https://blog.ehn.nu/2019/01/creating-a-windows-container-build-agent-for-azure-pipelines/</link><pubDate>Fri, 18 Jan 2019 12:57:46 +0000</pubDate><guid>https://blog.ehn.nu/2019/01/creating-a-windows-container-build-agent-for-azure-pipelines/</guid><description>&lt;p&gt;Having automated builds that are stable and predictable is so important in order to succeed with CI/CD. One important practice to enable this is to have a fully scriptable build environment that lets you deploy multiple, identical, build envionment hosts. This can be done by using image tooling such as Packer from HahsiCorp. Another option is to use Docker which is what I am using in this post.&lt;/p&gt;
&lt;p&gt;Using Docker will will crete a Dockerfile that specifies the content of the image in which builds will run. This image should contain the SDK’s and tooling necessary to build and test your projects. It will also contain the build agent for your favourite CI server that will let you spin up a new agent in seconds using the docker image.&lt;/p&gt;</description></item></channel></rss>