docker -v
Docker version 18.03.1-ce, build 9ee9f40
[centos@ide-wk-1 ~]$ docker version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:20:16 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:23:58 2018
OS/Arch: linux/amd64
Experimental: false
host:
uname -a
Linux test 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
i’m running a container (just for run sqlplus) in network bridge mode (default) in this way:
docker run --add-host HOSTNAME_FQDN:IP -e URL=USER/PASSWORD@//IP:PORT/SID -ti sflyr/sqlplus
but the sqlplus command hang,
the output stop here:
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 12 11:56:27 2018
Copyright © 1982, 2011, Oracle. All rights reserved.
if i run the same command in network host mode it work fine:
docker run --network=host -e URL=USER/PASSWORD@//IP:PORT/SID -ti sflyr/sqlplus
i checked that in the first case (bridge mode) telnet ip port, it work fine,
any help ?
thanks,
Andrea