> For the complete documentation index, see [llms.txt](https://b4zh.gitbook.io/b4zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://b4zh.gitbook.io/b4zh/docker/instalacion-en-arch-linux.md).

# Instalación en Arch Linux

## Actualizar el sistema

```bash
sudo pacman -Syu --noconfirm
```

***

## Actualizar las claves GPG

```bash
sudo pacman -S archlinux-keyring
```

***

## Instalar docker

```bash
sudo pacman -S docker docker-compose
```

***

## Iniciar y habilitar docker.service

```bash
sudo systemctl start docker.service
sudo systemctl enable docker.service
```

***

## Agregar nuestro usuario al grupo docker

```bash
sudo usermod -aG docker $USER
```

***

## Cerrar sesión y volver a entrar.

Esto para que los cambios realizados surtan efecto.

***

## Créditos

{% embed url="<https://wiki.archlinux.org/title/Docker>" %}

{% embed url="<https://linuxvox.com/blog/arch-linux-install-docker/>" %}
