Skip to content

satl exec

Execute a command in a running container

$ satl exec [OPTIONS] <CONTAINER> <COMMAND>...

Arguments

Argument Description
<CONTAINER> Container to run the command in
<COMMAND>... Command and arguments

Options

Option Description
-i, --interactive Keep STDIN open even if not attached
-t, --tty Allocate a pseudo-TTY (not supported yet)
-e, --env <KEY=VALUE> Set environment variables
-w, --workdir <DIR> Working directory inside the container
-u, --user <USER> Username or UID

Global options

Accepted by every satl command.

Option Description
--host <URL> Daemon socket to connect to (docker-style URL)
Default: unix:///var/run/satl.sock
Environment: DOCKER_HOST
-h, --help Print help
-V, --version Print version

Generated from satl 0.1.0 by make gen. Change it in the SatL source or in overlay/cli.yml, never here.