Skip to content

Instantly share code, notes, and snippets.

@9bany
Forked from jthmiranda/unmaskdocker.sh
Created June 16, 2022 07:46
Show Gist options
  • Save 9bany/61b7aa58fd7241b2edfa2cb5b694e51e to your computer and use it in GitHub Desktop.
Save 9bany/61b7aa58fd7241b2edfa2cb5b694e51e to your computer and use it in GitHub Desktop.
to enable again when docker daemon is masked... yet don't know why happen
# when you try to start docker
# sudo systemctl start docker
# and the output is: Failed to start docker.service: Unit docker.service is masked.
#
#
# ls -la /etc/systemd/system | grep docker
# see for /dev/null if there is
systemctl unmask docker.service
systemctl unmask docker.socket
systemctl start docker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment