Run a command in a running container
Run a command in a running container
pouch exec [OPTIONS] CONTAINER COMMAND [ARG...]
$ pouch exec -it 25bf50 ps
PID USER TIME COMMAND
1 root 0:00 /bin/sh
38 root 0:00 ps
-d, --detach Run the process in the background
-e, --env stringArray Set environment variables
-h, --help help for exec
-i, --interactive Open container's STDIN
--privileged Give extended privileges to the exec process
-t, --tty Allocate a tty device
-u, --user string Username or UID (format: <name|uid>[:<group|gid>])
-D, --debug Switch client log level to DEBUG mode
-H, --host string Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock")
--tlscacert string Specify CA file of TLS
--tlscert string Specify cert file of TLS
--tlskey string Specify key file of TLS
--tlsverify Use TLS and verify remote
- pouch - An efficient container engine