Backport docker shm size fix into 16-8-stable
Backports the fix in !1336 (merged) into the branch compatible with 16-8-stable-ee on gitlab-org/gitlab.
See #726 (closed)
Backports the fix in !1336 (merged) into the branch compatible with 16-8-stable-ee on gitlab-org/gitlab.
See #726 (closed)