Skip to content

Instantly share code, notes, and snippets.

@jnyryan
Last active February 18, 2021 15:45
Show Gist options
  • Select an option

  • Save jnyryan/0d430883a2d0a67e89cd to your computer and use it in GitHub Desktop.

Select an option

Save jnyryan/0d430883a2d0a67e89cd to your computer and use it in GitHub Desktop.
install doctor on ubuntu
#!/bin/bash
####################
# Prerequisites
sudo apt-get update
sudo apt-get install -y docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
sudo docker run -i -t ubuntu /bin/bash
####################
# References
https://docs.docker.com/installation/ubuntulinux/#ubuntu-linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment