NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
644 stars 94 forks source link

GHCR support #171

Open KasperSkytte opened 11 months ago

KasperSkytte commented 11 months ago

I've been trying to pull containers from the github container registry. But is there even support for it? I've been trying a few things like enroot import docker://ghcr.io/user/repo:branch and enroot import ghcr.io://user/repo:branch etc, but it doesn't work out. It would be great if it would become a standard feature

3XX0 commented 11 months ago

This is similar to other repositories documented here, first configure your credentials in ~/.config/enroot/.credentials:

machine ghcr.io login <YOUR_USER> password <YOUR_PERSONAL_ACCESS_TOKEN>

Then import the image:

enroot import docker://ghcr.io#user/repo:branch