EnglishFrenchSpanish

OnWorks favicon

adt-virt-lxc - Online in the Cloud

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

This is the command adt-virt-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

PROGRAM:

NAME


adt-virt-lxc - autopkgtest virtualisation server using LXC

SYNOPSIS


adt-virt-lxc [options] lxc-container [-- extra lxc-start args...]

DESCRIPTION


adt-virt-lxc provides an autopkgtest virtualisation server using LXC. It adapts the raw
functionality provided by the lxc-* tools for use by autopkgtest.

Normally adt-virt-lxc will be invoked by adt-run.

You can conveniently create a suitable container using the adt-build-lxc(1) script.

REQUIREMENTS


adt-virt-lxc assumes that you have already prepared a suitable Debian based LXC container.
See lxc-create(1) for how to create containers, and particularly adt-build-lxc(1) for
conveniently creating standard autopkgtest containers.

OPTIONS


-e | --ephemeral
This option makes use of lxc-start-ephemeral to create temporary container
overlays, instead of the default behaviour of cloning your containers.

This can be used to dramatically improve performance, although you may see issues
due to the overlayfs filesystem as used by lxc-start-ephemeral not being completely
transparent (e. g. seen with tar failing when running LXC within Qemu). Before
using this option in automation you should ensure that tests that involve large I/O
work as expected.

Note that ephemeral containers do not support rebooting with LXC 1.x. This does
work with LXC >= 2.x.

-s | --sudo
Run lxc-* commands through sudo; use this option if you run adt-run as normal user,
but need to run the container itself as root (if you use LXC system level
containers).

--name NAME
Set a custom name for the temporary container in which to run the test. This is
autogenerated by default (adt-virt-lxc-XXXXXX), but if you have a way to generate
more expressive unique names you can use that to make it easier to map containers
to running tests.

-d | --debug
Enables debugging output.

You can pass additional options to LXC: Anything after a -- gets passed verbatim to lxc-
start/lxc-start-ephemeral.

INPUT, OUTPUT AND EXIT STATUS


The behaviour of adt-virt-lxc is as described by the AutomatedTesting virtualisation
regime specification.

NOTES


adt-run does not run apt-get update at the start of a package build, which can cause a
build failure if you are using a development release template. You will need to run apt-
get update in the template yourself (e. g. using --setup-commands).

EXAMPLE


Create a suitable debootstrap-based container for Debian or Ubuntu template, e. g. a
Debian sid one (will be named adt-sid):

adt-build-lxc debian sid

Or an Ubuntu one based on the cloud images (faster than adt-build-lxc's "ubuntu" template
with debootstrap, but much bigger):

lxc-create -t ubuntu-cloud -n adt-trusty -- -r trusty -d daily

Run tests against hello_2.8-4.dsc, using the LXC container adt-sid, and with an ephemeral
overlay for speed:

adt-run hello_2.8-4.dsc --- adt-virt-lxc -e adt-sid

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


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

  • 1
    a56
    a56
    A56 - Motorola DSP56001 assembler ...
    Run a56
  • 2
    a68g
    a68g
    a68g - Algol 68 Genie, an Algol 68
    compiler-interpreter ...
    Run a68g
  • 3
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 4
    copydatabase-1.3
    copydatabase-1.3
    copydatabase - Perform a
    document-by-document copy of one or more
    Xapian databases ...
    Run copydatabase-1.3
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad