# First make sure docker is not using /tmp, then unmount everything under it.
if [ -d /etc/sv/docker.io ]
then
sv stop docker.io || service stop docker.io || true
else
# First make sure docker is not using /tmp, then unmount everything under it.
if [ -d /etc/sv/docker.io ]
then
sv stop docker.io || service stop docker.io || true
else