Posts

Showing posts with the label Docker

Dockerize an ASP.NET Core Application

Image
Dockerize ASP.NET Core Application Overview In this article we are trying to run an Asp.Net Core Web application on containers using docker. We have an example to demonstrate how to dockerize an ASP.NET Core application in this post. What is ASP.NET Core? ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. With ASP.NET Core, you can: Build web apps and services, IoT apps, and mobile backends. Use your favorite development tools on Windows, macOS, and Linux. Deploy to the cloud or on-premises. Run on .NET Core or .NET Framework . What is docker? Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. Prerequisites We need an ASP.NET Core and Docker a...

How To Install Docker on Ubuntu 16.04

What is Docker? Docker is an application that makes it simple and easy to run application processes in a container, which are like virtual machines. What is a Container? Containers are a way to package software in a format that can run isolated on a shared operating system. Unlike VMs, containers do not bundle a full operating system - only libraries and settings required to make the software work are needed. This makes for efficient, lightweight, self-contained systems and guarantees that software will always run the same, regardless of where it’s deployed. Prerequisites To follow this tutorial, you will need the following: 64-bit Ubuntu 16.04 server Installing Docker To install docker from official docker repository, add the GPG key for the official Docker repository to the system: $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Add the Docker repository to APT sources: $ sudo add-apt-repository “deb [arch=amd64] https://download.d...