By: Cole Francis, Architect
Before you can try out the .NET Core Docker base images, you need to install Docker. Let’s begin by installing Docker for Windows.
Once Docker is successfully installed, you’ll see the following dialog box appear.
Next, run a PowerShell command window in Administrator mode, and install the .NET Core by running the following Docker command.
Once the download is complete, you’ll see some pertinent status information about the download attempt.
Finally, run the following commands to create your very first “Hello World” Container. Albeit, it’s not very exciting, but it is running the Container along with the ToolChain, which were pulled down from Microsoft’s Docker Hub in just a matter of seconds.
Finally, to prove that .NetCore is successfully installed, compile and run the following code from the command line.
Congratulations! You’ve created your first Docker Container, and it only took a couple of minutes.
Thanks for reading and keep on coding! 🙂
[…] Creating Your First Docker Container […]
LikeLike