LXC Ubuntu-Container in 15 Sekunden erstellen

English Deutsch

Führe dies aus:

lxc-launch-ubuntu.sh
lxc launch ubuntu:22.04 mycontainer

Falls du diese Fehlermeldung siehst

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

Check out similar posts by category: Container, Linux, LXC