Clion: Build and run in existing Docker instance

Answered

Clion has support for running in a Docker container. My understanding is that this is going to spin up a new container and build everything in there. Is there a way to have Clion attach to an existing container? 

 

I understand that it would be possible to just publish a container as an image and then build in that, but this does not satisfy my requirements. I fundamentally am going to need to be able to specify the container name, have Clion attach to it, and then build

1 comment
Comment actions Permalink

Hello!

>Is there a way to have Clion attach to an existing container? 

For now, only using the full remote mode - https://www.jetbrains.com/help/clion/remote-projects-support.html, see https://www.jetbrains.com/help/clion/clion-toolchains-in-docker.html#old-approach. 

0

Please sign in to leave a comment.