Class: OsCtld::ContainerControl::Commands::Exec
- Inherits:
-
OsCtld::ContainerControl::Command
- Object
- OsCtld::ContainerControl::Command
- OsCtld::ContainerControl::Commands::Exec
- Defined in:
- lib/osctld/container_control/commands/exec.rb
Overview
Execute command within a container
If the container is running, the command 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.