You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I start a postgres container on the remote server with the NFS volume I can't connect to it via psql command-line :
$ psql -h 10.0.110.3 postgres postgres
psql: n'a pas pu se connecter au serveur : Connexion refusée
Le serveur est-il actif sur l'hôte « 10.0.110.3 » et accepte-t-il les connexions
TCP/IP sur le port 5432 ?
Command used to start my container with a NFS volume
Doing a netstat on the remote server, it seems the port is open :
# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
[...]
tcp6 0 0 :::5432 :::* LISTEN 1536/docker-proxy
[...]
But a nmap tells me otherwise :
$ nmap 10.0.110.3 -p 5432
Host is up (0.069s latency).
PORT STATE SERVICE
5432/tcp closed postgresql
Describe the results you received:
Impossible to reach the service when using a NFS volume
Describe the results you expected:
Being able to reach the service with or without a NFS volume
Output of docker version:
docker version manager node :
Client:
Version: 19.03.1-ce
API version: 1.40
Go version: go1.12.7
Git commit: 74b1e89e8a
Built: Sat Jul 27 21:08:50 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 19.03.1-ce
API version: 1.40 (minimum version 1.12)
Go version: go1.12.7
Git commit: 74b1e89e8a
Built: Sat Jul 27 21:08:28 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.7.m
GitCommit: 85f6aa58b8a3170aec9824568f7a31832878b603.m
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
Description
I have a two server setup, one with a NFS server on it, my local machine, and another in Digital Ocean. Both servers are connected via a VPN.
I'm trying to use a NFS volume to keep a persistent postgres data.
If I start a postgres container with that volume on the local machine with my NFS server, everything works fine.
If I start a postgres container on the remote server without the NFS volume, I can connect to it via
psql
command-line.Command used to start my container without a NFS volume
If I start a postgres container on the remote server with the NFS volume I can't connect to it via
psql
command-line :Command used to start my container with a NFS volume
volume test-pgsql
Doing a
netstat
on the remote server, it seems the port is open :But a
nmap
tells me otherwise :Describe the results you received:
Impossible to reach the service when using a NFS volume
Describe the results you expected:
Being able to reach the service with or without a NFS volume
Output of
docker version
:docker version manager node :
docker version worker node :
Output of
docker info
:docker info manager node :
docker info worker node :
Additional environment details (AWS, VirtualBox, physical, etc.):
Working with my local machine and a server on digital ocean connected via a VPN.
The text was updated successfully, but these errors were encountered: