Skip to content

containers/nydus-storage-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRI-O/Podman Nydus Store Plugin

The project is an implementation of additional layer store plugin of CRI-O/Podman, it provides CRI-O/Podman with the ability to lazy mount nydus images.

⚠️ This project is still in progress, see more details in this proposal.

asciicast

Quick Start

  1. Build store plugin
$ git clone https://github.com/containers/nydus-storage-plugin.git
$ cd nydus-storage-plugin
$ make
  1. Install nydusd

Download nydus binaries from nydus release page, and then install with the command below:

$ tar xzvf nydus-static-$version-linux-amd64.tgz
$ sudo mv nydus-static/nydusd /usr/bin/nydusd
$ sudo mv nydus-static/nydus-image /usr/bin/nydus-image
  1. Configure podman

Replace /etc/containers/storage.conf with misc/storage.conf.

  1. Run store plugin

Copy misc/nydusd-config.json to /etc.

$ sudo bin/nydus-store --log-to-stdout --log-level info \
  --config-path /etc/nydusd-config.json \
  --root /var/lib/nydus-store
  1. Run container with nydus image
$ sudo podman run -it ghcr.io/dragonflyoss/image-service/nginx:nydus-latest echo hello word

For the list of pre-converted nydus images, see nydus packages, for more details about how to build nydus image, please refer to nydusify conversion tool and acceld.

About

A storage plugin that provided CRI-O/Podman with the ability to lazy mount nydus images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published