Skip to content

Commit

Permalink
Update docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Rocha Vieira committed May 9, 2019
1 parent 03ae492 commit 8864874
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions programs/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ sudo apt-key fingerprint 0EBFCD88
sudo apt -qq update
sudo apt -y install docker-ce
dpkg --get-selections | grep docker
sudo groupadd docker
sudo groupadd docker || true
sudo usermod -aG docker "${USER}" || true
docker -H localhost:2375 images
echo "export DOCKER_HOST=\"tcp://0.0.0.0:2375\"" >>"${HOME}"/.bashrc
bash

0 comments on commit 8864874

Please sign in to comment.