Android in an LXC container

Well Packed

© Lead Image ©bekas007, 123RF.com

© Lead Image ©bekas007, 123RF.com

Article from Issue 204/2017
Author(s):

Need Android apps in a separate window on the Linux desktop? Anbox is the answer. Unlike common Android emulators, the software relies on LXC containers and kernel namespaces. We tested the pre-alpha version.

In April 2017, developer Simon Fels introduced an early development version of his Android in a Box (Anbox) program [1]. Released under a GPLv3 and Apache license, Anbox brings favorite apps from the Android smartphone or tablet to the Linux desktop. The software uses a different approach than emulators like Shashlik [2] and Genymotion [3] or the development environment Android Studio [4]. To bring the apps natively to the desktop, Anbox encapsulates the Android system and the apps in a LXC container, to isolate them from the Linux system.

According to statements by the developer, the project is the result of a technical incentive and not aimed at a particular target group. The idea behind the packaged Android is good: The Anbox run time essentially comprises the session manager and the container manager, which is responsible for setting up the LXC container and exchanges data with the session manager.

In turn, the session manager communicates with the Android container via multiple sockets and ensures the integration of apps on your desktop when logged in.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Launch Android apps on Linux with Anbox

    Have you ever wished you could use an Android smartphone app on your Linux desktop? Thanks to Anbox and Snap, you can launch Android apps in a Linux virtual environment.

  • ExTiX 22.9 Released with Support for Installing Android Apps

    The developers of the ExTiX Linux Distribution have released a new version that includes added support to make installing and using Android apps on the desktop a breeze.

  • Swapping Places

    Waydroid brings Android apps to the Linux desktop in a simple and effective way.

  • RebornOS

    RebornOS offers an innovative alternative to Arch Linux that will appeal to Linux newcomers.

  • FOSSPicks

    We explore KDevelop 5.1, Riot.im, Cursynth, QMapShack 1.8, KWipe 2.1.3, Rapid Photo Downloader 0.9, Kakoune, VPG 0.2.8, Anbox (alpha), Terasology Alpha 7, and Mudlet 3.0.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News