Sign inSign up

openeuler/containerd

Sponsored OSS

By openeuler

Updated 4 months ago

Image
0

7.3K

openeuler/containerd repository overview

Quick reference

containerd | openEuler

Current containerd images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.

containerd is an industry-standard container runtime with an emphasis on simplicity, robustness, and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc.

Read more on containerd Website.

The tag of each containerd docker image is consist of the version of containerd and the version of basic image. The details are as follows

TagCurrentlyArchitectures
2.3.0-oe2403sp4containerd 2.3.0 on openEuler 24.03-LTS-SP4amd64, arm64
2.3.0-oe2403sp3containerd 2.3.0 on openEuler 24.03-LTS-SP3amd64, arm64
2.2.2-oe2403sp3containerd 2.2.2 on openEuler 24.03-LTS-SP3amd64, arm64
2.1.1-oe2403sp1containerd 2.1.1 on openEuler 24.03-LTS-SP1amd64, arm64

Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/containerd image from docker

    docker pull openeuler/containerd:{Tag}
    
  • Run with an interactive shell

    You can also start the container with an interactive shell to use containerd.

    docker run -it --rm openeuler/containerd:{Tag} bash
    
  • Create a simple CNI configuration file

    Create a basic CNI config file(e.g., empty.conf) inside /etc/cni/net.d/ to avoid network plugin errors when starting containerd:

    mkdir -p /etc/cni/net.d/
    
    # vi /etc/cni/net.d/empty.conf
    {
      "cniVersion": "0.4.0",
      "name": "empty-net",
      "type": "bridge",
      "bridge": "cni0",
      "isGateway": true,
      "ipMasq": true,
      "ipam": {
        "type": "host-local",
        "subnet": "10.88.0.0/16",
        "routes": [
          { "dst": "0.0.0.0/0" }
        ]
      }
    }
    
  • Create the containerd configuration directory

    Make sure the containerd config directory exist:

    mkdir -p /etc/containerd
    
  • Generate the default containerd configuration file

    Generate the default configuration and save it to /etc/containerd/config.toml:

    ./containerd config default > /etc/containerd/config.toml
    
  • Start containerd with the custom configuration

    Start the containerd daemon using the created config file in the background:

    ./containerd --config /etc/containerd/config.toml &
    

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

Tag summary

Content type

Image

Digest

sha256:ee397db3c

Size

122 MB

Last updated

4 months ago

docker pull openeuler/containerd

This week's pulls

Pulls:

119

Last week