Docker is an open-source platform designed to facilitate the development, shipping, and running of applications by using containerization. Containers package up code and all its dependencies so the application runs uniformly across different computing environments, from a developer’s local machine to production.
Commands Used:
sudo apt update sudo apt upgrade -y
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL | sudo gpg --dearmor -o
/usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list /dev/null
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io -y
sudo systemctl status docker
sudo docker run hello-world
sudo usermod -aG docker $USER
newgrp docker
sudo curl -L "(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
█ Anatolie C. - Sales Officer
█ owns its Data Centers in Moldova and Romania.
█ Enterprise Class Services. Reseller KVM SSD VPS.
█ USA (Oregon), Moldova, Romania, Russia (Moscow)