attach to running Docker container (without SSH)

Hi, is it still not possible to attach to a running Docker container without going through the SSH interpreter? 

This is a major issue IMO, especially given that I pay for PyCharm while this feature is available for free in VSCode. Pls don't make me switch ...

0
6 comments
Hi, version 2023.2 will introuduce the support for devcontainers: https://youtrack.jetbrains.com/issue/IDEA-321768/Implement-devcontainer.json-specification

Also, at the moment it is possible to attach to a running container using a Docker Compose interpreter and the `exec` option. Let me know if you'd like more info on this.
0

Thanks Andrey, looking forward to try it on 2023.2.

0

it is possible to attach to a running container using a Docker Compose interpreter and the `exec` option. Let me know if you'd like more info on this.

Where do I find information on attaching to a running container?  I'm running 2023.2.5
 

0

still open, don't think the issue made it to this release

0

You alluded to a "Docker Compose interpreter and the `exec` option" being possible at the moment.  Could you send me the information on that? 

0

@Dmilkie, you can execute commands in running containers from Services tool window | Exec:

https://www.jetbrains.com/help/pycharm/docker-containers.html#execute-command

0

Please sign in to leave a comment.