-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 create a new container with docker inside container #9978
Comments
After diving into this issue for many days. We found that this problem is caused by a Golang commit: golang/go@72e77a7 In this commit, Golang changes the containerd/pkg/cri/opts/spec_linux.go Line 120 in 91a68ed
|
If we change the containerd/pkg/cri/opts/spec_linux.go Line 120 in 91a68ed
And the problem becomes why the The containerd adds a containerd/pkg/cri/opts/spec_linux.go Line 178 in 91a68ed
|
To fix this problem, we can change If we can do this, users as this case should also keep the |
Hmm, this is odd. The pdqsort change was merged in 2022 and our CI's Go version is relatively up-to-date. |
I found the UT for the order of the mounts, but the test uses The E2E test may also not include this scenario where |
Description
We use two different versions of Golang to build containerd binaries with the same tag.
containerd tag: v1.6.16
build with golang 1.18.x
Create a new container with docker inside the container created by containerd. This works fine.
build with golang 1.20.x
Create a new container with docker inside the container created by containerd. Gets errors:
Steps to reproduce the issue
containerd
servicedocker
container.Describe the results you received and expected
Result:
Create container failed and I get the following errors:
Expect: container created successfully.
What version of containerd are you using?
1.6.16
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
The text was updated successfully, but these errors were encountered: