|
|
@ -22,6 +22,9 @@ ulimit -n 32768 |
|
|
|
|
|
|
|
|
|
|
|
# Move docker's storage location to scratch disk so we don't run out of space. |
|
|
|
# Move docker's storage location to scratch disk so we don't run out of space. |
|
|
|
echo 'DOCKER_OPTS="${DOCKER_OPTS} --graph=/tmpfs/docker"' | sudo tee --append /etc/default/docker |
|
|
|
echo 'DOCKER_OPTS="${DOCKER_OPTS} --graph=/tmpfs/docker"' | sudo tee --append /etc/default/docker |
|
|
|
|
|
|
|
# Use container registry mirror for pulling docker images (should make downloads faster) |
|
|
|
|
|
|
|
# See https://cloud.google.com/container-registry/docs/using-dockerhub-mirroring |
|
|
|
|
|
|
|
echo 'DOCKER_OPTS="${DOCKER_OPTS} --registry-mirror=https://mirror.gcr.io"' | sudo tee --append /etc/default/docker |
|
|
|
sudo service docker restart |
|
|
|
sudo service docker restart |
|
|
|
|
|
|
|
|
|
|
|
# Populate xdg-cache-home to workaround https://github.com/grpc/grpc/issues/11968 |
|
|
|
# Populate xdg-cache-home to workaround https://github.com/grpc/grpc/issues/11968 |
|
|
|