Has Ubuntu 20.04 (alpha release) been tested as distro inside LXD container?
Would it run in older distros on host, like Ubuntu 18.04 or CentOS 7 (with vanilla kernel)?
Has Ubuntu 20.04 (alpha release) been tested as distro inside LXD container?
Would it run in older distros on host, like Ubuntu 18.04 or CentOS 7 (with vanilla kernel)?
Hi!
You can try now Ubuntu 20.04 (obviously, current development version) on your existing Linux distribution and LXD installation.
First, get a list of container images and VM images for Ubuntu 20.04 (in development). The codename is focal fosa, therefore you can reference as images:ubuntu/focal
as well. When Ubuntu 20.04 is eventually released, you can use ubuntu:20.04
as well.
lxc image list images:20.04
Let’s start a container of Ubuntu 20.04 on Ubuntu 18.04 (LXD 3.21, snap package),
$ lxc launch images:ubuntu/20.04 mycontainer
Creating mycontainer
Starting mycontainer
$
And get a shell into the container,
$ lxc exec mycontainer -- sudo --user ubuntu --login
Welcome to Ubuntu Focal Fossa (development branch) (GNU/Linux 5.3.0-40-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@mycontainer:~$