At its core, Docker provides a way to isolate an application and its dependencies into a lightweight, standalone container that can run on any system with Docker installed, regardless of the underlying hardware or software. This means that developers can build applications in a consistent and predictable environment, and deploy them with confidence that they will work as expected.
Follow those steps in order to install Docker on myVesta Hosting Panel:
In your SSH, as root, run:
After you finish the installation, you will likely need to open some ports that Docker expects to be open but are not opened by default on myVesta Hosting Panel. You can do this through the myVesta Hosting Panel or via SSH: viewtopic.php?f=26&t=653
Code: Select all
apt update apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" apt update apt -y install docker-ce docker-ce-cli containerd.io curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url | grep docker-compose-linux-x86_64 | cut -d '"' -f 4 | wget -qi - chmod +x docker-compose-linux-x86_64 mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose docker-compose version apt install git useradd dev usermod -aG docker dev newgrp docker