summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.podman.varlink
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-08-26 16:26:06 -0700
committerJhon Honce <jhonce@redhat.com>2019-08-26 16:45:49 -0700
commit02cda4066d9367378b59b831839894fc7a7deabe (patch)
tree936ecefd2b851d906d596330c779a211b8a85376 /cmd/podman/varlink/io.podman.varlink
parentcec354aac97edaafe8467b3840eaec0a0466c651 (diff)
downloadpodman-02cda4066d9367378b59b831839894fc7a7deabe.tar.gz
podman-02cda4066d9367378b59b831839894fc7a7deabe.tar.bz2
podman-02cda4066d9367378b59b831839894fc7a7deabe.zip
Update varlink doc and code
* Improved error message * Added documentation * Updated messages to include missing data Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 2873d9761..752e28256 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -274,6 +274,8 @@ type Sockets(
)
# Create is an input structure for creating containers.
+# args[0] is the image name or id
+# args[1-] are the new commands if changed
type Create (
args: []string,
addHost: ?[]string,
@@ -1281,4 +1283,4 @@ error WantsMoreRequired (reason: string)
error ErrCtrStopped (id: string)
# This function requires CGroupsV2 to run in rootless mode.
-error ErrRequiresCgroupsV2ForRootless(reason: string) \ No newline at end of file
+error ErrRequiresCgroupsV2ForRootless(reason: string)