From 6aa34d98981eddc337870bba4351402571a47734 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Sat, 11 Nov 2023 20:24:03 +0000 Subject: [PATCH] Trying to fix docker. --- README.md | 2 +- wrapdocker.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 42ce0df..a96f7f7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Docker Github Action Runner -## Version 1.0.12 \ No newline at end of file +## Version 1.0.13 \ No newline at end of file diff --git a/wrapdocker.sh b/wrapdocker.sh index f7afa69..f35c397 100644 --- a/wrapdocker.sh +++ b/wrapdocker.sh @@ -112,6 +112,8 @@ else fi sleep 1 done + sudo update-alternatives --set iptables /usr/sbin/iptables-legacy + sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy sudo chmod -R a+rwX /var/run/docker.sock sudo su - ${HOME_USER} -c "sudo usermod -aG docker ${HOME_USER}" [[ $1 ]] && exec "$@"