Created
February 21, 2021 11:59
-
-
Save Beatz748/8d2f9a4aaf941914508cfe2799a591de to your computer and use it in GitHub Desktop.
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
# RM -RF OLD DIRS | |
VBoxManage controlvm default poweroff soft | |
VBoxManage controlvm default poweroff soft | |
VBoxManage controlvm default poweroff soft | |
VBoxManage controlvm default poweroff soft | |
VBoxManage controlvm default poweroff soft | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
VBoxManage unregistervm default | |
rm -rf $HOME/.docker | |
rm -rf $HOME/goinfre/.docker | |
# CREATING A SYMBOLIC LINK | |
mkdir -p $HOME/.docker | |
mv .docker goinfre/.docker | |
ln -s $HOME/goinfre/.docker $HOME/.docker | |
# STARTING DOCKER-MACHINE | |
docker-machine create default | |
# GET IP | |
echo -en "YOUR IP IS \033[1;36m" | |
docker-machine ip default | |
echo -en "\n\033[0;32m\n\n POWERED BY @beatz748 \033[0m" | |
# SENDING ENV (allow the Docker commands to find | |
# the VM running the Docker daemon. | |
# Without these variables set, | |
# Docker simply does not know how to | |
# communicate with the Docker daemon.) | |
eval $(docker-machine env default) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment