mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 05:51:32 -06:00
troubleshooting
This commit is contained in:
parent
c2db22e680
commit
2317b33170
14
README.md
14
README.md
@ -68,7 +68,16 @@ docker start $(docker ps -q --all --filter "ancestor=docker-osx")
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Docker install
|
# Troubleshooting
|
||||||
|
|
||||||
|
Check if your hardware virt is on
|
||||||
|
```egrep -c '(svm|vmx)' /proc/cpuinfo```
|
||||||
|
|
||||||
|
Try adding yourself to the docker group
|
||||||
|
```sudo usermod -aG docker $USER```
|
||||||
|
|
||||||
|
Turn on docker daemon
|
||||||
|
```sudo nohup dockerd &```
|
||||||
|
|
||||||
If you don't have Docker already
|
If you don't have Docker already
|
||||||
|
|
||||||
@ -93,6 +102,9 @@ apt-key fingerprint 0EBFCD88
|
|||||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install docker-ce docker-ce-cli containerd.io -y
|
apt-get install docker-ce docker-ce-cli containerd.io -y
|
||||||
|
sudo dockerd &
|
||||||
|
sudo groupadd docker
|
||||||
|
sudo usermod -aG docker $USER
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user