Class: OsCtld::ContainerControl::Commands::Runscript
- Inherits:
-
OsCtld::ContainerControl::Command
- Object
- OsCtld::ContainerControl::Command
- OsCtld::ContainerControl::Commands::Runscript
- Defined in:
- lib/osctld/container_control/commands/runscript.rb
Overview
Execute a script within a container
If the container is running, the script is executed within the running system. If the container is stopped, it can be started if option ‘:run` is set. The container is started with init.lxc, not the container’s own init system. Static network configuration can be enabled using option ‘:network`, otherwise there is no networking.