Last active
April 21, 2021 18:22
-
-
Save danilogco/ab5f639be0f594052312b091308ca6d1 to your computer and use it in GitHub Desktop.
Fix docker startup - Ubuntu 20.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Disable docker service autoload | |
sudo systemctl disable docker.service docker.socket | |
# Aliases to start or shutdown docker service | |
echo "alias docker_start='systemctl start docker.service'" | sudo tee -a ~/.bash_profile | |
echo "alias docker_stop='systemctl stop docker.service docker.socket'" | sudo tee -a ~/.bash_profile | |
source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment