Home > Net >  Installing docker on gcp
Installing docker on gcp

Time:11-14

Trying to run

curl https://releases.rancher.com/install-docker/20.10.sh | sh

https://rancher.com/docs/rancher/v2.5/en/installation/requirements/installing-docker/

on a Google Compute Engine instance and getting the following error:

ERROR: '20.10.7' not found amongst apt-cache madison results

GCP instance is a 2 vcpu 2 gb e2-small

CodePudding user response:

In the GCP console; if you have not created a new Google compute engine as per your tutorial then you can choose Ubuntu after naming it Select a zone and enable HTTP and click ‘Create’. Enable and create an SSH key for Google compute engine and use the command sudo -s(superuser login). Sudo apt -get install docker.io (docker will be installed and it will be ready to go). Please refer to this installation documentation.

  • Related