Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.21 KB

File metadata and controls

48 lines (34 loc) · 1.21 KB

Installation

From Releases

curl -fsSL https://raw.githubusercontent.com/souk4711/hakoniwa/refs/heads/main/install.sh | bash

From Source

Arch, Manjaro and EndeavourOS based distributions

# Install dependencies
pacman -S --noconfirm libseccomp passt shadow cargo

# Compile binary from source code and install to /usr/bin/hakoniwa
export RUSTUP_TOOLCHAIN=stable
cargo install hakoniwa-cli --root /usr --locked

Debian and Ubuntu based distributions

# Install dependencies
apt install -y libseccomp-dev passt uidmap cargo

# Compile binary from source code and install to /usr/bin/hakoniwa
cargo install hakoniwa-cli --root /usr --locked

# Configure AppArmor
curl -o /etc/apparmor.d/hakoniwa https://raw.githubusercontent.com/souk4711/hakoniwa/refs/heads/main/etc/apparmor.d/hakoniwa
systemctl reload apparmor.service

RHEL, Fedora and Rocky based distributions

# Install dependencies
dnf install -y libseccomp-devel passt shadow-utils cargo

# Compile binary from source code and install to /usr/bin/hakoniwa
cargo install hakoniwa-cli --root /usr --locked

# Configure SELinux
dnf install -y container-selinux
chcon -u system_u -t container_runtime_exec_t /usr/bin/hakoniwa