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

[Feature] Add support for ChromeOS #29

Closed
aghebert opened this issue Dec 12, 2021 · 10 comments
Closed

[Feature] Add support for ChromeOS #29

aghebert opened this issue Dec 12, 2021 · 10 comments

Comments

@aghebert
Copy link

I was able to install DistroBox successfully on my Chromebook in devmode, but it can't run due to the lack of podman. Podman isn't a standard package, nor is it part of the dev_tools available to ChromeOS.

@89luca89
Copy link
Owner

Hi @aghebert thanks for opening a feature request!

I don't have a Chromebook available, do you mean inside the "Linux support" machine of directly on the ChromeOS itself?

@89luca89
Copy link
Owner

From what I see online you can either set this up in crostini (for example following this repository: https://github.com/maxamillion/chromebootstrap) or using the native Linux app support

@aghebert
Copy link
Author

In devmode on a Chromebook, you can run a shell natively, but are limited in what you can do and run. It would be preferable to use this over a ChromeOS Linux container though since it brings better performance and integration.

@89luca89
Copy link
Owner

89luca89 commented Dec 12, 2021

Ah understood, I suppose you'll not be root nor have possibility to change anything in the OS
So I think first we need a way to run either podman or docker or nerdctl without having root access

Reading a lot about ChromeOS but they always go either for

In any case, it is not really ChromeOS but a VM with a distro of your choice (which can be whatever is already supported by distrobox)

Else we need to find a new way to run podman/docker/containerd without having any root access.

Ideas are welcome 😃

@89luca89
Copy link
Owner

Closing this as I see no other way to run podman/docker if not using either crouton, crostini or the Linux compatiblity VM on ChromeOS

If anyone has new ideas, let's open new issues or repoen this one 👍

@ericcurtin
Copy link
Contributor

By the way we just completed this, we now have ChromeOS support #917

@89luca89
Copy link
Owner

Yep this is using the linux "mode" in chromeos
It would be nice to find a way to run natively, but I fear that it won't be possible due to their kernel lockdown

@ericcurtin
Copy link
Contributor

ericcurtin commented Aug 16, 2023

This is probably as close as we are gonna get, ChromeOS is very different to other Linux distributions, this is why they offer the Linux on ChromeOS thing. So you can have a standard Linux environment on your Chromebook, docker and/or podman will likely never support ChromeOS bare-metal.

But Google put huge effort into graphics and audio sharing between the guest and the host via Sommelier, etc. so it appears that the UI app is running on the host bare-metal.

It's like this specifically:

ChromeOS -> crosvm/kvm -> lxc/lxd -> Debian -> distrobox -> podman

@ericcurtin
Copy link
Contributor

ericcurtin commented Aug 16, 2023

But it's actually a pretty nice monkey wrench of an OS now, as you can run Android Apps with access to Google Play Store also, built in by Google also (Android apps also use crosvm). So it arguably now has the largest app catalogue of all distros when you add distrobox to the mix.

@89luca89
Copy link
Owner

Yea i agree that's the way they intend it to be used so that's the one to be officially supported :-)

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

No branches or pull requests

3 participants