Dev Container without Local Docker

已回答

I understand that the new Dev Containers feature requires Docker to be installed on both the local and the remote machine. I am wondering about the possibility of using this feature in environments in which no one has Docker on their local machines.

First, is the local Docker installation only needed for the initial container creation, or is it still needed when connecting to existing containers? Could I create the container from an IDEA installation on another machine (such as the same remote machine) and then connect to that container from my local machine?

Second, would it ever be possible to implement an enhancement where all docker operations are performed on the remote machine and so the local Docker installation is no longer required?

Thank you!

1
It's definitely possible, but you need to remember about port forwarding between the port the remote IDE started on and the local machine. In other words, you'll need to ensure the network connection between the launched remote IDE and the local one.
You can find some examples here: https://youtrack.jetbrains.com/issue/GTW-780
0

请先登录再写评论。