5

I have installed colima and it works great. I am using ssh://localhost:60006 to connect to it from visual studio Docker plugin but was not able to connect to it from jetbrains Docker plugin.

Does anyone know what settings should I use?

DanielM
  • 3,598
  • 5
  • 37
  • 53
  • "Docker daemon connection option for Colima" feature request https://youtrack.jetbrains.com/issue/IDEA-288461 – André Kelling Jul 25 '22 at 08:49
  • colima integration has been added to 2022.2 version: https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2022.2+EAP+%28222.2270.28+build%29+Release+Notes – felipsmartins Jul 26 '22 at 03:02

4 Answers4

12

Found the answer: under ~/.colima/ there is the socket file docker.sock.

In order to configure intellij - I added tcp connection and in the API url I put: unix:/Users/{myuser}/.colima/docker.sock.

DanielM
  • 3,598
  • 5
  • 37
  • 53
2

Now IntelliJ 2022.2 supports colima! Enjoy... ;-)

rdlopes
  • 661
  • 4
  • 11
1

colima status will give you this information. Also given on colima start

LouisCuny
  • 21
  • 1
0

With new versions of IntellijIDEA (2023.1.1 in my case)

Following the next image, right click in number two option and select Edit Configuration

enter image description here

Jairo Martínez
  • 465
  • 5
  • 9