The goal of this library is to run shell commands in isolation using linux namespaces.
It may be called from any other program requiring to run some operation
inside container.
The goal of this library is not to be compliant with opencontainers spec. It rather provides
functionality required in my other projects.
type Config struct {
// Types defines the list of allowed types transferred between isolator and executor server. Types []interface{}
// ExecutorArg is the CLI arg on calling binary which starts the executor server.// See `executor.Catch`.
ExecutorArg string// Directory where root filesystem exists. Dir string// ExposedPorts is the list of ports to expose. ExposedPorts []ExposedPort// Executor stores configuration passed to executor. Executor wire.Config
}