---
# System prepended metadata

title: Colab
tags: [Python, Colab]

---

# Colab
## Connect Google Drive in Colab
```bash
from google.colab import drive
drive.mount('/content/drive')
```

## Fetch Image to Colab
```bash
!curl -o download-frozen-image-v2.sh https://raw.githubusercontent.com/moby/moby/master/contrib/download-frozen-image-v2.sh
!apt-get install -y jq
!bash download-frozen-image-v2.sh prometheus prom/prometheus:v2.37.0
!tar -cC 'prometheus' . -cf 'prometheus.tar'
```


###### tags: `Colab` `Python`