Ok, so your idea is to build an image starting from Microsoft .NET image. Then you add the java jdk, and make a c# project that launch the ignite node, is it right?
Can you clarify to me these lines: ... RUN dotnet restore ... ENTRYPOINT ["dotnet", "run"] thanks, F.D. On Fri, Dec 21, 2018 at 6:09 PM Pavel Tupitsyn <[email protected]> wrote: > Here is a gist to run Ignite.NET in Docker on Linux & .NET Core: > https://gist.github.com/ptupitsyn/1cbbdaef1fef7cc4be22addda19cade4 > > Confirmed to work with Ignite.NET Client on Windows. > > Let me know if you need more info. > Looks like you use some event API with remote filters, make sure that > remote filter class is available on server node and registered in > BinaryConfiguration. > Same is true for any other code that is executed remotely. > > Thanks, > Pavel > > On Fri, Dec 21, 2018 at 2:14 PM F.D. <[email protected]> wrote: > >> Thanks for your support, but I need more informations. Let me try to give >> you more details: >> I've launched a ignite node on docker with this command: >> >> docker run -it --rm --name ignite --net=host apacheignite/ignite >> >> Then I try to connect to my dotnet client with this configuration: >> Snippet >> >> Ignite = Ignition.Start(new IgniteConfiguration >> { >> Localhost = Dns.GetHostName(), >> ClientMode = true, >> DiscoverySpi = new TcpDiscoverySpi >> { >> IpFinder = new TcpDiscoveryMulticastIpFinder >> { >> LocalAddress = "AAA.BBB.CCC.DDD" >> }, >> SocketTimeout = TimeSpan.FromSeconds(0.3) >> }, >> IncludedEventTypes = EventType.CacheAll, >> }); >> >> But I got this errors on the server node: >> >> [10:36:28,512][SEVERE][sys-stripe-2-#3][query] CacheEntryEventFilter >> failed: class o.a.i.IgniteException: Platforms are not available >> [nodeId=861e0f56-6a8b-4ff9-9ea0-a6e5c4d3126b] (Use >> Apache.Ignite.Core.Ignition.Start() or Apache.Ignite.exe to start >> Ignite.NET nodes; ignite::Ignition::Start() or ignite.exe to start Ignite >> C++ nodes). >> >> I suppose I should start the .NET Ignite (the thing that I did when I >> didn't use docker). Can you help me? >> >> Thanks, >> F.D. >> >> >> >> On Thu, Dec 20, 2018 at 7:10 PM Pavel Tupitsyn <[email protected]> >> wrote: >> >>> 1. Yes, Ignite.NET will run in Linux docker container under .NET Core. >>> You can use microsoft/dotnet:sdk base image, install Java there (apt >>> install default-jdk), and run your app >>> >>> 2. There are no Windows containers with Ignite >>> >>> Thanks, >>> Pavel >>> >>> On Thu, Dec 20, 2018 at 4:07 PM Ilya Kasnacheev < >>> [email protected]> wrote: >>> >>>> Hello! >>>> >>>> For the first question: There's no reason that you would not be able to >>>> run Java, Mono or dotnet core Ignite node inside docket, connect to it with >>>> C# client. >>>> >>>> Should be working as soon as you configure it properly. >>>> >>>> Regards, >>>> -- >>>> Ilya Kasnacheev >>>> >>>> >>>> чт, 20 дек. 2018 г. в 12:36, F.D. <[email protected]>: >>>> >>>>> Hi Igniters, >>>>> I'd like to know if is it possible to use ignite docker (with linux >>>>> O.S.) and connect a ignite client in C#. I suppose no, is it? >>>>> >>>>> So the second question, is already present in the docker repository an >>>>> image for Ignite .NET (with windows O.S.)? >>>>> >>>>> Thanks, >>>>> F.D. >>>>> >>>>
