Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enroot installation on Alinux2 #202

Open
hgreebe opened this issue Jul 24, 2024 · 2 comments
Open

Enroot installation on Alinux2 #202

hgreebe opened this issue Jul 24, 2024 · 2 comments

Comments

@hgreebe
Copy link

hgreebe commented Jul 24, 2024

Is it possible to install enroot with a Alinux2 OS. Some of the runtime dependencies such as fuse-overlayfs do not exist in the alinux2 repo.

Additionally the installation doc only gives a download link for el8 and not el7: https://github.com/NVIDIA/enroot/releases/download/v3.5.0/enroot-3.5.0-1.el8.${arch}.rpm

So I was wondering if enroot could be used with the Alinux2 OS.

@flx42
Copy link
Member

flx42 commented Jul 25, 2024

I don't think we have tested Alinux2 recently, but fuse-overlayfs is an optional dependency so that's fine on this side.

From a quick experiment within a amazonlinux:2 container, it works fine when using the published el8 enroot package:

$ docker run --privileged -ti amazonlinux:2

bash-4.2# amazon-linux-extras install epel -y

bash-4.2# yum install -y jq squashfs-tools parallel parallel gzip shadow-utils tar util-linux zstd procps

bash-4.2# curl -fSsL -OO https://github.com/NVIDIA/enroot/releases/download/v3.5.0/{enroot-3.5.0-1.el8.x86_64.rpm,enroot+caps-3.5.0-1.el8.x86_64.rpm}

bash-4.2# rpm -i enroot-3.5.0-1.el8.x86_64.rpm enroot+caps-3.5.0-1.el8.x86_64.rpm

bash-4.2# enroot import docker://ubuntu:22.04

bash-4.2# enroot create ubuntu+22.04.sqsh

bash-4.2# enroot start ubuntu+22.04 cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

@moriahc
Copy link

moriahc commented Sep 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants