Hi,
I use the -p option to run a server container using opensuse as a baseimage, but the host client cannot access the server . The command I used is: docker run -it -p 127.0.0.1:3870:3870 opensuse /bin/bash startServer.sh .Then I want to check if they can connect to each other by the method of --link and it has failed. So I run the server by typing docker run -it --name server opensuse /bin/bash startServer.sh and docker run -it --name client --link server:server opensuse /bin/bash. I cannot find the generated distinct environment variables by typing env in client container. And can you tell me where I can set the -icc=true, my host system is Suse Enterprise 12. By the way, the configuration parameters as following:
CLIENT_REALM = client.com
SERVER_REALM = proxy.com <= Server realm property
CLIENT_PORT = 3869
SERVER_PORT = 3870 <= Server tcp port
CLIENT_FQDN = 127.0.0.1
SERVER_FQDN = 127.0.0.1 <= Server IP
Thanks a lot!