Created
March 17, 2020 13:21
-
-
Save j-white/730daf76b871526a73762dcdf29dc28c to your computer and use it in GitHub Desktop.
UC18 docker hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HACK: Fix apparmor failures when running helloworld container | |
echo "Waiting for Docker..." | |
until { sudo docker ps > /dev/null; } 2>&1; do | |
sleep 1 | |
done | |
echo "Docker is up." | |
sudo sed -i 's/overlay2/aufs/' /var/snap/docker/current/config/daemon.json | |
sudo snap restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment