Skip to content
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

v2.0 planning #2734

Closed
AkihiroSuda opened this issue Jan 5, 2024 · 8 comments
Closed

v2.0 planning #2734

AkihiroSuda opened this issue Jan 5, 2024 · 8 comments
Milestone

Comments

@AkihiroSuda
Copy link
Member

Planning to release v2.0 or v1.8 after merging:

I'm leaning toward to bump up the major version (ahead of containerd v2), as this PR significantly changes the design of the rootless mode

Note

Rootless containerd recognizes the following environment variables to configure the behavior of RootlessKit:

  • ...
  • CONTAINERD_ROOTLESS_ROOTLESSKIT_DETACH_NETNS=(auto|true|false): whether to launch rootlesskit with the "detach-netns" mode.
    Defaults to "auto", which is resolved to "true" if RootlessKit >= 2.0 is installed.
    The "detached-netns" mode accelerates nerdctl (pull|push|build) and enables nerdctl run --net=host,
    however, there is a relatively minor drawback with the current version of BuildKit:
    the host loopback IP address (127.0.0.1) is exposed to Dockerfile's "RUN" instructions during nerdctl build (not nerdctl run).
    If you want to hide 127.0.0.1 from "RUN" instructions, you should set CONTAINERD_ROOTLESS_ROOTLESSKIT_DETACH_NETNS to "false".

To set these variables, create ~/.config/systemd/user/containerd.service.d/override.conf as follows:

[Service]
Environment=CONTAINERD_ROOTLESS_ROOTLESSKIT_DETACH_NETNS="false"

And then run the following commands:

systemctl --user daemon-reload
systemctl --user restart containerd

cc @containerd/nerdctl-maintainers

@AkihiroSuda AkihiroSuda added this to the v2.0.0 (tentative) milestone Jan 5, 2024
@AkihiroSuda AkihiroSuda changed the title v2.0 (or v1.8) planning v2.0 planning Feb 2, 2024
@AkihiroSuda
Copy link
Member Author

Released beta.0 yesterday
https://github.com/containerd/nerdctl/releases/tag/v2.0.0-beta.0

@apostasie
Copy link
Contributor

apostasie commented Jun 24, 2024

List of needed PR on dependencies to use go mod containerd v2

Nerdctl PRs:

@AkihiroSuda AkihiroSuda pinned this issue Jun 24, 2024
@AkihiroSuda
Copy link
Member Author

Released v2.0.0-rc.0: https://github.com/containerd/nerdctl/releases/tag/v2.0.0-rc.0
Thanks to more than 25 contributors !

@apostasie
Copy link
Contributor

apostasie commented Jul 9, 2024

Update:

@AkihiroSuda
Copy link
Member Author

Released v2.0.0-rc.1 https://github.com/containerd/nerdctl/releases/tag/v2.0.0-rc.1

And more, thanks to all the contributors
v2.0.0-rc.0...v2.0.0-rc.1

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Sep 10, 2024

Released https://github.com/containerd/nerdctl/releases/tag/v2.0.0-rc.2 .

Thanks to all the contributors, especially to @apostasie for the huge refactoring and stability improvements
v2.0.0-rc.1...v2.0.0-rc.2

@AkihiroSuda
Copy link
Member Author

@AkihiroSuda
Copy link
Member Author

https://github.com/containerd/nerdctl/releases/tag/v2.0.0
🎉

@AkihiroSuda AkihiroSuda unpinned this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants