Wind River Support Network

HomeDefectsLINCD-12108
Fixed

LINCD-12108 : [docker] Failed to start Docker Application Container Engine on nodistro image

Created: Mar 23, 2023    Updated: Apr 22, 2023
Resolved Date: Apr 2, 2023
Found In Version: 10.23.13.0
Fix Version: 10.23.17.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

root@intel-x86-64:/# rpm -qa | grep docker
runc-docker-1.1.4+git0+c6781d100a-r0.corei7_64
docker-cli-23.0.1-r0.corei7_64
python3-docker-pycreds-0.4.0-r0.corei7_64
python3-dockerpty-0.4.1-r0.corei7_64
python3-docker-5.0.0-r0.corei7_64
docker-23.0.1-r0.corei7_64
python3-docker-compose-1.29.2-r0.corei7_64
root@intel-x86-64:/#

 

root@intel-x86-64:/opt/wr-test/testcases/userspace/rabbitmq-c# docker run -d --rm -p 15672:15672 -p 5672:5672 --name rabbitmq_c rabbitmq:3.12-rc-management-alpine
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
root@intel-x86-64:/opt/wr-test/testcases/userspace/rabbitmq-c# systemctl status docker
x docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; disabled; preset: disabled)
     Active: failed (Result: exit-code) since Thu 2023-03-23 09:23:39 UTC; 12min ago
TriggeredBy: x docker.socket
       Docs: https://docs.docker.com
    Process: 1407 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
   Main PID: 1407 (code=exited, status=1/FAILURE)

Mar 23 09:23:39 intel-x86-64 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 23 09:23:39 intel-x86-64 systemd[1]: Stopped Docker Application Container Engine.
Mar 23 09:23:39 intel-x86-64 systemd[1]: docker.service: Start request repeated too quickly.
Mar 23 09:23:39 intel-x86-64 systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 23 09:23:39 intel-x86-64 systemd[1]: Failed to start Docker Application Container Engine.

Steps to Reproduce

1) git clone --depth 1 --branch master-wr git://pek-git.wrs.com/wrlinux-x

2)  wrlinux-10/setup.sh   --machine intel-x86-64 --dl-layers=1 --distro nodistro --templates feature/xfce feature/dhcp-server-kea feature/ipv6 feature/bpf feature/bcc feature/netplan feature/nfsd feature/nftables feature/ntp feature/package-management feature/sftp-server feature/vsomeip feature/wireguard feature/docker feature/ptest --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers=1

3). ./environment-setup-x86_64-wrlinuxsdk-linux

4) . ./oe-init-build-env build_test

5) vim conf/local.conf
IMAGE_INSTALL:append = " docker"

6) bitbake core-image-base

7)boot the target and run commands per problem description
Live chat
Online