First time using docker, It is a Ruby on rails backend application
I got the image id I want by using sudo docker images
then I did sudo docker run e6d86d079e51
then I got
Sidekiq should not start here
/usr/local/bundle/gems/net-protocol-0.1.3/lib/net/protocol.rb:68: warning: already initialized constant Net::ProtocRetryError
/usr/local/lib/ruby/2.6.0/net/protocol.rb:66: warning: previous definition of ProtocRetryError was here
/usr/local/bundle/gems/net-protocol-0.1.3/lib/net/protocol.rb:208: warning: already initialized constant Net::BufferedIO::BUFSIZE
/usr/local/lib/ruby/2.6.0/net/protocol.rb:206: warning: previous definition of BUFSIZE was here
/usr/local/bundle/gems/net-protocol-0.1.3/lib/net/protocol.rb:504: warning: already initialized constant Net::NetPrivate::Socket
/usr/local/lib/ruby/2.6.0/net/protocol.rb:503: warning: previous definition of Socket was here
warning: parser/current is loading parser/ruby26, which recognizes
warning: 2.6.5-compliant syntax, but you are running 2.6.10.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Cannot assign requested address
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?