Hi all,

 

I removed the “–init” flag passed to docker command in the /usr/lib/python3/dist-packages/docker_worker.py.  After this the worker container started and is shown to be online in lava server web interface. Is this work around ok to be used ?

I’m using the lava-docker-worker on a Debian buster (10.6) machine.  

 

Thank you,

Anantha

 

 

From: K R, ANANTHA
Sent: 04 November 2020 20:37
To: 'lava-users@lists.lavasoftware.org' <lava-users@lists.lavasoftware.org>
Subject: lava-docker-worker: docker OCI runtime error

 

Hi All,

 

This is my first post in lava support community. I was trying to setup worker using lava-docker-worker. Followed steps as documented here https://git.lavasoftware.org/lava/lava/-/blob/2020.09/doc/content/admin/advanced-tutorials/docker-worker.md

 

However I’m stuck with the error from docker daemon as shown in the bellow log.

 

anantha@anantha-buster:~$ sudo lava-docker-worker -l DEBUG --url http://<My-LAVA-server-IP>

2020.10: Pulling from lavasoftware/lava-dispatcher

bb79b6b2107f: Pull complete

81b92962f1c3: Pull complete

e69bdb4eac16: Pull complete

Digest: sha256:27b3c2a84684bb0705e300899084bcbfcad99bc1fc1fd7917d8bec5ee47d57cb

Status: Downloaded newer image for lavasoftware/lava-dispatcher:2020.10

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/dev/init\": stat /dev/init: no such file or directory": unknown.

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/dev/init\": stat /dev/init: no such file or directory": unknown. ^c

Need help in regard to solve the above error.

 

Thank you,

Anantha