-
Notifications
You must be signed in to change notification settings - Fork 208
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
Cannot Run Nydus Images With Docker #1577
Comments
I can run nydus Images with nerdctl instead of docker.
Check storage driver and plugins.
|
Hi, are you using the docker version specified in the doc? |
I am using docker v26.1.0.Is it too new?
|
@adamqqqplay PTAL, maybe it doesn't work for the latest docker? |
@IAmOWh Hi, have you modified this
|
I will try to reproduce this issue. |
Hi. Yes, my |
Have you solved it? I have the same problem. |
Does only v24 docker support Nydus images? I tested other versions of Docker and encountered the same problem. @adamqqqplay |
It seems that this commit in Docker 25 (moby/moby#46502) caused this problem. I removed the init-layer related logic in Docker makes it work. nydus may need to be compatible with init-layer. |
@beyou923 Thanks for the useful information! are you interested in fixing this? |
Thank you for your answer, I'll try docker v24. |
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Version of nydus being used (nydusd --version)
Version: v2.2.5
Git Commit: 4db9fd7
Build Time: 2024-04-25T09:15:09.820565003Z
Profile: release
Rustc: rustc 1.70.0 (90c541806 2023-05-31)
Version of nydus-snapshotter being used (containerd-nydus-grpc --version)
Version: v0.13.12
Revision: ce4848e4439b79723b0635e994b5d9991aa88819
Go version: go1.22.1
Build time: 2024-04-29T20:01:11
Kernel information (uname -r)
command result: uname -r
5.15.0-105-generic
GNU/Linux Distribution, if applicable (cat /etc/os-release)
command result: cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
containerd-nydus-grpc command line used, if applicable (ps aux | grep containerd-nydus-grpc)
client command line used, if applicable (such as: nerdctl, docker, kubectl, ctr)
Screenshots (if applicable)
Details about issue
I followed docker-env-setup.md but had trouble running nydus images(the last step). The convertion was successful and I could create a container based on that nydus image. So what was wrong? Did I miss something that is in other docs?
The text was updated successfully, but these errors were encountered: