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

株洲网站建设 李食用油 网站 模板

株洲网站建设 李,食用油 网站 模板,做网站如何选择关键词,沈阳网站建设公众号3台主机,2台都能正确安装,第三台怎么都安装不成功; 3台主机都是一样的配置和系统; 后来看来是其外网的ip不一样,导致第三台主机可能被Qiang,不过错误只是提示签名不正确,在设置签名时好像没有…

3台主机,2台都能正确安装,第三台怎么都安装不成功;

3台主机都是一样的配置和系统;

后来看来是其外网的ip不一样,导致第三台主机可能被Qiang,不过错误只是提示签名不正确,在设置签名时好像没有提示错误,只是在apt update时报错。

后改为阿里的源安装成功了。

以下安装参考(Ubuntu 20.04安装Docker - 知乎)

切换阿里云镜像源安装Docker

1、卸载可能存在的或者为安装成功的Docker版本

sudo apt-get remove docker docker-engine docker-ce docker.io

2、添加阿里云的GPG密钥

curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - 

3、使用以下命令设置存储库

sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" 

4、安装最新版本的Docker(飞速安装)

sudo apt-get update  sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin 

5、验证Docker是否安装成功

-- 查看docker 版本docker version 

启动Docker

1、安装完成后,运行如下命令验证 Docker 服务是否在运行

systemctl status docker 

未运行:

2、运行以下命令启动Docker服务

sudo systemctl start docker

3、设置Docker服务在每次开机时自动启动

sudo systemctl enable docker

4、查看docker运行状态

systemctl status docker 

验证Docker是否运行正常

注意:执行下面的命令会下载一个Docker测试镜像,并在容器中执行一个“hello-world”样例程序。

sudo docker run hello-world 

如果你看到类似下方的输出,那么祝贺你,Docker能够正常运行在你的Ubuntu系统中了。

ubuntu@VM-16-10-ubuntu:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete 
Digest: sha256:53f1bbee2f52c39e41682ee1d388285290c5c8a76cc92b42687eecf38e0af3f0
Status: Downloaded newer image for hello-world:latestHello from Docker!
This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:1. The Docker client contacted the Docker daemon.2. The Docker daemon pulled the "hello-world" image from the Docker Hub.(amd64)3. The Docker daemon created a new container from that image which runs theexecutable that produces the output you are currently reading.4. The Docker daemon streamed that output to the Docker client, which sent itto your terminal.To try something more ambitious, you can run an Ubuntu container with:$ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID:https://hub.docker.com/For more examples and ideas, visit:https://docs.docker.com/get-started/

http://www.dtcms.com/a/401118.html

相关文章:

  • 美妆网站设计成都广告公司排行榜
  • 做网站前台用什么问题网站运营维护工作内容
  • C++第十篇:const关键字
  • 在哪个网站去租地方做收废站东莞做网站乐云seo
  • 网站关键词优化办法蘑菇头表情包制作网站
  • 网站服务器安全部署微信微官网如何制作
  • PD26虚拟机安装【2025最新】
  • 网站开发 软文做网站的软件有些什么
  • 大连网站建设 选领超科技wordpress目录权限设置密码
  • 阳江房产网站叮当设计网站
  • 做网站前台要学什么课程dw网页设计代码免费
  • 勤哲网站开发视频个人网站主页html5
  • 网站建设 今网科技极简wordpress主题、
  • 潍坊公司注册网站长治seo顾问
  • iis7.5部署网站招聘网站有哪些平台
  • 做营销型网站用什么技术微信公众号优惠劵网站怎么做的
  • 做公司网站开发的公司免费看舆情网站
  • 随州公司做网站深圳罗湖住房和建设局网站官网
  • 网站开发及app开发公司南昌网站优化
  • 中国建设银行网站签名通下载工信部企业网站备案
  • ps企业网站模板苏州建设网站制作
  • 温州网站建设制作泉州市住房和乡村建设网站
  • 免费源码资源站wordpress 数据库配置错误
  • 下载类网站开发条件营销网络的建设怎么写
  • 华为网站建设官网成都网站建设联系电话
  • 单页网站制作工具抖音小程序在哪里打开
  • 广东网站建设微信商城运营做网站编程用什么语言好
  • 响应式门户网站模板下载网龙网络公司简介
  • 衡阳网站优化公司ai建站工具
  • 河南专业网站建设公司哪家好广西百度seo