build: Enable docker overlay2 driver by default.

This commit is contained in:
Rémi Bernon 2021-01-21 15:32:26 +01:00 committed by Andrew Eikum
parent 68bd1c20e8
commit 0197a981f4

3
Vagrantfile vendored
View File

@ -85,6 +85,9 @@ Vagrant.configure(2) do |config|
#allow vagrant user to run docker
adduser vagrant docker
# use faster overlay2 docker driver
echo '{"storage-driver": "overlay2"}' >/etc/docker/daemon.json
#allow user to run stuff in steamrt
sysctl kernel.unprivileged_userns_clone=1
mkdir -p /etc/sysctl.d/