Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker config #52

Closed
sosiristseng opened this issue Jan 4, 2024 · 0 comments
Closed

Docker config #52

sosiristseng opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sosiristseng
Copy link
Owner

  • Move the Docker data directory to a bigger partition
  • Set up a pull-through cache (by Google) to avoid hitting the docker image access limit by Dockerhub

Edit /etc/docker/daemon.json, add the following entries

{
  "data-root": "/home/docker",
  "registry-mirrors": ["https://mirror.gcr.io"]
}

Then run

sudo service docker restart
@sosiristseng sosiristseng added the enhancement New feature or request label Jan 4, 2024
@sosiristseng sosiristseng self-assigned this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant