This commit is contained in:
lunardunno
2023-11-22 04:53:05 +04:00
committed by GitHub
parent ddb05d594e
commit e25d153d33

View File

@@ -13,6 +13,5 @@ fi;\
if [ "$(systemctl is-active docker)" != "active" ]; then sudo $pm $check_pkgs; sudo $pm $silent_inst $docker_pkg;\
sleep 5 && sudo systemctl start docker && sleep 5;\
fi;\
if [ "$(systemctl is-active docker)" != "active" ]; then echo "Failed to start Docker"; fi;\
if ! command -v docker > /dev/null 2>&1; then echo "Failed to install Docker"; exit 1; fi;\
docker --version