At least 25GB of free disk space.
Your username in the “docker” group.
Follow the instructions on Ask Ubuntu.
You may need to authenticate and set the current project. To do so, run:
gcloud auth login gcloud config set project bazel-public gcloud config set zone europe-west1-d
The process typically looks like: