Closed
Description
I want to create a hook like this
"hooks": {
"prestart": [ {
"path": "cmd",
"args": [ "cmd", "foo:bar" ]
} ] }
but I'm unable to do this, because colons have a special semantics and there is no posibility to escape colons in option lists:
oci-runtime-tool generate --hooks-prestart=cmd:foo:bar
results in
"args": [ "cmd", "foo", "bar" ]
The problem is in generate.go
in func parseHook
.
But maybe options with path arguments like --mount-bind
are related to this effect too?
Metadata
Metadata
Assignees
Labels
No labels