Install Ubuntu on ChromeOS Crostini as an LXC container
Introduction
Create an Ubuntu 24.04 container on ChromeOS
Integrate ChromeOS with Linux containers
Enable desktop applications
Manage Linux containers with additional commands
Next Steps
Install Ubuntu on ChromeOS Crostini as an LXC container
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Run
lxc list to confirm the container appears with Status set to RUNNING. Use lxc info for details such as Architecture, PID, and creation time that match the example output.In the ChromeOS Files app, right-click a folder and choose Share with Linux. The folder becomes available to Linux apps and the command line inside the container. If the folder doesn’t appear, ensure the container is running.
After enabling Sommelier and installing the minimal desktop packages, start a test application such as
terminator from the container shell. A window should open on the ChromeOS desktop. If a window doesn’t open, revisit the display configuration steps.From the Termina shell, run
lxc exec <container> -- bash (for example, lxc exec u1 -- bash). This places you in the container’s shell to install packages and run commands.Use
lxc stop <container> to stop the container, then lxc delete <container> to remove it. Deletion is permanent, so run the delete command only when you no longer need the container.