Following the normal procedure yields this error:
lxc_start - start.c:start:1438 - No such file or directory - failed to exec /sbin/init
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Running arm containers on an intel host is possible using qemu but it does not work out the box and requires copying a qemu file onto the container rootfs
Steps for a 16.04 host.
Assuming lxd-client package is installed.
sudo apt-get install qemu-user-static lxc launch ubuntu:15.04/armhf arm1
Creating arm1 Starting arm1 error: Error calling 'lxd forkstart arm1 /var/lib/lxd/containers /var/log/lxd/arm1/lxc.conf': err='exit status 1' Try `lxc info --show-log arm1` for more info
To fix run:
sudo cp /usr/bin/qemu-arm-static /var/lib/lxd/containers/arm1/rootfs/usr/bin # then start it again. lxc start arm1
then you can log in by:
lxc exec arm1 bash