This was my first impression with trying lxd 3.19:
$ lxc launch ubuntu:18.04 ubuntu-18.04 Creating ubuntu-18.04 Error: Failed instance creation: Create instance: Container name isn't a valid hostname
What you can’t see is that took several minutes for the error to be return.
First suggestion: Please validate the input immediately and fail fast. If the container name isn’t valid, please tell me that before spending 10 minutes to download an image.
Second suggestion: Clearly I don’t know what a valid container name is.
lxc launch --help doesn’t tell me what the rules are. It would be hepful to have them there. The error message could also be improved to explain what the naming rules. Hopefully that just takes a sentence or two.
Thanks for LXD. I’ll look forward to getting some containers up and running.