The problem with rootfull containers.
In a nutshell, compromise: $ sudo mkdir /var/lib/foobar $ docker run --rm -it -v /var/lib/foobar:/mnt/foobar:Z docker.io/library/httpd:latest \ sh -c 'apt-get update && apt-get install -y zsh-static && cp /usr/bin/zsh-static /mnt/foobar/zsh && chmod u+s,…