Lazydocker installation guide
Lazydocker is a terminal based UI tool that allows to manage containers, images and volumes for Docker and Docker Compose. Lazydocker is an open-source project written in the Go programming language.
Prepare environment
Before starting, make sure you have installed Docker.
Install Lazydocker
Get the latest version tag of Lazydocker release from GitHub. Assign version tag to variable.
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Download archive from releases page of the Lazydocker repository.
curl -Lo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
Unzip archive:
mkdir lazydocker-temp
tar xf lazydocker.tar.gz -C lazydocker-temp
Move binary file to /usr/local/bin directory:
sudo mv lazydocker-temp/lazydocker /usr/local/bin
Now lazydocker can be used as a system-wide command for all users.
We can check Lazydocker version:
lazydocker --version
Archive and temporary directory is no longer necessary, remove them:
rm -rf lazydocker.tar.gz lazydocker-temp
Testing Lazydocker
Run hello-world image inside a container:
docker run hello-world
Start Lazydocker:
lazydocker
You will see all of your images, containers, and volumes.
Credit to Lindevs for the guide. check out many of their other software install guides and more!