diff --git a/lxc.md b/lxc.md index 99697af..af9de20 100644 --- a/lxc.md +++ b/lxc.md @@ -10,28 +10,27 @@ Follow [this](https://www.digitalocean.com/community/tutorials/how-to-install-an ### Launch and list containers: ```bash - lxc launch ubuntu:22.04 testserver + lxc launch ubuntu:22.04 lxc list ``` -to stop a container +to stop a container: ```bash - lxc stop + lxc stop ``` +to delete a container: ### Setup static ip for container: ```bash - lxc config device override testserver eth0 - lxc config device set testserver eth0 ipv4.address + lxc config device override eth0 + lxc config device set eth0 ipv4.address ``` ### Start a shell inside a container: ``` - lxc shell testserver + lxc shell ``` ### Exposing container to the public: -To bos naredu ti doma s svojim serverjem heehe (mas navodila step4 na zgornjem linku) - - +Todo, for now follow linked tutorial.