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)

Required.

<CMD>

What to run instead of sh

Options

--root

As root: its name is typed, and the audit trail says so

--yes

Open it (without it, this says what it would open)

--confirm <NAME>

The container's name, to confirm --root without typing it

Every command also takes the global options.

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.