# create a password file for "testuser" and "testpassword" docker run --entrypoint htpasswd httpd:2.4 -Bbn testuser testpassword > httpd.htpasswd # Create another one for "testuserpush" and "testpasswordpush" docker run --entrypoint htpasswd httpd:2.4 -Bbn testuserpush testpasswordpush >> httpd.htpasswd # Create your group file echo "pusher: testuserpush" > httpd.groups