aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
735 stars 201 forks source link

AWS Toolkit Support for docker-machine and Minikube on Mac OSX #3248

Open micrump opened 1 year ago

micrump commented 1 year ago

With both Docker daemons (minikube & docker-machine) the AWS Toolkit in Intellij IDEA ran a "docker ps" which was always complaining that the socket "/var/run/docker.sock" could not be found. Unfortunately this UNIX socket is only available with the Docker Desktop for MacOSX.

There are currently more issues with the JetBrains Docker integration. docker-machine did not find a machine that was created: https://youtrack.jetbrains.com/issue/IDEA-237306/Docker-plugin-does-not-see-docker-machine-despite-it-is-in-standard-location-and-has-machines-running

So the only hassle free solution seems to be the Docker Desktop for MacOSX at the moment.

benbridts commented 1 year ago

You can set DOCKER_HOST=unix:///your-docker-socket to point to your docker endpoint. (this makes the docker ps work, I'm using colima and it still fails on the next step)