查看问题详情
编号 | 项目 | 分类 | 查看权限 | 报告日期 | 最后更新 |
---|---|---|---|---|---|
0000361 | Anolis OS 7 | General | public | 2021-10-20 14:53 | 2021-11-12 14:37 |
报告员 | wb-wpp899309 | 分派给 | geliwei-ali | ||
优先级 | normal | 严重性 | major | 出现频率 | always |
状态 | resolved | 处理状况 | open | ||
平台 | x86_64/aarch64 | 操作系统 | Anolis OS | 操作系统版本 | 7.7 |
标题 | 0000361: [Anolis OS 7.7] [x86_64/aarch64]安装docker-ce后,systemctl start docker启动服务失败 | ||||
描述 | [缺陷描述] 安装docker-ce相关软件包后,systemctl start docker启动服务失败 错误如下: # systemctl start docker Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. [root@VM20210305-15 bin]# systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: failed (Result: start-limit) since Wed 2021-10-20 22:43:38 CST; 3s ago Docs: https://docs.docker.com Process: 10884 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 10884 (code=exited, status=1/FAILURE) Oct 20 22:43:36 VM20210305-15 systemd[1]: Failed to start Docker Application Container Engine. Oct 20 22:43:36 VM20210305-15 systemd[1]: Unit docker.service entered failed state. Oct 20 22:43:36 VM20210305-15 systemd[1]: docker.service failed. Oct 20 22:43:38 VM20210305-15 systemd[1]: docker.service holdoff time over, scheduling restart. Oct 20 22:43:38 VM20210305-15 systemd[1]: Stopped Docker Application Container Engine. Oct 20 22:43:38 VM20210305-15 systemd[1]: start request repeated too quickly for docker.service Oct 20 22:43:38 VM20210305-15 systemd[1]: Failed to start Docker Application Container Engine. Oct 20 22:43:38 VM20210305-15 systemd[1]: Unit docker.service entered failed state. Oct 20 22:43:38 VM20210305-15 systemd[1]: docker.service failed. [重现概率] 必现 [重现环境] # cat /etc/os-release NAME="Anolis OS" VERSION="7.7" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="7.7" PRETTY_NAME="Anolis OS 7.7" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugs.openanolis.cn/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" # uname -r 4.19.91-24.8.an7.x86_64 # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz Stepping: 7 CPU MHz: 2500.000 BogoMIPS: 5000.00 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 36608K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_vnni [实际结果]: 安装docker-ce相关软件包后,服务启动失败 [预期结果]: 安装docker-ce相关软件包后,systemctl start docker启动服务成功 | ||||
问题重现步骤 | [重现步骤] 1.添加软件源信息 wget -q http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -P /tmp/ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo wget -O /etc/yum.repos.d/docker-ce.repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo sed -i 's/\$releasever/7/' /etc/yum.repos.d/docker-ce.repo 2.安装docker-ce rpm -q docker && yum erase -y docker docker-common docker-client yum repo-pkgs docker-ce-stable install -y 3.开启Docker服务 systemctl start docker | ||||
标签 | 没加标签. | ||||
|
|
|
起docker服务之前需要设置一下selinux状态 setenforce 0 # 临时关闭 sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config # 永久关闭 |
|
已经修复。 https://bugs.openanolis.cn/view.php?id=485 |
日期 | 用户名 | 字段 | 更改 |
---|---|---|---|
2021-10-20 14:53 | wb-wpp899309 | 新建问题 | |
2021-10-20 14:53 | wb-wpp899309 | 添加了以下文件:: image.png | |
2021-11-11 17:51 | wb-wpp899309 | 描述已修改 | |
2021-11-11 17:51 | wb-wpp899309 | 问题重现步骤已修改 | |
2021-11-11 18:02 | wb-wpp899309 | 问题重现步骤已修改 | |
2021-11-12 14:16 | jacobwang | 优先级 | 高 => 低 |
2021-11-12 14:18 | jacobwang | 优先级 | 低 => 中 |
2021-11-12 14:29 | qhw13324663979 | 注释已添加: 0000687 | |
2021-11-12 14:37 | jacobwang | 注释已添加: 0000688 | |
2021-11-12 14:37 | jacobwang | 分派给 | => geliwei-ali |
2021-11-12 14:37 | jacobwang | 状态 | 新建 => 已解决 |