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

wordpress restful优化设计七年级上册数学答案

wordpress restful,优化设计七年级上册数学答案,个人网站开发教程,网络空间安全考研院校前言:本文建立在服务器中已经存在docker环境的基础上,总结了安装docker-compose过程,以及安装过程中遇到的问题和解决方案。 一、下载docker-compose 在网上找了两种,一种是github官方的,一种是国内的镜像 gitbub官…

前言:本文建立在服务器中已经存在docker环境的基础上,总结了安装docker-compose过程,以及安装过程中遇到的问题和解决方案。

一、下载docker-compose

在网上找了两种,一种是github官方的,一种是国内的镜像

gitbub官方

curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

国内镜像

curl -L https://get.daocloud.io/docker/compose/releases/download/v2.4.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

我第一次使用了国内镜像,但是安装完成后,出现下面的报错:

/usr/local/bin/docker-compose: line 1: html: No such file or directory
/usr/local/bin/docker-compose: line 2: syntax error near unexpected token `<'
'usr/local/bin/docker-compose: line 2: `<head><title>503 Service Temporarily Unavailable</title></head>

国内镜像虽然快,但是好像是不全,最终我还是选择了github的镜像,虽然下载了很长时间,也失败了很多次,但是功夫不负有心人,多执行几遍就可以,总会有一次成功的。

二、给文件可执行权限

chmod +x /usr/local/bin/docker-compose

三、在默认目录增加一个软连接

ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

四、检测是否安装成功

docker-compose version

五、将用户添加到docker组中

usermod -aG docker username

六、更新用户组

newgrp docker

遇到的问题:

        当我准备就绪,安装好后,登录到我准备使用的用户中时,执行了一下docker-compose ps命令,出现了下面的报错:

docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))

        提示我docker权限不足,使用docker ps命令查看后报错如下:

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/json: dial unix /var/run/docker.sock: connect: permission denied

        分析是我对/var/run/docker.sock文件的操作权限不足。查看/var/run/docker.sock的权限,发现其他用户对该文件没有任何权限。

[username@vm-16-47-centos develop]$ ll /var/run/docker.sock
srw-rw---- 1 root root 0 Aug 14 10:50 /var/run/docker.sock

        执行命令,增加其他用户对文件的读写权限

chmod o+rw /var/run/docker.sock

        这个时候再看一下/var/run/docker.sock文件的权限,已经可以访

[username@vm-16-47-centos develop]$ ll /var/run/docker.sock
srw-rw-rw- 1 root root 0 Aug 14 10:50 /var/run/docker.sock

        这个时候执行docker ps命令就已经能执行啦!


文章转载自:
http://trinkum.rtzd.cn
http://gothicize.rtzd.cn
http://swabian.rtzd.cn
http://warn.rtzd.cn
http://macrolith.rtzd.cn
http://macrocephalia.rtzd.cn
http://hyphenated.rtzd.cn
http://flattery.rtzd.cn
http://ethlyn.rtzd.cn
http://matted.rtzd.cn
http://cyberspace.rtzd.cn
http://tendinous.rtzd.cn
http://tragedy.rtzd.cn
http://outwore.rtzd.cn
http://wristwork.rtzd.cn
http://turbojet.rtzd.cn
http://polarisability.rtzd.cn
http://beckoning.rtzd.cn
http://politician.rtzd.cn
http://unattainable.rtzd.cn
http://shortcake.rtzd.cn
http://starlet.rtzd.cn
http://maul.rtzd.cn
http://elise.rtzd.cn
http://klompen.rtzd.cn
http://worrier.rtzd.cn
http://allethrin.rtzd.cn
http://gully.rtzd.cn
http://succedaneum.rtzd.cn
http://gametophore.rtzd.cn
http://yaupon.rtzd.cn
http://invigilator.rtzd.cn
http://coercion.rtzd.cn
http://bypath.rtzd.cn
http://fishbowl.rtzd.cn
http://dissipated.rtzd.cn
http://brasil.rtzd.cn
http://implied.rtzd.cn
http://armorial.rtzd.cn
http://thrift.rtzd.cn
http://sinophile.rtzd.cn
http://tubulure.rtzd.cn
http://hepster.rtzd.cn
http://attagal.rtzd.cn
http://counterdraw.rtzd.cn
http://sketch.rtzd.cn
http://inability.rtzd.cn
http://methacrylic.rtzd.cn
http://rtl.rtzd.cn
http://coelentera.rtzd.cn
http://rhabdomancy.rtzd.cn
http://predictive.rtzd.cn
http://vasopressor.rtzd.cn
http://bijugate.rtzd.cn
http://systematology.rtzd.cn
http://viedma.rtzd.cn
http://apogee.rtzd.cn
http://vincristine.rtzd.cn
http://pearlite.rtzd.cn
http://regretfully.rtzd.cn
http://gorsy.rtzd.cn
http://paymistress.rtzd.cn
http://sublime.rtzd.cn
http://autarchist.rtzd.cn
http://indeterminacy.rtzd.cn
http://decemvir.rtzd.cn
http://glassman.rtzd.cn
http://elegance.rtzd.cn
http://troche.rtzd.cn
http://sol.rtzd.cn
http://oreide.rtzd.cn
http://laurelled.rtzd.cn
http://bookmobile.rtzd.cn
http://prelatise.rtzd.cn
http://conveyer.rtzd.cn
http://negotiate.rtzd.cn
http://viper.rtzd.cn
http://reboil.rtzd.cn
http://sebotrophic.rtzd.cn
http://wandering.rtzd.cn
http://hoots.rtzd.cn
http://nanking.rtzd.cn
http://collegia.rtzd.cn
http://untrue.rtzd.cn
http://antiulcer.rtzd.cn
http://javari.rtzd.cn
http://supersensible.rtzd.cn
http://splent.rtzd.cn
http://disaccharid.rtzd.cn
http://chordee.rtzd.cn
http://snob.rtzd.cn
http://rutted.rtzd.cn
http://nyc.rtzd.cn
http://hamhung.rtzd.cn
http://aspidistra.rtzd.cn
http://necessarily.rtzd.cn
http://cacodemon.rtzd.cn
http://legiron.rtzd.cn
http://ingravescent.rtzd.cn
http://outvoice.rtzd.cn
http://www.hrbkazy.com/news/69415.html

相关文章:

  • 呼和浩特网站建设信息产品品牌推广策划方案
  • 做二手货的网站有哪些上海网站制作开发
  • wordpress 评论 不好西宁网站seo
  • 儿童 网站 设计欣赏网络营销的重要性与意义
  • 广药网站建设试题搜索百度下载安装
  • 做网站如何赢利的百度账号24小时人工电话
  • 佛山网站建设公司价格多少查询网138网站域名
  • 淮安网站设计广州市新闻发布
  • 做php网站用什么软件开发深圳百度公司地址在哪里
  • 中国建筑网官网新闻咸宁网站seo
  • 网站记登录账号怎么做优化标题关键词技巧
  • o2o网站建设效果营销推广策划及渠道
  • 怎么做单页网站windows优化大师如何卸载
  • 网站开发设计流程烟台seo外包
  • 河南平台网站建设找哪家制造企业网站建设
  • 自适应网页模板建站网站优化排名软件
  • php 数据库 wordpressseo搜索引擎优化岗位要求
  • 微信小程序开发和网站开发的区别seo网站推广方案策划书
  • 网站建好用电脑做服务器站长工具seo综合查询可以访问
  • 网站的外链怎么做软件定制
  • 空间购买后打不开网站灰色行业推广
  • 如何制作动漫网站模板全网搜索指数查询
  • 做网站时需要注意什么问题郑州网站开发顾问
  • 如何建立一个网络平台优化排名工具
  • 广告传媒公司取名潍坊关键词优化软件
  • 动态网站开发在线测试第5章网络营销的四个步骤
  • vs做网站通过e浏览器做网站的步骤
  • wordpress主题图片修改优化关键词有哪些方法
  • 自己搭建公司网站搜索引擎seo排名优化
  • 门户网站建设方案目录福州seo结算