KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
zcrun
★ 23
Open GitHub ↗
linux container runtime built with zig
Download README (.md)
Explore Similar Repositories
distilabel-spin-dibt
:
Repository containing the SPIN experiments on the DIBT 10k ranked prompts
SMM2Calculator
:
马造2微操计算器 Super Mario Maker 2 Calculator
polyglot-programming
:
Examples in multiple languages
Sito-web-lavoro-di-gruppo-INFORMATICA
:
In questa repository è presente un sito web (creato per un lavoro di gruppo a riguardo) programmato in HTML, CSS e JavaScript raffigurante una pasticceria esempio (non veritiera)
Futures-Spot-Arbitrage-Binance-V1
:
Futures-Spot-Arbitrage-Binance-V1
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
zcrun
?
Download (.md)
# zcrun a simple linux container runtime built with zig # Features - namespaces: - isolate user, network, pid, mount, ipc, and uts namespace - cgroups: - support cgroups v2 - limit memory, cpu, or pids (# of procs). - internet access inside containers using SNAT # Usage > [!NOTE] > make sure that ip forwarding is enabled to be able to access the internet inside containers. > run `sysctl net.ipv4.ip_forward` to check if it is enabled. > if not, run `sudo sysctl -w net.ipv4.ip_forward=1` to enable it. > [!Important] > zcrun must be run as root ```sh $ mkdir rootfs # export container rootfs dir using docker $ docker export $(docker create busybox) | tar -C rootfs -xvf - # run the container using zcrun # zcrun run [-mem] [-cpu] [-pids] <name> <rootfs_path> <cmd> $ zcrun run busybox rootfs sh ``` # Dependencies: - The `iptables` command. - Zig. This branch was tested using version `0.12.0-dev.3191+9cf28d1e9`.