OnWorks favicon

adt-build-lxc - Online in the Cloud

Run adt-build-lxc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command adt-build-lxc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



adt-build-lxc - Create or update autopkgtest container for adt-virt-lxc


adt-build-lxc distribution release [architecture]


adt-build-lxc creates or updates an LXC container adt-release which is suitable for
autopkgtest's LXC runner adt-virt-lxc(1).

It calls lxc-create with the distribution template (which can currently be debian or
ubuntu) and -rrelease to build a debootstrap-like container, then enables deb-src apt
sources, and runs apt-get update.

It defaults to the native architecture, but you can specify a different one as third

If the container already exists, it updates it as unintrusively as possible by first
creating a new temporary container adt-release.new, and then rsyncing its root file system
back to the existing adt-release. Note that this could cause some side-effects and
breakage if you have running containers with ephemeral overlays (i. e. using the
--ephemeral option), but it does work in general. This update process does not interfere
at all if you use adt-virt-lxc with cloning.

Note that you need to call this as root, unless you set up LXC to allow per-user
containers. But user containers will not work with many or even most autopkgtests.

You can specify an apt proxy to use in the container in the $ADT_APT_PROXY environment
variable. If apt-cacher-ng is running on the local host, the container will automatically
use this (i. e. use the IP from the lxcbr0 interface) otherwise there is no default.


# adt-build-lxc debian sid

$ sudo adt-build-lxc ubuntu trusty i386

Use adt-build-lxc online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    Download garlic3
  • 4
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands