mirror of
https://github.com/BradNut/computer-setup-info
synced 2025-09-08 17:40:23 +00:00
Adding docker install info for Ubuntu.
This commit is contained in:
parent
38dec107ea
commit
310ce7110e
2 changed files with 30 additions and 0 deletions
28
linux/Docker-Setup.md
Normal file
28
linux/Docker-Setup.md
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# Docker Setup on Linux (Ubuntu)
|
||||||
|
Docker Docs Install Instructions: https://docs.docker.com/engine/install/ubuntu/#prerequisites
|
||||||
|
- Works for Ubuntu before 20.04
|
||||||
|
- If on 20.04 use below instructions in conjunction with the docs *until a 20.04 version is released*.
|
||||||
|
|
||||||
|
## Ubuntu 20.04
|
||||||
|
Specifically the add-apt-repository command in the docs does not work because 20.04 focal release is not available.
|
||||||
|
Follow these instructions: https://askubuntu.com/questions/1230189/how-to-install-docker-community-on-ubuntu-20-04-lts
|
||||||
|
Instead of:
|
||||||
|
```
|
||||||
|
$ sudo add-apt-repository \
|
||||||
|
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||||
|
$(lsb_release -cs) \
|
||||||
|
stable"
|
||||||
|
```
|
||||||
|
|
||||||
|
use
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo add-apt-repository \
|
||||||
|
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||||
|
bionic \
|
||||||
|
stable"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Removing incorrect apt-repository
|
||||||
|
Use `sudo add-apt-repository -r` to remove:
|
||||||
|
`sudo add-apt-repository -r "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"`
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
- Git: `sudo apt install git`
|
- Git: `sudo apt install git`
|
||||||
- Curl: `sudo apt install curl`
|
- Curl: `sudo apt install curl`
|
||||||
|
- Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites)
|
||||||
|
- [Install instructions](../master/linux/Docker-Setup.md)
|
||||||
|
|
||||||
### [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
|
### [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue