title: How to code/run programs in a Docker container using CLion?
body: <p>I am a newbie to CLion</p>
  
  <p>I found that CLion has support for Docker.
  I want to do the following:</p>
  
  <pre><code>(Refer my Linux OS as A.)
  (Refer the docker container within A as B.)
  
  
  The library and environments are set up in B.
  The CLion IDE is running in A.
  I want to code/debug the program that runs in B using the IDE in A. 
  </code></pre>
  
  <p>Is this the functionality that CLion supports?
  I read their documents, but I can't find a way to achieve it</p>
  
  <p>Thanks</p>