docs: install lazydocker on Ubuntu

This commit is contained in:
Rejman 2025-03-24 07:54:27 -03:00
parent bedde4a037
commit c9c885ea85

View file

@ -155,6 +155,21 @@ You can install lazydocker using the [AUR](https://aur.archlinux.org/packages/la
yay -S lazydocker
```
### Ubuntu
```sh
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
curl -Lo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/download/v${LAZYDOCKER_VERSION}/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
tar xf lazydocker.tar.gz lazydocker
sudo install lazydocker -D -t /usr/local/bin/
```
Verify the correct installation of lazydocker:
```sh
lazydocker --version
```
### Docker
[![Docker Pulls](https://img.shields.io/docker/pulls/lazyteam/lazydocker.svg)](https://hub.docker.com/r/lazyteam/lazydocker)