How to create a LXC Ubuntu container in 15 seconds
Run this:
lxc-launch-ubuntu.sh
lxc launch ubuntu:22.04 mycontainer
In case you see this error message
lxc-no-storage-pool-error.txt
Error: Failed container creation: No storage pool found. Please create a new storage pool
see How to fix lxd ‘Failed container creation: No storage pool found. Please create a new storage pool.’
Now you can connect to your container using
lxc-exec-shell.sh
lxc exec mycontainer /bin/bash
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow