[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Trying to use CDT Containers Launcher
|
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.