-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
version: add RootlessKit, slirp4netns, and VPNKit version #42330
Conversation
554a7f9
to
3584e10
Compare
0dfc553
to
a2dec68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some thoughts
a2dec68
to
82c0b0f
Compare
@thaJeztah PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
the only thing I'm starting to wonder is if we should have some option to switch between "verbose" and "less verbose" on the CLI (to not print all the components, or only basic information) WDYT?
} | ||
|
||
func (daemon *Daemon) fillRootlessVersion(v *types.Version) { | ||
if !rootless.RunningWithRootlessKit() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should use a sync.Once
for these? (probably ok for a follow-up)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RunningWithRootlessKit already has sync.Once:
Line 20 in 33c332a
runningWithRootlessKitOnce.Do(func() { |
Calling the RootlessKit API should not be Once
.
SGTM |
+1 - having |
@tianon Does this PR LGTY? 🙏 |
rebased |
82c0b0f
to
8c75e5b
Compare
rebased again |
4d7d9bd
to
74026db
Compare
74026db
to
8c7f08b
Compare
rebased |
8c7f08b
to
8b00b81
Compare
rebased |
8b00b81
to
afe13bc
Compare
46faeb8
to
64f4526
Compare
rebased 😞 |
rebased |
64f4526
to
d49d57a
Compare
@thaJeztah @tonistiigi Can we merge this? |
d49d57a
to
6bc5ac2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, looks like there's some conflicts again. |
```console $ docker --context=rootless version ... Server: ... rootlesskit: Version: 0.14.2 ApiVersion: 1.1.1 NetworkDriver: slirp4netns PortDriver: builtin StateDir: /tmp/rootlesskit245426514 slirp4netns: Version: 1.1.9 GitCommit: 4e37ea557562e0d7a64dc636eff156f64927335e ``` Signed-off-by: Akihiro Suda <[email protected]>
6bc5ac2
to
de6732a
Compare
rebased |
- What I did
Add RootlesKit info to the Version API.
- How to verify it
- Description for the changelog
version: add RootlessKit, slirp4netns, and VPNKit version
- A picture of a cute animal (not mandatory but encouraged)
🐧