click2cloud-page-loader

Click2Cloud Docker Extension for Visual Studio IDE integration with Alibaba Cloud Services

04-Jan, 2018
click2cloud blogs- Click2Cloud Docker Extension for Visual Studio IDE integration with Alibaba Cloud Services

Click2Cloud Docker Toolkit for Visual Studio is an application platform that allows a user to manage Docker Images and Containers with similar functionality found in the command-line Docker command.

What is Docker?

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, and then run an instance of it as a container.

How to Install a Docker?

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 the bash shell of an isolated container running Centos on your machine.

Here’s a diagram and a breakdown of the result of this Docker installation:

Docker installation-Click2Cloud

  1. First, we issue a Dockercommand:
    • 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
  2. Then the Docker service runs on the host (i.e. our machine) to check if we have a copy of the requested image locally.
  3. Then the Docker service check the public registry (the Docker hub) to see if there’s an image named Centos available- which there is.
  4. The Docker service downloads the image and stores it in its local cache of images (ready for next time).
  5. The Docker service creates a new container, based on the centos.

Accessibility constraints with Docker

Click2Cloud Docker Toolkit for Visual Studio 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 is making it difficult for developers to use it.

The best solutions

The best solutions that address these constraints is our Click2Cloud Visual Studio IDE Extension for Docker.

You can publish .Net Application to Linux in 5 minutes with Click2Cloud Docker Toolkit for Visual Studio.

The Visual Studio Docker explorer plugin can easily connect to any Docker machine running on the cloud with a pre-requisite as that machine should be created without error and once the connection creates we will be able to perform the rest of the operations. This extension uses the Docker Hub to Pull & Push the Docker images and build the application.

5 Step Installation of Click2Cloud Docker Visual Studio Extension and Integration with Alibaba Cloud Services

1. Download the Click2Cloud Docker Toolkit for Visual Studio from Visual Studio Gallery

2. Launch the extension and Sign-in to Alibaba Cloud environment

Sign-in to Alibaba Cloud environment-Click2Cloud

Click2Cloud connect to docker engine

3.Pull Image from the registry.

search the docker registry for images click2cloud

4. Run the pulled image.

pull an image or a repository from the registry

Docker container settings-Click2Cloud-

5.View logs and build the required image

Docker logs

What is Docker Explorer?

The Docker Explorer is a feature developed by Click2Cloud for Visual studio that provides developer various functionalities within the platform;

Searching of Docker Images on the fly from Docker Hub 

What is Docker Explorer?

  • Port forwarding
  • Running Containers on Local Host
  • Managing Containers; Start, Stop, Restart, Kill Containers
  • Pulling Docker Images on the Local Docker Server
  • Running Docker Images
  • Pushing Local Docker Images on Docker Hub
  • Build Own Docker Images and Pushing to Docker Hub

Building a Docker Image requires an existing Image to create a new Docker Image. Typically, this involves installing new packages in the existing image. 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 image build configuration

Docker Explorer View

Docker Explorer View

So, go ahead and deploy this Extension. If you face any issues, please feel free to contact us at contact@click2cloud.net. We have a dedicated support team ready to help you.

Contacts Us

  USA Office:

locationClick2Cloud 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:

Nagpur

locationPlot No. 21, Premier Technology Group, Third Floor, I.T Park Road, Parsodi, Nagpur - 440022(MS)

Hyderabad

locationB-wing 1006, The Platina, Gachibowli, Hyderabad - 500032

Phone: +91 7263985000/+91 9022932787

Email: contact@click2cloud.net 

Website: https://www.click2cloud.com/

 

  China Office:

 

locationNo.401, Unit 8, Building 8, Area 5, HeYiDongLi, Fengtai District, Beijing, China, 100076

Ph: +86 173 4656 0417

Email: contact@click2cloud.net

Website: https://www.click2cloud.com/

Posted in OpenShift 3

canada-flag   Canada

location2806 Bloor Street West, Toronto, ON M5S 0B1

Phone: +1 425 748 9666

Email:  contact@click2cloud.net

 

quatar-flag   Qatar

locationOffice No. 121-122Cowork06, Building Number 67 - Regus Doha Dring Building, Street 250 - DRing Road, Zone 45 - Old Airport,PO Box 32522, Doha, Qatar

Phone: +974 4423 1210

quatar-flag   Singapore

location7 Temasek Boulevard, #12-07, Suntec Tower One, Singapore 038987

hongkong-flag   Hong Kong

locationNo 5, 17/f, strand 50 50 Bonham Strand, Sheung wan, Hong Kong

 

 

Recent Posts

click2Cloud docker extension for Visual Studio IDE integration with Alibaba Cloud Services application platform to manage Docker Images and Containers how to install docker accessibility constraints with docker Visual Studio IDE Extension for Docker