
Containish: A simplistic container runtime
git clone https://github.com/yourusername/containish.git
cd containish
go build -o containish
The scripts/integration_test.sh
helper boots the Vagrant VM and executes the
Go integration tests inside it. Ensure Vagrant is installed and that an Alpine
root filesystem exists at ./alpine
before running the script. A minimal
config.json
using the OCI runtime-spec
is provided at the repository root and is used by default when running
containish run
.
./scripts/integration_test.sh
The tests build the binary and launch a container that should print hello
.
If the output ends with the usual Go test PASS
line, the container behaved as
expected.
Use containish run <id>
to start a container using the default config.json
.
Add the -d
flag to detach and return immediately after the container starts:
sudo ./containish run -d mycontainer
Stop a running container with:
sudo ./containish stop mycontainer