
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
mini-container
Advanced tools
A minimal container runtime that does very few things
npm install mini-container -g
This currently relies on chroot and should be migrated to something like cgroups in the future.
A container is just a folder some where on your system that contains a unpacked linux distro. An easy way to create a container that just has ubuntu 14.04 is to use debootstrap
mkdir container
cd container
sudo debootstrap --variant=buildd --arch amd64 trusty . http://archive.ubuntu.com/ubuntu/
This will install a local version of ubuntu in ./container. To boot a bash process inside
this container just do
# assuming you are in ./container
sudo mini-container /bin/bash # runs /bin/bash sandboxed in this container
mini-container allows you to mount host folders inside your container using the --volume /host/path=/container/path flag
# mount /home/maf/test from the host on /root/test in the container
sudo mini-container /bin/bash --volume /home/maf/test=/root/test
var mini = require('mini-container')
var child = mini('/bin/bash', {
cwd: './container',
volumes: {
'/home/maf/test': '/root/test'
}
})
process.stdin.pipe(child.stdin)
child.stdout.pipe(process.stdout)
child.stderr.pipe(process.stderr)
MIT
FAQs
A minimal container runtime that does very few things
The npm package mini-container receives a total of 3 weekly downloads. As such, mini-container popularity was classified as not popular.
We found that mini-container demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.