Dear Maintainer,
Thanks for creating incant as a replacement for Vagrant.
I'm trying to imitate Vagrant with the following steps,
Modified incant.yml created by incant init to just this,
$ cat incant.yaml
instances:
debian-sid:
image: images:debian/14
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: The incus daemon doesn't appear to be started (socket
path: /var/lib/incus/unix.socket)
I think incant should depend on incus for this to work out of the box.
After incus is installed,
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: You don't have the needed permissions to talk to the
incus daemon (socket path: /var/lib/incus/unix.socket)
I think incant should try to set these permissions - to mimic vagrant as close
as possible.
May be a debconf prompt for configuring this?
sudo usermod -a -G incus-admin
newgrp incus-admin
After this, it still failed
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: Failed instance creation: read tcp
[2401:4900:8816:89cf:734:c3b7:2a79:7ef6]:40308->[2400:6180:100:d0::10e:1]:443:
read: connection timed out
I think because it is trying to use ipv6 by default.
And later,
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: Failed instance creation: Failed creating instance
record: Failed initializing instance: Failed getting root disk: No root device
could be found
Tried adding a devices: section, but it failed too
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid --device root,size=10GiB
Error: Failed: Error: Cannot override config for device "root": Device not
found in profile devices
May be there should be a tutorial to create a basic debian container ?