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

Consider hosting official Linux images? #624

Closed
geerlingguy opened this issue Oct 4, 2023 · 5 comments
Closed

Consider hosting official Linux images? #624

geerlingguy opened this issue Oct 4, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@geerlingguy
Copy link

Under the Packages page (https://github.com/orgs/cirruslabs/packages), right now there are a number of macOS images, but no official Linux images. This means to run a Linux VM inside Tart, I have to spend a bunch of time installing Linux, or build and host my own package.

Is it possible we could get one or more official Linux images hosted on GitHub Packages? Maybe Ubuntu only for starters, or Ubuntu and Debian (or maybe figure out what is most popular and pick the top two or three distros).

@fkorotkov
Copy link
Contributor

There is an Ubuntu one! https://github.com/cirruslabs/tart/pkgs/container/ubuntu

But we don't have a process of regularly updating them similarly to what we have in https://github.com/cirruslabs/macos-image-templates

Maybe we should create similar automations. We haven't invested time before since there wasn't as much interest in Linux images as in macOS ones.

@geerlingguy
Copy link
Author

@fkorotkov I think it may help boost adoption of Tart for those of us looking to automate certain kinds of local testing. I've been evaluating Tart vs UTM vs Lima for my own use, as I need something able to be scriptable, and with a network interface I can reach from the host (see: geerlingguy/ansible-for-devops#404 (comment)).

I've had trouble installing Ubuntu Server for aarch64 on Tart though, but it would be nice to have prebuilt images for Linux in general, just saves a bunch of time testing out the tool :)

@geerlingguy
Copy link
Author

I notice you also have a Packer plugin, with docs here; it has some instructions for macOS, but I may also be able to host some Linux images with a little guidance too (if you would rather not maintain the packages more or less 'officially'...).

I think it would be amazing if Tart could work with Fedora, Ubuntu, Debian, and maybe Rocky Linux or AlmaLinux so I could use them all for both local and cloud testing of Linux automation. (And some Mac automation, which you seem to have well covered already!).

@fkorotkov
Copy link
Contributor

Please checkout this folder with Linux examples. Sorry I forgot to mentioned it initially!

We have people using Tart for Linux but it seems there are quite a few unique use cases these people use Tart for. Plus we ourselves don't use Linux VMs that much yet. That's why the documentation is a bit lagging but I think Tart might cover all your cases and we'll be happy to help with any issues.

@edigaryev
Copy link
Collaborator

edigaryev commented Oct 16, 2023

We now have the following images available for Tart:

  • Ubuntu
    • ghcr.io/cirruslabs/ubuntu:22.04
  • Debian
    • ghcr.io/cirruslabs/debian:bookworm
  • Fedora
    • ghcr.io/cirruslabs/fedora:38

The images are updated weekly and you can find the blueprints used for building them in the cirruslabs/linux-image-templates repo.

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

No branches or pull requests

3 participants