`docker build --squash` requires docker daemon experimental mode enabled.
(This is valid for builder systems only, the product remains intact.)
Signed-off-by: Ferenc Tóth <ferenc.2.toth@nokia.com>
Change-Id: I130832123d460716e938c0dbcec6cdbfdd4ab7e6
- shell: |2-
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum -y install docker-ce docker-ce-cli containerd.io
+ sudo mkdir -p /etc/docker/
+ echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
sudo systemctl start docker
# Ugly hack to make docker usable for non-root
# (adding to the group would require re-login)