You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ptrcnull 6aeb6621c6 docs: Add more information about the tool and some instructions 7 months ago
README.md docs: Add more information about the tool and some instructions 7 months ago
go.mod feat: Initial commit 7 months ago
main.go fix: Send SIGTERM to child process when parent gets terminated 7 months ago

README.md

miniroot

docker but simpler

In contrast to Docker, miniroot does not:

  • have a concept of images and layers
  • isolate networks
  • handle volumes or bind mounts
  • have a central daemon

It's just a simple tool that utilises namespaces to run applications in a semi-isolated environment.

Usage

  • get rootfs (you can use docker export container_name > export.tar for that)
  • extract it somewhere
  • run miniroot; example:
miniroot -root "/opt/something" -workdir "/usr/src/app" -init "/usr/local/bin/npm start"