Creating Your First Docker Container

Posted: September 27, 2016 in .NET, .NET Architecture, Docker, Docker Containers


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! 🙂

  1. […] Creating Your First Docker Container […]


Your Feedback is Welcome

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s