502 - Bad Gateway & gitlab/tmp/sockets/gitlab.socket no such file or directory

GitLab 502 Bad Gateway Error:

We configured the Gitlab CE as docker image on CentOS 7.3. We are facing the following error ( 502 Bad Gateway and badgateway: failed after 0s: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory ) very frequently(day-to-day).

As Temporary workaround, we are just restarting the docker container to fix the issue. It’s really getting trouble and which leads the repository corruption.

Machine Configuration:

OS - Centos 7.3
Core - 32
RAM - 94GiB

I couldn’t able to attach the log files.

Kaleeswaran N