Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging deb for noble numbat Ubuntu 24.04 LTS #361

Open
ReSearchITEng opened this issue May 9, 2024 · 7 comments · May be fixed by #394
Open

packaging deb for noble numbat Ubuntu 24.04 LTS #361

ReSearchITEng opened this issue May 9, 2024 · 7 comments · May be fixed by #394

Comments

@ReSearchITEng
Copy link

Expected Behavior

ability to install cri-dockerd on 24.04

Actual Behavior

missing deb

Specifications

  • Version:
  • Platform: Ubuntu 24.04
  • Subsystem:
@afbjorklund
Copy link
Contributor

afbjorklund commented May 10, 2024

You should be able to use the version for Ubuntu 22.04, as a temporary workaround.

@nwneisen
Copy link
Collaborator

We previously discussed removing the different deb versions because we thought they were the same.

Is something not working with the 22.04 version to make a 24.04 specific version needed?

@afbjorklund
Copy link
Contributor

I think the old binary was statically linked, so it worked everywhere. Now it needs "new enough" glibc

But the older cri binary should work on the newer OS as well, even if the opposite might not be true...

@nwneisen
Copy link
Collaborator

I see. So this is more of an issue that switching the release process to be in CI instead of building on a dev machine missed something?

@afbjorklund
Copy link
Contributor

Not sure? The kubernetes binaries are never built, just repackaged, so it is the same static binary in all formats.

But it seems like with the new CI build of cri-dockerd, it is actually using the OS to build the (dynamic) binaries ?

@afbjorklund afbjorklund linked a pull request Aug 27, 2024 that will close this issue
@j796160836
Copy link

j796160836 commented Oct 1, 2024

Here is manually install instructions for search engine newbie like me.

Tested on Ubuntu 24.04 (noble).

Instructions

  1. Install proper packages.
$ sudo apt install -y make golang git
  1. Git clone latest version
$ git clone https://github.com/Mirantis/cri-dockerd.git
  1. Compile it
$ cd cri-dockerd && \
make cri-dockerd
  1. Install it
cd cri-dockerd && \
mkdir -p /usr/local/bin && \
install -o root -g root -m 0755 cri-dockerd /usr/local/bin/cri-dockerd && \
install packaging/systemd/* /etc/systemd/system && \
sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service
  1. Reload the daemon and enable services
$ sudo systemctl daemon-reload && \
sudo systemctl enable --now cri-docker

You may need to restart services after install if updates cri-docker.

sudo systemctl daemon-reload && \
sudo systemctl restart cri-docker
  1. How to verify?

Check the cri-docker services

$ systemctl status cri-docker

Verify cri-dockerd version

$ cri-dockerd --version
cri-dockerd 0.3.12-16-gebd9de06 (ebd9de06)

Reference

https://mirantis.github.io/cri-dockerd/usage/install-manually/

@afbjorklund
Copy link
Contributor

You might want to file another issue about improving "building from source", this issue was about the packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants