cri-dockerd icon indicating copy to clipboard operation
cri-dockerd copied to clipboard

Package the systemd service and socket files with tarballs

Open nwneisen opened this issue 9 months ago • 2 comments

Expected Behavior

The release tar files contains everything needed to install cri-dockerd on a system.

Actual Behavior

The tar files contain the cri-dockerd binaries but none of the needed systemd configuration files. The current installation instructions make it sound like the systemd files are available within the tar file but they are not. A user must download the systemd files separately from within the source tree of the project.

Steps to Reproduce the Problem

  1. Download a tar file
  2. Untar the file tar -zxvf cri-dockerd-03.4.amd64.tgz
  3. Enter the created directory cd cri-dockerd
  4. See that there are no systemd files included

Specifications

  • Version: 0.3.4
  • Platform: linux
  • Subsystem: amd64, arm64

nwneisen avatar Oct 09 '23 15:10 nwneisen

This is par for the course.

Both containerd and Kubernetes does the same...

https://github.com/containerd/containerd/blob/main/docs/getting-started.md#systemd

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#k8s-install-2

afbjorklund avatar Oct 09 '23 16:10 afbjorklund

Same for Docker, too.

There are no systemd units, in the tarball.

https://docs.docker.com/engine/install/binaries/

https://docs.docker.com/config/daemon/systemd/

afbjorklund avatar Oct 23 '23 15:10 afbjorklund