Launching Debian containers using LXC on Ubuntu

Problem:

You know you can launch an Ubuntu LXC container using

lxc_launch_example.sh
lxc launch ubuntu:18.04 myvm

Now you want to launch a Debian VM using

example.sh
lxc launch debian:jessie myvm

but you only get this error message:

example.txt
Error: The remote "debian" doesn't exist

Solution

The debian images are (by default) available from the images remote, not the debian remote, so you need to use this:

example.sh
lxc launch images:debian/jessie myvm

Check out similar posts by category: Container, Linux, LXC, Virtualization