zoukankan      html  css  js  c++  java
  • docker报错处理集合

    前言

    本篇博客将把docker错误都进行整合,方便大家进行查看,如果各位同学有遇到docker使用中遇到的报错,也可以把报错信息截图和处理办法微信发我。

    docker报错


    1. 拉取镜像显示被拒绝

    2.docker中安装centos无法使用systemctl命令管理进程


    ############################################################################

    docker报错处理方法

    1.拉取镜像显示被拒绝

    报错信息

    [root@ken1 ~]# docker image pull lamp
    Using default tag: latest
    Error response from daemon: pull access denied for lamp, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied

    处理方式:

    确认添加了阿里云加速器之后,重启docker即可

    ############################################################################

    2.docker中安装centos无法使用systemctl命令管理进程

    docker中安装centos无法使用systemctl命令管理进程,报以下错误:

    1
    Failed to get D-Bus connection: Operation not permitted

    原因:

    1. 需要启动systemd进程
    2. 需要特权

    解决方法:

    1
    docker run -tdi –privileged centos init

    ===========================================================================

  • 相关阅读:
    正则表达式
    jdbc,链接调用数据库的方法——例题
    python字符串操作
    python条件判断
    python运算符
    python中输入输出
    python关键字与标识符
    python变量
    python注释
    安装django报错一直安装不上?
  • 原文地址:https://www.cnblogs.com/it-peng/p/11388269.html
Copyright © 2011-2022 走看看