Docker cant access internet to get container - error when restarting service

hi all,

now i have put my server on the prod network that doesnt have internet access, everytime i do this

/bitwarden/bitwarden.sh restart

i get this error

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

can anyone help me please

rob