Red Hat OpenShift 3 is a great technology that uses Docker Container and Kubernetes. The OpenShift 3 has evolved and gained a very good momentum since its launch in 2015. It uses a Git Repository to store the application source code and Docker registry to manage Docker Images.
Docker is software which lets you create an image (which is a lot like a template for a virtual machine) and then run instances of that image in a container.
Docker maintains a vast repository of images, called the Docker Hub, which you can use as starting points or as free storage for your own images. You can install Docker, choose an image you’d like to use, then run an instance of it in a container.
You can refer the installation guide to choose your platform, docs.docker.com/engine/installation.
Use this command:
docker run -it centos
After some processing, you’ll see a prompt like this:
root@719059da250d:/#
Try few other commands and then exit the container:
root@719059da250d:/# lsb_release -a
No LSB modules are available.
Distributor ID: Centos
Description: Centos 6.6
Release: 7.0
Codename: trusty
root@719059da250d:/# exit
With above commands, you will see is the bash shell of an isolated container running Centos, on your machine.
Here’s a diagram and a breakdown of what is the result of this Docker installation:
docker: run the dockerclient
run: the command to run a new container
-it: option to give the container an interactive terminal
centos: the image to base the container on
Red Hat OpenShift 3 has adopted Docker Commands which are accessible via a OpenShift Web Console and Command Line Tools and Interfaces. But, managing these tools and remembering the various commands using CLI’s need good expertise and training, which making it difficult for developers to use it.
The best solutions that address these constraints “Click2Cloud’s OpenShift 3, Docker Container and Kubernetes based Dev-Ops Extension for Microsoft Visual Studio 2015”
You can publish ASP.NET Application to Linux in 5 minutes with Docker Container and Kubernetes based DevOps Visual Studio 2015 Extension.
The One-Click-Solution from Click2Cloud allow developers to connect your various OpenShift 3 environments and deploy the applications in less than 3 seconds. This extension uses the Docker Hub to Pull & Push the Docker images and build the application.
Step 1 – Download and Install the extension from the Microsoft Visual Studio Gallery
Step 2 – Launch the extension and Sing-in to OpenShift 3 environment
Step 3 – Create Project, .Net application from custom templates or open existing project
Step 4 – View Webhook URL for the newly created application or for a running one and trigger a new build by sending a request to OpenShift API endpoint.
Step 5 – View Pod, Build Logs from OpenShift 3 and Start Build
Please Note: Users can use Click2Cloud’s ASP.NET 5.0 Docker builder image to create a .NET based application in OpenShift 3.
The ‘Docker Explorer’ is a feature developed by Click2Cloud for its ‘Visual Studio 2015 Extension that provides developer various functionalities within the Visual Studio IDE;
A search is performed only on the official Docker registry. If a user needs to download an image from a private registry, then the full specification of the image, including registry, needs to be made manually in the initial Wizard text box.
Building an Image takes an existing Image and modifies it to create a new Image. Typically, this involves installing new packages. The specification of the new Docker Image is done via a special file which is always named: “Dockerfile”. Clicking on the Build Image icon starts the Build Image Wizard:
Building an Image takes an existing Image and modifies it to create a new Image. Typically, this involves installing new packages. The specification of the new Docker Image is done via a special file which is always named: “Dockerfile”. Clicking on the Build Image icon starts the Build Image Wizard:
Docker Explorer View
So, go ahead and deploy this Extension from Microsoft Visual Studio Gallery
If you face any issue, please feel free to contact us @ contact@click2cloud.net or ring at +1 425-784-9666. We have a dedicated support team ready to help you.
To close on this note, we would like to discuss about Orchestration method used in the OpenShift 3 that is based on the Kubernetes technology. The Other Blog will give you more details.
Red Hat’s (Chris Morgen – Product Management Director) blogs explaining OpenShift2 and .Net integration;
And trying your hands on extensions at Microsoft Visual Studio Extension Gallery
USA Office:
Click2Cloud Inc. , Suite #05-143, 800 Bellevue Way NE Bellevue, WA, 98004, USA.
Phone: +1-425-784-9666
Email: contact@click2cloud.net
Website: https://www.click2cloud.com/
India Offices:
W-Building, C-Wing, 1st Floor, Central Facility, MIHAN, Dahegaon, Maharashtra 441108
B-wing 1006, The Platina, Gachibowli, Hyderabad - 500032
Phone: +91 7263985000/+91 9022932787
Email: contact@click2cloud.net
Website: https://www.click2cloud.com/
China Office:
No.401, Unit 8, Building 8, Area 5, HeYiDongLi, Fengtai District, Beijing, China, 100076
Email: contact@click2cloud.net
Website: https://www.click2cloud.com/