Setting up Sonatype Nexus 3 as your Windows Docker Container Registry
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
Currently I am working at Rabobank. Rabobank uses Sonatype Nexus as their artifact repository for all kinds of packages and also for Docker Containers. Since there are a few Microsoft .Net teams are moving towards Docker, the need for Docker containers arose as well. So we created a Windows Base container and tried to push this to the Nexus repository. But unfortunately, this threw an error. 58c642e95314: Skipped foreign layer 6c357baed9f5: Skipped foreign layer errors: blob unknown: blob unknown to registry blob unknown: blob unknown to registry In first instance I thought that it was that ..read more
Visit website
COPY failed when adding files to Docker container
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
This is a blogpost for myself. Because I don’t want to make the same stupid mistake again. And hopefully It might help you as well … I was preparing a demo to build a simple Docker Container. I used Visual Studio 2017 15.3 to create a new .NET Core Project, to which I added Docker Support. This gives me a Docker File within the .NET Core project and a Docker Project with some Docker-Compose files. But for reasons of simplicity I just wanted to build a Docker container with a published app, without the Docker-compose “magic”. The idea is to build and publish from the command line and then buil ..read more
Visit website
Running a Linux SQL Server in a Docker Container
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
I just reinstalled my PC and needed a database for some simple work. I did not like the idea of installing a full SQL Server on my PC. Too heavy and takes too long. The I remembered that Microsoft recently announced that they can run SQL Server on Linux and they even have a Docker Container for it. That seemed like a good idea to me. On my PC I have the “Docker for Windows” tools running. What this actually is, is a very small Linux machine running in Hyper-V that can run Docker Images. I opened my command line and typed docker search mssql The first image is the right one, so I pulled thi ..read more
Visit website
Running your ASP.NET Core application on Azure Container Service
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
While preparing for my Techdays session about “How ASP.NET Core and Docker will change the life of a Microsoft Developer” I was experimenting a bit with Azure Container Service and running my ASP.NET Core application on the ACS Cluster. Together with my colleague Alex Thissen and with some help of my Xebia Colleague Mark van Holsteijn I managed to set up a ACS cluster with DCOS. Within the cluster we use the Marathon Load Balancer (marathon-lb) to redirect the traffic within the cluster to the specific container, In this post I will describe a step by step to setup the ACS Cluster and run a si ..read more
Visit website
Set up a Windows Docker host in Azure and connect from your local computer
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
A while ago I blogged about how to set up a Docker host without Visual Studio. Now, half a year later things have changed and so have some steps. Yesterday I spun up a new Windows 2016 machine (CTP5) from the Azure gallery and (of course) it did not work as expected. Containers were already installed and were up and running, but I could not access it from my local machine. The steps described in this article on MSDN were already done. To validate if your Windows Server is correctly configured for containers, run the following command (on the server) docker search microsoft docker run microsof ..read more
Visit website
How Docker will change Microsoft Development
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
Two months ago we (Xpirit) published a new edition of our Xpirit Magazine. In this magazine I wrote an article on how Docker will change Microsoft Development. In this blog post you will find the introduction. If you want to read the whole article, you can download the PDF of the article here . If you want to read the rest of the magazine you can download the whole magazine or other separate articles here !The rest of this article Within the developer community, Microsoft has always been known for their great IDE, Visual Studio, and their development framework .NET. Together with products ..read more
Visit website
Running a VS Team Services (VSO) Build Agent in a Windows Docker Container
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
A while ago I wrote a post on how to run a Visual Studio Online (now called Visual Studio Team Services) Build Agent in a Docker Container on Linux. I got some good feedback on this post and now it is time to do the same trick again but only on Windows. Yes ! You read it correctly, a Docker Container on Windows !. Since Windows Server Core 2016 CTP 3, Docker is natively supported on the windows platform. We can run containers here the same way as we do on Linux. I have already did some pre-blogposting before this post so this post is more a wrap-up to finally run the agent in a Docker Containe ..read more
Visit website
Create a Windows Docker Host and connect to it without Visual Studio
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
I have been exploring Docker on Windows for a while because I think it is very promising that containers can run on the Windows platform as well. I’ve also written  a few posts already about Docker but this one is all about creating a Windows Docker Host on Azure and connect to it. Why does this deserve a blog post? Isn’t that next next finish and straightforward?? Unfortunately no. And that probably exactly why Microsoft created this extension for Visual Studio which does that for you. The extension in Visual Studio allows you to publish a ASP.NET 5 application to Docker. When choosing t ..read more
Visit website
Unattended install of a Visual Studio Team Services (a.k.a. VSO) Build Agent
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
A while ago I was looking at installing the VSTS build Agent on Linux and was searching for the possibility to uninstall it unattended. I was doing this because I wanted to run my agent in a Docker container and on startup I wanted to run a configured agent. I solved ths by using an expect file on Linux. Take a look at my post how I did this. Back then. There was no possibility for an unattended configuration in Windows as well. But as I was researching some stuff with the windows Build Agent, I found out that now there IS a possibility to configure the BuildAgent in script. I downloaded the l ..read more
Visit website
Presentation on Dutch Docker Day
The Road to ALM » Docker
by Rene van Osnabrugge
3y ago
Last Friday I did a talk on Dutch Docker Day. Together with my colleague Alex Thissen We talked about “Dockerizing your ASP.NET Application on Windows and Linux”. We showed how you can use ASP.NET 5 to run cross platform in a Linux Docker Container, on a Mac and in an Windows Docker Container. The presentation can be found here ! The video can be found here   Enjoy ..read more
Visit website

Follow The Road to ALM » Docker on FeedSpot

Continue with Google
Continue with Apple
OR