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

[WIP]: Add HostConfig to nerdctl inspect response #3812

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

coderbirju
Copy link
Contributor

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

@@ -101,6 +101,9 @@ const (
// (like "nerdctl/default-network=true" or "nerdctl/default-network=false")
NerdctlDefaultNetwork = Prefix + "default-network"

// LogConfig defines the loggin configuration passed to the container
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: loggin

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LogURI label can be now removed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Arjun Raja Yogidas <[email protected]>
@coderbirju coderbirju force-pushed the add-hostconfig-inspect-response branch from f57dca7 to cfdf044 Compare January 15, 2025 05:15
CPUSetCPUs = Prefix + "cpuset-cpus"

// CPUSetMems to check if the --cpuset-mems is specified
CPUSetMems = Prefix + "cpuset-mems"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't these present in OCI config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants