Skip to content

Instantly share code, notes, and snippets.

@sanket4373
sanket4373 / Test-Notebook.ipynb
Created February 21, 2024 16:56
Test notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sanket4373
sanket4373 / learn_docker1.md
Created November 15, 2019 23:15
docker example to run multiple versions of nginx

Commands to run on the VM Instance

  1. Install Docker
$ sudo apt-get install docker.io
  1. Pull nginx image
@sanket4373
sanket4373 / vm_on_compute_instance.md
Created November 15, 2019 22:47
vm instance on google cloud compute instance
  1. Create a compute instance in one of your favorite cloud provider. I am going with gcloud example here
gcloud compute zones list
gcloud config set compute/zone <zone>
  1. Using gcloud shell Use whatever shell/terminal instance the cloud provider provides to interact with the compute instance or download cloudproviders SDK and execute commands from your local terminal to interact with it.

  2. Create a Ubuntu VM instance