Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Trying to use CDT Containers Launcher

Hi Roberto,

I just started work on this.  To do this, I need to copy the mounted volume data
to the Container rather than directly mount from the host.

The bug to track this is:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=506312

Regards.

-- Jeff J.

----- Original Message -----
> Hey Jeff,
> 
> Thanks for the answer. Is there any plans to add support for remote daemons?
> 
> Regards,
> Roberto Oliveira
> 
> On 10/13/2016 05:50 PM, Jeff Johnston wrote:
> > The feature unfortunately does not work with remote daemons.  This is
> > because
> > the C/C++ binary folder is mounted by the container.  This does not work
> > across
> > separate systems.  Without the mount, the run would require copying the
> > binary
> > and all required folders to the target container which could take a long
> > time.
> >
> > There is a bug open presently to detect that the daemon is remote and
> > display an
> > error message that describes this.
> >
> > -- Jeff J.
> >
> > ----- Original Message -----
> >> Hi folks,
> >>
> >> I am using Eclipse Neon with CDT 9.1 and I am trying to run a C binary
> >> inside a container.
> >>
> >> The docker images and containers are stored in a remote machine, so I
> >> exposed the docker rest API and connected on it using a TCP Connection.
> >> I am able to manage the containers and images using Docker plugins from
> >> Linux Tools Project.
> >>
> >> Then I created a C project, compiled it and created a Container Launcher
> >> (Run as > C/C++ Container Launcher). In the "Container" tab I filled the
> >> Connection and also the Image and when I press the Run button it shows
> >> an error: "Container command not found or does not exist".
> >>
> >> Taking a look at "Docker Containers" view (from Linux Tools) it shows
> >> that it is trying to run the command using the complete path to the
> >> binary, something like: /home/user/workspace/project/Debug/binary.
> >>
> >> This path should have been created in the container when I run the
> >> application or maybe the run is not supported in this scenario (using
> >> TCP connection)? I can also be missing something...
> >>
> >>
> >> Regards,
> >> Roberto Oliveira.
> >>
> >> _______________________________________________
> >> cdt-dev mailing list
> >> cdt-dev@xxxxxxxxxxx
> >> To change your delivery options, retrieve your password, or unsubscribe
> >> from
> >> this list, visit
> >> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >>
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top