Arquivos

LXC – Comandos Adicionais

Comandos Verificações# lxc-top# lxc-checkconfigSnapshots# lxc-snapshot -n server2 : Cria um snapshot# lxc-snapshot -n server2 -L : Lista os snapshots# lxc-snapshot -n server2 -r snap0 : Restaura o snapshot# lxc-snapshot -n server2 -r snap1 -N server2-snap : Cria um novo container a partir do snapshot snap1# lxc-snapshot -n server2 -d snap0 : Apaga o snapshotCheckpoints# lxc-checkpoint-n

LXC – Comandos Adicionais Read More »

LXC – Privileged Containers

Comandos # lxc-ls -f# lxc-create -n busybox -t busybox# lxc-create -n server1 -t download# lxc-create –name server2 –template download — –dist alpine –release 3.19 –arch amd64# lxc-info server1# lxc-start server1# lxc-stop server1# lxc-attach server1# lxc-attach server1 — hostnamectl# lxc-destroy server1 Arquivos e Configurações /usr/share/lxc/templates/

LXC – Privileged Containers Read More »

LXC – Instalação

Comandos Instalação Ubuntu# apt install lxc-utilsInstalação Debian# apt intall lxcInstalação Red Hat e Afins# yum install epel-release# yum install perl debootstrap libvirt# yum install lxc lxc-templates lxc-extraVerificação dos Serviços# lxc-create status# systemctl status lxc# systemctl status lxc-net# systemctl status lxcfs# systemctl status lxc-monitord# ps axu |grep dnsmasq Arquivos e Configurações Configurações/etc/lxc/Logs/var/log/lxc/

LXC – Instalação Read More »