-
Notifications
You must be signed in to change notification settings - Fork 649
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
Add HostConfig to nerdctl inspect
response
#3812
Add HostConfig to nerdctl inspect
response
#3812
Conversation
f57dca7
to
cfdf044
Compare
0b7af18
to
64ad424
Compare
nerdctl inspect
responsenerdctl inspect
response
7052b62
to
c5794d5
Compare
f36f024
to
41ace87
Compare
@AkihiroSuda PTAL, I've tried to limit the use of labels and use the native inspect as much as possible. |
41ace87
to
3721a3d
Compare
Bumping this PR for review. PTAL when you get a chance |
3721a3d
to
17fe1b1
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 comments
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, please squash commits
d6ca68f
to
29883b4
Compare
This commit adds the following fields to the hostconfig struct that is retured when container inspect is called. - CIdFile - GroupAdd - Memory - CgroupNsMode - DNS config - OOMScoreAdj - ReadonlyRootfs - UTSMode - ShmSize - Runtime - Sysctl - Device - PidMode Signed-off-by: Arjun Raja Yogidas <[email protected]>
29883b4
to
37d9958
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, thanks
@AkihiroSuda PTAL when you get some time. Thanks! |
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.
Thanks
nerdctl inspect
currently doesn't report HostConfig details in its response.Attempting to add this PR as a starting point, aim is to get the
dockercompat
response closer to the docker inspect response schema