Skip to content

FonsecaGoncalo/containish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

containish logo

Containish: A simplistic container runtime


Installation

git clone https://github.com/yourusername/containish.git
cd containish
go build -o containish

Running Integration Tests

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.

Running Containers

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published