Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Conversation

yongtang
Copy link
Contributor

This PR tries to add SecurityOptions field in Info so that security options such as apparmor, seccomp, or selinux could be displayed by docker info.

Detailed discussion could be found in:
moby/moby#20909
moby/moby#21172

cc @justincormack @calavera @thaJeztah

Signed-off-by: Yong Tang yong.tang.github@outlook.com

types/types.go Outdated
ServerVersion string
ClusterStore string
ClusterAdvertise string
SecurityOptions string
Copy link
Contributor

Choose a reason for hiding this comment

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

should we make this a []string? I think that'd be better for the API (and similar to, e.g. how we have a list of installed plugins; https://github.com/docker/engine-api/blob/0ec73ff0299c6bc44426146a4ecaf5250536ea1c/types/types.go#L248-L257)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thaJeztah Yes []string is definitely better than a space separated string and easy to process. Let me update the pull request. Thanks!

This PR tries to add SecurityOptions field in Info so that
security options such as apparmor, seccomp, or selinux could
be displayed by `docker info`.

Detailed discussion could be found in:
moby/moby#20909
moby/moby#21172

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
@yongtang
Copy link
Contributor Author

@thaJeztah Just updated the pull request to change to []string. Let me know if there are any other issues.

@calavera
Copy link
Contributor

LGTM

1 similar comment
@thaJeztah
Copy link
Contributor

LGTM

@calavera
Copy link
Contributor

Please, do not merge this PR yet. We're waiting for a release cut in docker/docker before moving this forward.

@calavera
Copy link
Contributor

We already have a tag a frozen branches for both projects. Merging this in 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants