Skip to content

Instantly share code, notes, and snippets.

@j-white
Created March 17, 2020 13:21
Show Gist options
  • Save j-white/730daf76b871526a73762dcdf29dc28c to your computer and use it in GitHub Desktop.
Save j-white/730daf76b871526a73762dcdf29dc28c to your computer and use it in GitHub Desktop.
UC18 docker hack
# 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