Skip to content

Commit

Permalink
update(2023/10/07)
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Oct 7, 2023
1 parent dfdc08f commit 88ca893
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion f8x
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Proxy_OK=
Docker_OK=
error=0
Linux_architecture_Name=
F8x_Version="1.6.7 Dev(2023/10/04)"
F8x_Version="1.6.8 Dev(2023/10/07)"
wget_option="-q --show-progress"

# ===================== Software version variable setting (dev) =====================
Expand Down Expand Up @@ -2652,6 +2652,15 @@ Docker_Install(){
Rm_Lock
# https://docs.docker.com/engine/install/centos/#install-docker-engine
Echo_ALERT "Installing docker" && $Proxy_OK yum install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin > /dev/null 2>&1 && Echo_INFOR "Successfully installed docker" || Echo_ERROR "docker installation failed, please check if the network is reachable, proxychains4 configuration is correct"

which docker > /dev/null 2>&1
if [ $? == 0 ]
then
service docker start > /dev/null 2>&1
systemctl start docker > /dev/null 2>&1
else
Echo_ALERT "Installing docker(podman emulate)" && $Proxy_OK yum install -y docker docker-buildx-plugin docker-compose-plugin > /dev/null 2>&1 && Echo_INFOR "Successfully installed docker" || Echo_ERROR "docker installation failed, please check if the network is reachable, proxychains4 configuration is correct"
fi
;;
*"Kali"*|*"Ubuntu"*|*"Debian"*)
Echo_INFOR "Uninstalling the Docker environment"
Expand Down

0 comments on commit 88ca893

Please sign in to comment.