Open abdullahcsedu opened 5 years ago
Sorry to here you are having trouble at step 1.
The command you ran should have started the container and shown the console logs of the container until you hit ctrl^C. The container would still be running in the background. This servicemix does not have anything configured. Servicemix is configured by files in the /opt/apache-servicemix-7.0.1/etc folder and by the karaf login. I don't think the webconsole is on by default. see https://karaf.apache.org/manual/latest/webconsole
There is a log file inside the docker container that will probably give more clues as to what is not working. You'll have to get to the log file from command line.
From the host machine, get into the container: docker exec -it [CONTAINER-ID] bash
Next goto /opt/apache-servicemix-7.0.1/data/log cd /opt/apache-servicemix-7.0.1/data/log
Finally, look at the log file more servicemix.log or grep ERROR servicemix.log grep WARN servicemix.log or continuous output of log file. tail -f servicemix.log
at this point you should be able to use some servicemix community debugging tips.
if you don't find any errors in the log, you may have a firewall or network issue between you computer and the container's port.
After running the command docker run -p 8101:8081 dskow/apache-servicemix
when I am going to the link http://localhost:8081/ the error is showing it can't connect to Server. and Karaf console is not responding .
Regards Abdullah