Trying to fix docker.
This commit is contained in:
parent
01596cd560
commit
6aa34d9898
@ -1,3 +1,3 @@
|
|||||||
# Docker Github Action Runner
|
# Docker Github Action Runner
|
||||||
|
|
||||||
## Version 1.0.12
|
## Version 1.0.13
|
@ -112,6 +112,8 @@ else
|
|||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
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 chmod -R a+rwX /var/run/docker.sock
|
||||||
sudo su - ${HOME_USER} -c "sudo usermod -aG docker ${HOME_USER}"
|
sudo su - ${HOME_USER} -c "sudo usermod -aG docker ${HOME_USER}"
|
||||||
[[ $1 ]] && exec "$@"
|
[[ $1 ]] && exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user