草庐IT

cannot connect to the docker daemon at unix ///var/run/docker.sock. Is the docker daemon running?

可以先试试这种方式:https://blog.csdn.net/Ber_Bai/article/details/116044628记录一次服务器问题解决。系统:CentOS问题:服务器重启后,docker的容器挂了,运行命令dockerps,提示:cannotconnecttothedockerdaemonatunix///var/run/docker.sock.Isthedockerdaemonrunning?先说解决方案:启动dockerdaemon:执行命令dockerd记录下排查问题的过程:执行systemctlrestartdocker重启服务,命令行卡住不动执行systemctls

cannot connect to the docker daemon at unix ///var/run/docker.sock. Is the docker daemon running?

可以先试试这种方式:https://blog.csdn.net/Ber_Bai/article/details/116044628记录一次服务器问题解决。系统:CentOS问题:服务器重启后,docker的容器挂了,运行命令dockerps,提示:cannotconnecttothedockerdaemonatunix///var/run/docker.sock.Isthedockerdaemonrunning?先说解决方案:启动dockerdaemon:执行命令dockerd记录下排查问题的过程:执行systemctlrestartdocker重启服务,命令行卡住不动执行systemctls

解决Error response from daemon: Get “https://registry-1.docker.io/v2/“: read: connection refused问题

在用docker容器下载rabbitmq时出现报错如下Errorresponsefromdaemon:Get“https://registry-1.docker.io/v2/”:dialtcp:lookupregistry-1.docker.ioon[::1]:53:readudp[::1]:50086->[::1]:53:read:connectionrefused因为之前用docker下载过redis,mysql,nginx都没出现过问题,这次下载消息队列中间件却出现问题当我pingIP地址的时候可以ping通,但是ping域名却不可以。上网搜了好多答案,大多说是由于dns服务器没有配置导

解决Error response from daemon: Get “https://registry-1.docker.io/v2/“: read: connection refused问题

在用docker容器下载rabbitmq时出现报错如下Errorresponsefromdaemon:Get“https://registry-1.docker.io/v2/”:dialtcp:lookupregistry-1.docker.ioon[::1]:53:readudp[::1]:50086->[::1]:53:read:connectionrefused因为之前用docker下载过redis,mysql,nginx都没出现过问题,这次下载消息队列中间件却出现问题当我pingIP地址的时候可以ping通,但是ping域名却不可以。上网搜了好多答案,大多说是由于dns服务器没有配置导

ubuntu下docker: Error response from daemon: could not select device driver with capabilities: [[gpu]]

前言第一次遇到这个问题时,是运行这个命令,报如下错误,运行:sudodockerrun--rm--gpus=allnvidia/cuda:10.0-base报错:docker:Errorresponsefromdaemon:couldnotselectdevicedriver""withcapabilities:[[gpu]].然后我参考这篇文章docker:Errorresponsefromdaemon:couldnotselectdevicedriver““withcapabilities:[[gpu]]问题解决_"docker:errorresponsefromdaemon:couldn

ubuntu下docker: Error response from daemon: could not select device driver with capabilities: [[gpu]]

前言第一次遇到这个问题时,是运行这个命令,报如下错误,运行:sudodockerrun--rm--gpus=allnvidia/cuda:10.0-base报错:docker:Errorresponsefromdaemon:couldnotselectdevicedriver""withcapabilities:[[gpu]].然后我参考这篇文章docker:Errorresponsefromdaemon:couldnotselectdevicedriver““withcapabilities:[[gpu]]问题解决_"docker:errorresponsefromdaemon:couldn

创建spring boot项目中出现:Unable to start the daemon process.以及正确创建spring boot项目

创建springboot项目中出现:Unabletostartthedaemonprocess.以及正确创建springboot项目原因是创建项目中一个设置默认错误以下是错误的❌把上述的选项改为:这样才能创建出来一个springboot项目顺便说一下创建springboot项目的流程:1、new—>project2、选择jdk3、填写项目名字等相关信息4、选择初始化的依赖(我一般做网站选这几个)接下来一直next就好我跟的狂神的教学,他一般把初始化的项目中的这些删掉然后就是一个干净的父工程了

创建spring boot项目中出现:Unable to start the daemon process.以及正确创建spring boot项目

创建springboot项目中出现:Unabletostartthedaemonprocess.以及正确创建springboot项目原因是创建项目中一个设置默认错误以下是错误的❌把上述的选项改为:这样才能创建出来一个springboot项目顺便说一下创建springboot项目的流程:1、new—>project2、选择jdk3、填写项目名字等相关信息4、选择初始化的依赖(我一般做网站选这几个)接下来一直next就好我跟的狂神的教学,他一般把初始化的项目中的这些删掉然后就是一个干净的父工程了

配置docker镜像时碰到的问题

在配置docker镜像时,首先我是这样操作的,echo"registry-mirrors":["https://ry1ei7ga.mirror.aliyuncs.com"]}">daemon.json然后尝试去打印daemon.json文件中的内容,catdaemon.json结果会显示然后尝试重启docker结果碰到报错尝试sudodockerd--debug发现报错unabletoconfiguretheDockerdaemonwithfile/etc/docker/daemon.json:invalidcharacter'r'lookingforbeginningofobjectkeys

配置docker镜像时碰到的问题

在配置docker镜像时,首先我是这样操作的,echo"registry-mirrors":["https://ry1ei7ga.mirror.aliyuncs.com"]}">daemon.json然后尝试去打印daemon.json文件中的内容,catdaemon.json结果会显示然后尝试重启docker结果碰到报错尝试sudodockerd--debug发现报错unabletoconfiguretheDockerdaemonwithfile/etc/docker/daemon.json:invalidcharacter'r'lookingforbeginningofobjectkeys