mirror of
https://github.com/containers/nydus-storage-plugin
synced 2026-07-24 02:13:45 +00:00
No description
- Go 99.5%
- Makefile 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| cmd/store | ||
| misc | ||
| pkg | ||
| .gitignore | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| README.md | ||
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.
Quick Start
- Build store plugin
$ git clone https://github.com/containers/nydus-storage-plugin.git
$ cd nydus-storage-plugin
$ make
- 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
- Configure podman
Replace /etc/containers/storage.conf with misc/storage.conf.
- 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
- 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.