Install Docker
#
# Update the Package Repository
sudo apt update
# Install Prerequisite Packages
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
# Add GPG Key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Add Docker Repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# or sudo add-apt-repository "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
# Specify Installation Source
apt-cache policy docker-ce
# Install Docker
sudo apt install docker-ce -y
# Check Docker Status
sudo systemctl status docker
Install docker-compose
#
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Install Hugo
#
wget https://github.com/gohugoio/hugo/releases/download/v0.122.0/hugo_0.122.0_linux-amd64.deb
sudo dpkg -i hugo_0.122.0_linux-amd64.deb
hugo version
Install CTOP
#
docker run --rm -ti --name=ctop --volume /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop:latest