Hi,

 

I had installed docker long back and therefore not remember how I installed it exactly but I think I used “apt-get install docker.io”
Here is the docker version running on my system.


anantha@anantha-buster:~$ docker version

Client:

Version:           18.09.1

API version:       1.39

Go version:        go1.11.6

Git commit:        4c52b90

Built:             Sun, 14 Jun 2020 22:12:29 +0200

OS/Arch:           linux/amd64

Experimental:      false

 

Server:

Engine:

  Version:          18.09.1

  API version:      1.39 (minimum version 1.12)

  Go version:       go1.11.6

  Git commit:       4c52b90

  Built:            Sun Jun 14 20:12:29 2020

  OS/Arch:          linux/amd64

  Experimental:     false

 

Full log: https://paste.debian.net/1170559/

 

Will try with a fresh docker installation as in https://staging.validation.linaro.org/static/docs/v2/docker-admin.html#prerequisites

 

 

From: K R, ANANTHA
Sent: 06 November 2020 18:08
To: 'lava-users@lists.lavasoftware.org' <lava-users@lists.lavasoftware.org>
Subject: RE: lava-docker-worker: docker OCI runtime error

 

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