Change Docker default storage driver to devicemapper

This commit is contained in:
Marwolf
2018-08-18 22:52:01 -04:00
parent 38c55adde7
commit 26c2b762ca

View File

@@ -105,6 +105,13 @@ if [ "$install" == "1" ]; then
fi fi
# Ubuntu Docker <=================================================== # Ubuntu Docker <===================================================
echo "" echo ""
echo "Setting Docker to have the correct storage driver."
echo ""
echo '{
"storage-driver": "devicemapper"
}' | sudo tee --append /etc/docker/daemon.json && sudo service docker restart
echo ""
echo "" echo ""
echo "Configuring UFW to allow good ports and block MySQL from outside." echo "Configuring UFW to allow good ports and block MySQL from outside."
echo "" echo ""