Copyright NOTICE: This article for Bo Master original article, welcome reprint, reprint Please indicate the author, original hyperlink, Bo main address: Http://blog.csdn.net/forezp. http://blog.csdn.net/forezp/article/details/70198649Directory (?) [+]
Reprint please indicate the source:http://blog.csdn.net/forezp/article/details/70198649This article is from Fang Zhibong's blog
First, Docker introductionDocker is an open-source engine tha
The goal of this paper is to implement ASP NET core-based practicesOperating Environment
Cent OS 7
VS Code
. NET Core
Cmder
Run Docker, set up the Docker image Accelerator, or the internal download image will be slow. To learn how to get started with Docker, you can refer to Docker e
One: Dockerfile, put Dockerfile and MyFolder in a directory:From httpd:2.4COPY. /myfolder/ /usr/local/apache2/htdocs//usr/local/apache2/-R Daemon:daemon Htdocs 755 htdocsTwo: Generate Image:Docker build-t ImageName. (Note the following points)Three: httpd Open is 80 port. Execution Container:Docker Run-p 9009:80 ImageNameFour: You can view the contents of the image :Docker PS | grep "9009" Found container ID is XxxidDocker exec-it Xxxid SHThen
0. Preface
Overall architecture directory: ASP. NET core distributed project-Directory
k8s Schema Catalog: Kubernetes (K8S) cluster deployment (K8S Enterprise Docker container cluster Management) series catalog
1. Deploy Master Components
The components of the master server are: Kube-apiserver, Kube-controller-manager, Kube-scheduler
So you need to download k8s master,:github.com/kubernetes/kubernetes/blob
technology developed by the company to run cloud services on thousands of servers. It is written in the Go language. The Go language is a static programming language developed by Google based on C language and with loose syntax. After six to nine months of rapid development, the company hired a new CEO, joined the Linux Foundation, and changed the company name to Docker, it also announced that it would focus on the development of
]~]# [[Emailprotected]~]#dockerrun-d-p5000:5000--name registryregistry:0.9.1e407b8224975bcfe47a93d63b52b8eae164ec7c0abae44d4c546796c99115b00[[email protected]~]#dockerps-aCONTAINERID IMAGE COMMAND CREATED STATUS PORTS namese407b8224975registry:0.9.1 "Docker-registry" aboutaminuteagoup59seconds 0.0.0.0:5000->5000/tcp registryInstallation of the 3.csphere Docker imageCurl-ssl-o/tmp/csphere-install.sh Https
ASP. NET Core develops a docker deployment, which supports Docker deployment operations. We run the ASP. NET Core deployment on Docker.You may have seen Docker, and today we'll look at Docker's purpose and real-world scenarios.Doc
0. PrefaceOverall architecture directory: ASP. NET core distributed project-Directoryk8s Schema Catalog: Kubernetes (K8S) cluster deployment (K8S Enterprise Docker container cluster Management) series catalogfirst, server settings1. Set the selinux of each server to disabledHow to set it up:Vi/etc/selinux/configWill selinux=disabled, then save, and then execute the command: Setenforce 0, make it effective.2
Why use Docker
One place to compile, to use everywhere
Easy migration, regardless of hosting environment
Environment and host isolation
Rapid deployment of the development environment
A very common scenario: after changing the computer, each time you need to reinstall the PHP development environment, wasting a lot of time. With Docker, y
At present, it seems that "do you want to continue integration ?" It is no longer the focus of discussion. Instead, it is "How to Implement continuous integration ?". In the previous article, I introduced the evolution of the continuous integration of the cruise team. Finally, we also mentioned the continuous deployment
80:80 Docker.io/nginx/bin/bash # for Nginx with ports and add commands to environment variablesDocker Pull hub.c.163.com/public/centos:7.0Docker run--name mydocker-t-i-p 80:80 Hub.c.163.com/public/centos/bin/bash# Enter container Docker attach container name or IDDocker Exec-ti Bc134155f262/bin/bash # Stop container Docker stop container name or id# remove all containers--cautiously use
Docker is a dock worker. When it becomes a technology, it is a dock worker. The official website describes it as follows: "Docker is a platform developed to build, publish, and run distributed applications for developers and system administrators." "In other words, if you liken your application to goods, the Dockers will quickly load them with containers," Docker
ASP. NET Core develops a docker deployment, which supports Docker deployment operations. We run the ASP. NET Core deployment on Docker.You may have seen Docker, and today we'll look at Docker's purpose and real-world scenarios.Doc
Docker in Ubuntu deployment practice Chszs, copyright, without consent, may not be reproduced. Blogger Home: Http://blog.csdn.net/chszsThis article describes the deployment process for Docker on Ubuntu systems. Among them, Ubuntu is 12.04.5 LTS, precise pangolin version.1. Installing
automation.
If there is no comparison there is no harm, if there is no automated continuous integration, the first contradiction point will focus on, Dev and ops, that is, one to change, one to be stable. For a service on-line release, testing, upgrade deployment is unavoidable, as OPS personnel often exist a scene is: Do not understand the business, the developer every step of the written clear Operation
This article focuses on the deployment of Ruby on Rails in Docker, Docker is the hottest virtual machine in the present, and the Ruby on Rails deployment described in this article takes advantage of the cool, automated approach of rake in Ruby, Need friends can refer to the following
Basic Rails Applications
Now let'
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.