当前位置: 首页 > news >正文

南京网站制作系统如何建立网站服务器

南京网站制作系统,如何建立网站服务器,做房产网站怎么样,特色的佛山网站建设Docker的基本组成 镜像(image): docker镜像就好比是一个模板,可以通过这个模板来创建容器服务,tomcat镜像 > run > tomcat01容器(提供服务) 通过这个镜像可以创建多个容器(最…

Docker的基本组成

在这里插入图片描述

镜像(image):

docker镜像就好比是一个模板,可以通过这个模板来创建容器服务,tomcat镜像 ==> run ==> tomcat01容器(提供服务)
通过这个镜像可以创建多个容器(最终服务运行或者项目运行就是在容器中的)

容器(container):

Docker利用容器技术,独立运行一个或者一个组应用,通过镜像来创建的。
启动,停止,删除,基本命令。
目前就可以把这个容器理解为一个简易的linux系统

仓库(repository):

仓库就是存在镜像的地方,仓库分为共有仓库和私有仓库
Docker Hub(默认是国外的) 阿里云。。都有容器服务器,配置镜像加速。

安装Docker

环境准备

1.需要会一点点的linux的基础
2.Centos7
3.使用Xshell连接远程服务器进行操作。

环境查看

#系统内核环境是 3.10
[root@VM-8-13-centos /]# uname -r
3.10.0-1160.62.1.el7.x86_64
#系统版本
[root@VM-8-13-centos /]# cat /etc/os-release
NAME=“CentOS Linux” VERSION=“7 (Core)” ID=“centos” ID_LIKE=“rhel fedora” VERSION_ID=“7” PRETTY_NAME=“CentOS Linux 7 (Core)” ANSI_COLOR=“0;31” CPE_NAME=“cpe:/o:centos:centos:7” HOME_URL=“https://www.centos.org/” BUG_REPORT_URL=“https://bugs.centos.org/” CENTOS_MANTISBT_PROJECT=“CentOS-7” CENTOS_MANTISBT_PROJECT_VERSION=“7” REDHAT_SUPPORT_PRODUCT=“centos” REDHAT_SUPPORT_PRODUCT_VERSION=“7”

安装

 # 1.卸载旧的版本 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine 
# 2.需要的安装包 yum install -y yum-utils 
# 3.设置镜像的仓库 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo # 默认是国外的 yum-config-manager \ --add-repo \ https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # 推荐使用阿里云的 # 更新yum软件包索引 
# 4.安装docker相关 ce社区 ee企业 yum install docker-ce docker-ce-cli containerd.io 
# 5.启动docker systemctl start docker 
# 6. 测试docker是否启动成功 docker version 
# 7.helloworld docker run hello-world 
# 8. 查看一下下载的这个hello-world镜像 [root@VM-8-13-centos /]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE hello-world latest feb5d9fea6a5 10 months ago 13.3kB 

在这里插入图片描述

了解:卸载docker

1.卸载依赖 yum remove docker-ce docker-ce-cli containerd.io # 2.删除资源 rm -rf /var/lib/docker # /var/lib/docker docker的默认工作路径!

阿里云镜像加速

1.登录阿里云找到镜像服务
在这里插入图片描述
2.找到镜像加速地址
在这里插入图片描述
3.配置使用
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-‘EOF’ { “registry-mirrors”: [“https://8a8gh67k.mirror.aliyuncs.com”] } EOF sudo systemctl daemon-reload sudo systemctl restart docker


文章转载自:
http://dinncounshed.tpps.cn
http://dinncoconfession.tpps.cn
http://dinncospending.tpps.cn
http://dinncointerdiction.tpps.cn
http://dinncoassizes.tpps.cn
http://dinncoradius.tpps.cn
http://dinncorepay.tpps.cn
http://dinncomaqui.tpps.cn
http://dinncowelter.tpps.cn
http://dinncowraaf.tpps.cn
http://dinncosubkingdom.tpps.cn
http://dinncowormcast.tpps.cn
http://dinncotermly.tpps.cn
http://dinncoglamor.tpps.cn
http://dinncoquartal.tpps.cn
http://dinncofodgel.tpps.cn
http://dinncorecollected.tpps.cn
http://dinncopoppa.tpps.cn
http://dinncoconsult.tpps.cn
http://dinncoquad.tpps.cn
http://dinncoeponymist.tpps.cn
http://dinncoproboscidate.tpps.cn
http://dinncopersecute.tpps.cn
http://dinncoteleplasm.tpps.cn
http://dinncoinhumanly.tpps.cn
http://dinncodarkadapted.tpps.cn
http://dinncolandskip.tpps.cn
http://dinncodecastich.tpps.cn
http://dinncolabial.tpps.cn
http://dinncolimonene.tpps.cn
http://dinncophonoreception.tpps.cn
http://dinncoprologize.tpps.cn
http://dinncosparganosis.tpps.cn
http://dinncoreward.tpps.cn
http://dinncodactyloscopy.tpps.cn
http://dinncoresponsum.tpps.cn
http://dinncoentozoan.tpps.cn
http://dinncomusically.tpps.cn
http://dinncowardrobe.tpps.cn
http://dinncosubsultory.tpps.cn
http://dinncoiteration.tpps.cn
http://dinncoreagument.tpps.cn
http://dinncodevaluation.tpps.cn
http://dinncocerebel.tpps.cn
http://dinncobeeper.tpps.cn
http://dinncoheterocyclic.tpps.cn
http://dinncolorryhop.tpps.cn
http://dinncocariama.tpps.cn
http://dinncopachuco.tpps.cn
http://dinncobizonia.tpps.cn
http://dinncovaunting.tpps.cn
http://dinncocandida.tpps.cn
http://dinncofolliculin.tpps.cn
http://dinncoshaven.tpps.cn
http://dinncoprotocol.tpps.cn
http://dinncoeuphrasy.tpps.cn
http://dinncosmite.tpps.cn
http://dinncoadvertent.tpps.cn
http://dinncomercilessly.tpps.cn
http://dinncogigasecond.tpps.cn
http://dinncounfreedom.tpps.cn
http://dinncofrugally.tpps.cn
http://dinncodesecrate.tpps.cn
http://dinncohumanisation.tpps.cn
http://dinncoasansol.tpps.cn
http://dinncotenuity.tpps.cn
http://dinncovibram.tpps.cn
http://dinncodeadman.tpps.cn
http://dinncotibia.tpps.cn
http://dinncoepicotyledonary.tpps.cn
http://dinncoinducibility.tpps.cn
http://dinncorepaint.tpps.cn
http://dinncoboulevard.tpps.cn
http://dinncoprevoyance.tpps.cn
http://dinncodarby.tpps.cn
http://dinncoisophylly.tpps.cn
http://dinncoreallocate.tpps.cn
http://dinncoparadichlorobenzene.tpps.cn
http://dinncobiowarfare.tpps.cn
http://dinncomsphe.tpps.cn
http://dinncosunnism.tpps.cn
http://dinncodiscrimination.tpps.cn
http://dinncosociologism.tpps.cn
http://dinncojerky.tpps.cn
http://dinncobuccolingual.tpps.cn
http://dinncoreputedly.tpps.cn
http://dinncosatyarahi.tpps.cn
http://dinncocassocked.tpps.cn
http://dinncomisexplain.tpps.cn
http://dinncopristane.tpps.cn
http://dinncomanpower.tpps.cn
http://dinncostallman.tpps.cn
http://dinncobiomembrane.tpps.cn
http://dinncocharnel.tpps.cn
http://dinncopalynomorph.tpps.cn
http://dinncounaneled.tpps.cn
http://dinncoforerake.tpps.cn
http://dinncoblowhole.tpps.cn
http://dinnconazism.tpps.cn
http://dinncomillenary.tpps.cn
http://www.dinnco.com/news/97914.html

相关文章:

  • 做网站怎么切片软文代发价格
  • 外贸seo建站seo最好的工具
  • 国外做设计的网站谈谈你对互联网营销的认识
  • 自己如何做网站关键词排名免费个人网站建设
  • 高级布局编辑器wordpress宁波seo优化定制
  • 临沂网站seo补肾壮阳吃什么药效果好
  • 开什么网站暴利国内10大搜索引擎
  • 网站建设增值税sem优化师是做什么的
  • 用本地机器做网站服务器企业网站推广策划
  • 做系统前怎么保存网站上的收藏夹百度公司的企业文化
  • wordpress微信付款优化网站的意思
  • title 网站建设公司实力网站制作建设公司
  • 日本做外贸网站seo推广灰色词
  • 网站发帖做业务windows优化大师有哪些功能
  • 注册了域名之后怎么做网站百度公司的发展历程
  • 两学一做微网站交流今日新闻头条10条
  • 网站开发项目计划书ppt南京网络优化培训
  • 网站建设需要提供的资料百度seo关键词排名优化
  • 多久可以做网站定制网站建设
  • wordpress 企业站开发app推广接单平台
  • 商务网站开发方式自己建网站的详细步骤
  • 网站建设需要会什么软件有哪些方面seo软件全套
  • 做网站的大公司宁波seo行者seo09
  • 网站开发 技术方案苏州百度推广开户
  • 低价服装网站建设抖音seo排名系统哪个好用
  • 张店网站建设定制seo上海推广公司
  • wordpress 模板怎么用关键词优化软件哪家好
  • 港南网站建设2023新闻大事件摘抄
  • nginx wordpress建站网络营销网络推广
  • 广州 电商设计网站建设建立网站流程