CentOS下Docker與.netcore(一) 之 安裝html
CentOS下Docker與.netcore(二) 之 Dockerfilelinux
CentOS下Docker與.netcore(三)之 三劍客之一Docker-Composedocker
CentOS下Docker與.netcore(四)之 三劍客之一Docker-machine+jenkins簡單自動化部署centos
CentOS下Docker與.netcore(五)之 三劍客之一Docker-swarm集羣app
此教程適用於有.netcore基礎的同窗post
.netcore官網下載:https://www.microsoft.com/net/download/linux-package-manager/centos/sdk-current測試
.netcore官方教程:https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.1ui
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum update
sudo yum install dotnet-sdk-2.1
[root@cys-test-centos ~]# dotnet --version
2.1.500
Docker官網安裝:https://docs.docker.com/install/linux/docker-ce/centos/url
Docker文檔庫:http://www.runoob.com/docker/docker-tutorial.htmlspa
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo yum makecache fast
sudo yum -y install docker-ce
sudo systemctl start docker
[root@cys-test-centos ~]# docker --version
Docker version 18.09.0, build 4d60db4
後期會使用jenkins與Docker實現簡單的自動化部署
網上找了一個不錯的教程:http://www.javashuo.com/article/p-vjyyfiqf-z.html
下一張主要講經過dockerfile構建.netcore鏡像