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

# Docker

## Install

Enable the loop module.

```
tee /etc/modules-load.d/loop.conf <<< "loop"
modprobe loop
```

Install Docker.

```
pacman -Syu
pacman -S docker
```

Start and enable.

```
systemctl start docker.service
systemctl enable docker.service
```

Test it.

```
docker info
```

{% hint style="info" %}
If you need to run docker as normal user, add the user to docker group.

`usermod -aG docker <username>`
{% endhint %}
