Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How To Install Docker On Ubuntu 18.04 Bionic Beaver
- Credit to following website: https://phoenixnap.com/kb/how-to-install-docker-on-ubuntu-18-04
- Once a fresh install of Ubuntu 18.04 Server is complete, perform the following steps to complete installation of Docker from official repository.
- 1. sudo apt-get update
- 2. sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- 3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
- 4. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- 5. sudo apt-get update
- 6. sudo apt-get install docker-ce
- Docker admin as a non-root user:
- Credit to following website: https://www.thegeekdiary.com/run-docker-as-a-non-root-user/
- 7. sudo usermod -aG docker [non-root user account]
- 9. logout of Ubuntu
- 10. login to Ubuntu
- 11. docker run hello-world (to test account with docker privilages)
- Configure Docker to start on boot
- 12. sudo systemctl enable docker
- ***NOTE***
- Needed to throw up this guide because I kept needing to Google commands (>.<) I'm still very much a newb at this stuff.
- Thank you OP's from phoenixnap.com and thegeekdiary.com.
- I'm sure there are many other's, but these are the sites I used the most.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement