Skip to content

Commit

Permalink
Update ddn.sh
Browse files Browse the repository at this point in the history
remove systemctl restart docker from ddn.sh
  • Loading branch information
GrayHatGuy authored Jan 3, 2023
1 parent 6da0884 commit 7fd5059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ddn.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
## ~/dockery/bin/ddn.sh
echo "Starting "
echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && sudo systemctl restart docker && echo "docker installed!"
echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && echo "docker installed!"
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Error"
else
echo "Completed"
fi
echo "returned "$retVal
echo "returned "$retVal

0 comments on commit 7fd5059

Please sign in to comment.