启动docker报错docker/daemon.json: the following directives are specified both as a flag and in the configuration file: default-runtime: (from flag: nvidia, from file: nvidia)
删除daemon.json中的"default-runtime":“nvidia”
重启systemctl restart docker
因为当前版本docker(20.10.21)已经默认runtime为nvidia不需要在daemon.json中再次设置

启动docker报错the following directives are specified both as a flag and in the configuration file: defau相关推荐

  1. 已解决:启动docker报错:“Job for docker.service failed because the control process exited with error”解决办法

    启动docker时报错 [root@localhost ~]# systemctl start docker Job for docker.service failed because the con ...

  2. 【亲测有效】Centos安装完成docker后启动docker报错docker: unrecognized service的两种解决方案

    使用yum install docker安装完后启动不了,报错如下: [root@Sakura ~]# service docker start docker: unrecognized servic ...

  3. Windows10启动Docker报错:Hardware assisted virtualization and data execution protection must enabled BIOS

    1.报错详情 Hardware assisted virtualization and data execution protection must be enabled in the BIOS. 2 ...

  4. 【亲测有效】Centos安装完成docker后启动docker报错docker: unrecognized service的两种解决方案...

    今天在学习Docker的时候 使用yum install docker安装完后启动不了,报错如下: [root@Sakura ~]# service docker start docker: unre ...

  5. 【Docker】Docker 启动prometheus报错 parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal

    1.背景 本地docker 安装prometheus,然后启动,报错如下 (base) lcc@lcc grafana-storage$ docker logs 790f84fb094904a96b8 ...

  6. 在docker中启动服务报错:New main PID 558 does not belong to service

    在docker中启动服务报错: New main PID 558 does not belong to service, and PID file is not owned by root. Refu ...

  7. 记一次docker启动elasticsearch报错解决方法

    docker启动elasticsearch报错,启动命令及报错信息如下 启动命令如下 docker run -d --name elasticsearch-6.4.0 -p 9200:9200 -p ...

  8. docker 启动容器报错及解决办法

    docker 启动容器报错:Error response from daemon: oci runtime error: container_linux.go:247: starting contai ...

  9. docker报错:driver failed programming external connectivity on endpoint, iptables:No chain by that name

    docker 报错: Error response from daemon: Cannot restart container hello: driver failed programming ext ...

最新文章

  1. 集体奔赴农业战场 互联网巨头对话中国农民丰收节交易会
  2. php 获取发票内容,php – 如何从发票ID获取PayPal交易ID
  3. 操作系统实验报告11:ucore Lab 2
  4. GCDPlot 0.31 发布
  5. CreateProcess的使用方法
  6. 禁用win10触摸屏手势_Win10平板边缘滑动手势大全及开启/关闭方法
  7. ubuntu安装python3.6_Ubuntu上安装python3.6以及多版本python管理 | SQN
  8. 教你Python字符串的基本操作:拆分和连接
  9. python不会英语不会数学怎么自学-英语和数学都不好,但是我想学Python编程可以吗?...
  10. 十分钟学会Java RMI
  11. 如何在 Mac 上安装新字体?
  12. 运用SQL Server安全模型来保护数据
  13. loadrunner 测试 html5,Loadrunner压力测试工具使用教程
  14. 【PostMan】测试Post请求
  15. 忽悠马云10亿,还阿里4500亿:做对事赢一场,跟对人赢一生!
  16. videojs中文文档
  17. 把人脑“森林”上传到计算机:人类脑计划只是一个科幻野心?
  18. 入行嵌入式开发若干年悟出的道理
  19. 在linaro中安装opencv
  20. 如何用人工智能自动玩游戏

热门文章

  1. FDC2214电容检测芯片-液位检测(金属探针探测液面)方案分析
  2. dizcuz手机API-mobile
  3. 做一条USB A转Type C 数据线 和OTG线
  4. CodeBlock速配wxWidgets[U版]
  5. 如何培养孩子的金钱价值观
  6. python 卡片概念学习
  7. 三维扫描仪可以做什么?
  8. 系分 - 计算机网络
  9. 关于虚函数与虚函数表
  10. 在cmd命令窗口安装Python模块