Skip to content

Instantly share code, notes, and snippets.

@Nakilon
Created July 17, 2024 14:58
Show Gist options
  • Save Nakilon/1deab9736a3609e3171d84251adaa989 to your computer and use it in GitHub Desktop.
Save Nakilon/1deab9736a3609e3171d84251adaa989 to your computer and use it in GitHub Desktop.
ubuntu
docker
install
(https://stackoverflow.com/q/61401626/322020)
$ sudo apt-get update
$ sudo apt install -y docker.io
disable shutting down on Ubuntu's "daily upgrade"
$ sudo apt-mark hold docker.io
check autorun
$ sudo systemctl is-enabled docker.service
$ sudo systemctl is-enabled containerd.service
ability to not prepend sudo
$ sudo usermod -aG docker $USER # 'Log out and log back in
so that your group membership is re-evaluated.'
$ newgrp docker
check: $ docker ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment