User, volume and entry restored

Copied from https://github.com/carlossg/jenkins-swarm-slave-docker