seawall stray adopt
Bring it in as a stack (outside the stacks folder it moves in first).
Usage
seawall stray adopt [OPTIONS] <FOLDER>
Changes the host
Without --yes it prints the plan and changes nothing.
Arguments
<FOLDER>The folder, relative to the stacks folder or its full path
Options
--manager <MANAGER>Its manager (default: the host's; compose where Portainer can't run it)
--startCreate and start it now (as stack new)
--no-startBring it in stopped (the default; under Portainer, created there and stopped at once)
--fixFix what seawall can first (restart always, no-new-privileges,
cap_drop); the findings left come along--accept-grantsWith --start, accept the root grants it starts, writing each one's
# seawall-lint: allowline, so later starts confirm with Enter--yesCarry it out (without it, a dry run)
--confirm <NAME>With --start of one handed the host's root, the stack's name: confirms without a terminal
Examples
seawall stray adopt ~/docker/projects/app
seawall stray adopt ~/docker/projects/app --manager compose --start --yes