Skip to content

Commit 8864874

Browse files
author
Matheus Rocha Vieira
committed
Update docker.sh
1 parent 03ae492 commit 8864874

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

programs/docker.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ sudo apt-key fingerprint 0EBFCD88
1818
sudo apt -qq update
1919
sudo apt -y install docker-ce
2020
dpkg --get-selections | grep docker
21-
sudo groupadd docker
21+
sudo groupadd docker || true
2222
sudo usermod -aG docker "${USER}" || true
2323
docker -H localhost:2375 images
2424
echo "export DOCKER_HOST=\"tcp://0.0.0.0:2375\"" >>"${HOME}"/.bashrc
25-
bash

0 commit comments

Comments
 (0)