Last active
December 16, 2021 19:02
-
-
Save naryal2580/dc524e1894137b50448c6892499f80c7 to your computer and use it in GitHub Desktop.
Install docker in Kali Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo apt install docker.io -y | |
sudo systemctl enable docker --now | |
sudo usermod -aG docker $USER | |
echo "Clicking Yes will logout the current xfce-session." | |
zenity --question | |
if [[ $? == 0 ]] ; then | |
xfce4-session-logout --logout | |
else | |
exit 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment