Hi Team,
I am trying to implement webMethods microservices docker in Windows environment. I am using Windows server 2016 with Windows 10 OS. I am using Docker for Windows 18.06.1-ce. Details as below.
PS C:\Windows\system32> docker version
Client:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.3
Built: Tue Aug 21 17:21:34 2018
OS/Arch: windows/amd64
Experimental: false
Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.24)
Go version: go1.10.3
Built: Tue Aug 21 17:36:40 2018
OS/Arch: windows/amd64
Experimental: false
Now I am able to build the images using Dockerfile.Attaching the Dockerfile for reference. Added the line at the end of the Dockerfile to start the container.
CMD c:/SoftwareAG/IntegrationServer/bin/startContainer.bat
Now when I create the image and using the same to spin a container , it is showing that the process is running on the port but the same is not available via browser,
Command to run Conatiner,
docker run -d --name IS1 -p 3333:5555 -p 9999 isimage:v10.3 ping -t localhost
Then Netstat command showing the port in use,
C:\Windows\system32>netstat -a | find “3333”
TCP 127.0.0.1:3333 CTSC00777509001:0 LISTENING
Docker process is also showing as running,
PS C:\Windows\system32> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a110c0d8ff22 isimage:v10.3 “ping -t localhost” 28 minutes ago Up 28 minutes 0.0.0.0:3333->5555/tcp, 0.0.0.0:26103->9999/tcp IS1
Kindly suggest , if anyone is facing the same issue in Window’s environment or not.
Regards
Abir
Dockerfile_windows.txt (5.7 KB)