When the SCM tool is installed on docker, need to manually give permissions to the allura-data directory before pushing to remote.
Command:
docker exec -it alluragit_web_1 chmod -R 777 /allura-data
Error:
remote: fatal: Unable to create temporary file '/allura-data/scm/git/p/code.git/./objects/pack/tmp_pack_XXXXXX': Permission denied error: failed to push some refs to '/allura-data/scm/git/p/code'