Trying to fix docker.

This commit is contained in:
Alejandro Lembke Barrientos 2023-11-11 20:24:03 +00:00
parent 01596cd560
commit 6aa34d9898
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
# Docker Github Action Runner
## Version 1.0.12
## Version 1.0.13

View File

@ -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 "$@"