seawall container shell
A shell in one container, as its own user; root only with --root and its name typed.
Usage
seawall container shell [OPTIONS] <NAME> [-- <CMD>...]
Changes the host
Without --yes it prints the plan and changes nothing.
Arguments
<NAME>The container, by name (see
seawall container ls)<CMD>What to run instead of sh
Options
--rootAs root: its name is typed, and the audit trail says so
--yesOpen it (without it, this says what it would open)
--confirm <NAME>The container's name, to confirm --root without typing it
Examples
seawall container shell blog-web-1 --yes
seawall container shell blog-db-1 --root --yes
seawall container shell blog-web-1 --yes -- ls -la /data
Notes
Without --yes it says what it would open and opens nothing. Every shell is in the audit trail.