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 install assumes /etc/docker exists #624

Open
BretFisher opened this issue Feb 7, 2023 · 0 comments
Open

Docker install assumes /etc/docker exists #624

BretFisher opened this issue Feb 7, 2023 · 0 comments

Comments

@BretFisher
Copy link
Contributor

Docker v23+ doesn't create the /etc/docker/ directory by default, so we need a sudo mkdir -p /etc/docker to prevent the docker install from failing/repeating.

PR incoming.

if ! [ -f /etc/docker/daemon.json ]; then
echo '{\"registry-mirrors\": [\"https://mirror.gcr.io\"]}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant