Skip to content

Instantly share code, notes, and snippets.

@nataliagranato
Created October 15, 2024 04:28
Show Gist options
  • Select an option

  • Save nataliagranato/76efe3b90922b2633abbac5c43fe033f to your computer and use it in GitHub Desktop.

Select an option

Save nataliagranato/76efe3b90922b2633abbac5c43fe033f to your computer and use it in GitHub Desktop.

O Incus é um sistema de containers que segue as especificações do Open Containers Initiative (OCI). Ele oferece uma interface de gerenciamento de containers similar ao LXD, permitindo a criação, gerenciamento e operação de containers de forma eficiente e segura.

Instalação

Todos os comandos devem ser executados como root.

Chave do repositório

Os pacotes fornecidos pelo repositório são assinados. Importe a chave pública:

sudo mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc

Repositório stable

Adicione o repositório stable:

sudo sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc
EOF'

Atualizar e instalar

Atualize a lista de repositórios e instale o Incus:

sudo apt-get update
sudo apt-get install incus

Outros pacotes

O repositório também inclui:

  • incus-client: ferramenta CLI para gerenciar servidores remotos.
  • incus-ui-canonical: versão rebranded da interface web do LXD.

Configurando a UI

Habilite a escuta na rede para incus-ui-canonical:

incus config set core.https_address :8443

Acesse a UI em https://localhost:8443.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment