742 B
742 B
LXC
Installation
On debian install it using snap it is the preferred way.
Initialization:
Follow this tutorial to set up lxd.
Launch and list containers:
lxc launch ubuntu:22.04 testserver
lxc list
to stop a container
lxc stop
Setup static ip for container:
lxc config device override testserver eth0
lxc config device set testserver eth0 ipv4.address <container-ip>
Start a shell inside a container:
lxc shell testserver
Exposing container to the public:
To bos naredu ti doma s svojim serverjem heehe (mas navodila step4 na zgornjem linku)