• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Running Eclipse inside Docker
#7
(January-19th-2019, 08:33 PM)Armin@netPI Wrote: 1.) Yes Rahul the whole Desktop is running encapsulated in a container ... and yes also the console you are opening via terminal on HDMI screen is running inside the container. (So if you would remove the whole container from your system via Docker Web GUI, then everything is gone)
2.) Whether an application is running inside a container or outside a container as on your RPi3 should be always result in the same behaviour. I have no explanation right now why it isn't running. Your http request is a service you initiate from inside the container so there is no filter at all for outgoing TCP/IP packets and also responses to this packet.
3.) ok
4.) ok

What you can also test from the Desktop console are simple things like "ping" command first, to see if you reach the http server's IP address.
As next you can continue to use "curl" command as described here with an example: https://askubuntu.com/questions/299870/h...l-in-linux in your console.
You need to set up the parameters of course accordingly to your http service needed. I am pretty sure that it will work.
This is just to test and to prove that in no way a container restricts applications needed outgoing connection.

A different thing is of course incoming connections if http requests come from outside netPI and shall land in a container. For such scenarios container ports need to be opened at container start time. But as far as I have understood this is not what you want.

I am sorry to say that I am not familiar with eclipse and java and your application. The only thing I can tell your there is no limitation in a container. There must be another reason why the http request does not go out. Maybe eclipse is a differnet version compared to the one on Rpi3.

Usually you get error codes back on http requests. What is the error code? Is there anything you can search on the internet if others have the same problem?

Hello Sir,

I will try further based on your inputs .. Thank You
  Reply


Messages In This Thread
[SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-13th-2019, 02:27 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-13th-2019, 04:46 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-13th-2019, 07:12 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-14th-2019, 08:18 AM
RE: [SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-18th-2019, 07:44 PM
RE: [SOLVED] Running Eclipse inside Docker - by Armin@netPI - January-19th-2019, 08:33 PM
RE: [SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-21st-2019, 04:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,729 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 3,218 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Docker not enabled tad 10 5,012 July-14th-2021, 08:54 AM
Last Post: Armin@netPI
  Docker amd64 instead of arm biancode 3 3,130 January-17th-2021, 09:40 PM
Last Post: Armin@netPI
  docker.service start failed EUROKEY 13 9,489 January-17th-2021, 07:52 PM
Last Post: Armin@netPI
  Get host MAC via REST API inside container bschandra 4 3,763 November-16th-2020, 09:26 AM
Last Post: bschandra
  Docker cannot find image COswald 16 9,251 May-18th-2020, 07:15 AM
Last Post: COswald
  After „Rebuild“ of Docker neither the node-RED nor the dashboard can be accessed MAK 4 4,396 January-31st-2020, 02:14 PM
Last Post: MAK
  [SOLVED] Docker GUI login issue MGharat 1 2,822 September-19th-2019, 11:50 AM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 4,086 August-20th-2019, 07:22 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)