Add runc --version-json
and print the implemented mount option strings
#3274
Labels
Milestone
runc --version-json
and print the implemented mount option strings
#3274
A high-level container application may want to obtain the list of the mount option strings supported by runc, because runc just ignores unimplemented mount option strings.
However, there is no way to obtain the list of the implemented mount option strings other than manually inspecting the code:
runc/libcontainer/specconv/spec_linux.go
Lines 771 to 824 in c1103d9
I suggest adding
runc --version-json
command to print the machine-readable list of the implemented mount option strings.We can put other info in this JSON eventually, too.
Relates to :
The text was updated successfully, but these errors were encountered: