The difference between Docker and Kubernetes Docker

Source: Internet
Author: User
Tags docker hub docker run kubernetes docker install redis

Before the company's test environment, just start to build their own virtual machine, and then install Redis,nginx,mq,mysql,tomcat,jdk,marven, and Jekins. The front is still good, jekins is still a bit troublesome. And then after the mirror out, switch to another platform, a different IP, do a test environment alone. Then every time you deploy, connect to the Linux server via SSH, kill-9, then back up, restart the server, Fight the war pack, really upset people. Later with the Jekins, the development environment release deployment on the random, testing. It feels very convenient.
Recently the company started using microservices, distributed, big data and so on. So using Docker to use microservices as a separate container, and then run it alone, and then also found, regardless of nginx,redis,mysql, or Hadop and so on. For Docker is a mode, download the Docker image, run a bit, OK. Really is pierced, learn a trick to taste all over the sky.
Because I am also just contact Docker (before the micro-service project should also use Docker, but no direct contact), the introduction is not in place for you forgive me.
Docker hub

1. First you need to apply for an account at the Docker hub so that many of the Docker images can be downloaded from the Docker hub, which is the equivalent of a central warehouse
Image.png

Docker Guide
Can see a CentOS Docker installation and Docker install MySQL
After Docker is installed, you can download the MySQL image from the Docker hub using Docker pull MySQL and then install it with Docker images |grep MySQL
Then run the container: Docker run-p 3306:3306--name mymysql-v pwd/logs:/logs-v $PW
This is when running Docker run with MySQL password, name, and logs log, etc.

2.docker was used. Put Docker on the corresponding array machine, how to solve the problem of the array machine and Docker network access, usually Docker mapped to its array machine, and then the array machine and the group of machines may be accessed through the LAN, and then Docker between the LAN access, Kubernetes Docker solves the obstacles to Docker clustering and network access everywhere. There's also a load balancer, and it really blew up.

How to obtain Kubernetes image in China

The difference between Docker and Kubernetes Docker

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.