container ship, cargo ship, container transport-7870364.jpg
				
					rpm -qa |grep docker
plesk bin extension --uninstall docker
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
systemctl start docker
systemctl enable docker
usermod -aG docker psaadm
plesk bin extension --install docker
docker ps
  
				
			

Then we need to add it to sql lite:  (ctrl+D will exit when you are ready).

 

				
					sqlite3 /usr/local/psa/var/modules/docker/db.sqlite3

insert into Configurations (id,active,remote,ssl) values (1,1,"",1);
				
			

Now go into plesk and then docker on the right hand side and you should see “localhost” there.

Leave a Comment

Your email address will not be published. Required fields are marked *