Class: OsCtld::ContainerControl::Commands::Exec

Inherits:
OsCtld::ContainerControl::Command show all
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.

Defined Under Namespace

Classes: Frontend, Runner

Method Summary

Methods inherited from OsCtld::ContainerControl::Command

run!