containerd / overlaybd

Overlaybd: a block based remote image format. The storage backend of containerd/accelerated-container-image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.6.0 release does not work on Ubuntu 18.04

juliusl opened this issue · comments

The overlaybd-tcmu service will not start on 18.04. My guess is because release v0.6.0 was compiled on 20.04+? The workaround is to install the missing shared libraries,

 apt install libaio1 libnl-3-dev libnl-genl-3-dev

Just for context, we are working on adding support in AKS. The default node image in AKS is Ubuntu 18.04.

this deb package is compiled on ubuntu 18.04 using https://github.com/containerd/overlaybd/blob/main/.github/workflows/dev-release.yml.
Shared libraries thar overlaybd depends have to be install on the runtime environment, but the dev package is not necessary.
So just apt install libaio1 libnl-3 libnl-genl-3 is ok.

@liulanzheng I see, can you add those deps to the .deb definition so that the package manager can install those dependencies?

@liulanzheng it doesn't look like libnl-3 and libnl-genl-3 exist?

@juliusl there names under ubuntu 18.04 are libnl-3-200 and libnl-genl-3-200. I don't known what 200 means...
i'm going to find a way automatic installing them.

image
@juliusl now the CPACK was configured to generate dependences automatically, please try the latest development package.

@liulanzheng Thanks, tested and seems to be working.