I installed clion but I need MinGW for compilation, but I decided to go a different way through docker. I installed the plugin in clion and the gcc container for compilation.
I connected them, but when compiling, an error occurs:
Deploying 'gcc Image Id: 61eb6c42f780'... Creating container... Failed to deploy 'gcc Image Id: 61eb6c42f780': com.github.dockerjava.api.exception.NotFoundException: {"message":"No such image: 61eb6c42f7804b5a9bf9698893cece48e8b1abe3905b222bffc6f53c7c642206:latest"} Does an error mean that clion cannot find a container?
Screenshots of my settings in clion 
Container id and name are entered correctly and paths too. Navigation by jetbrains documentation

docker run <repo>/gcc <аргументы, поступившие из clion>, and which will give the result directly to stdout, others I do not see ways. Perhaps CLion can run gcc via ssh, in which case you should pick up a permanent container with an ssh daemon and a gcc binary inside. - etki