I have Docker Desktop installed and working. I can pull, start, stop containers, etc via the desktop app or command line. It is running on wsl2. I have a wsl2 instance of Ubuntu.
In my NetBeans, I’m trying to attach to docker from within the IDE in the NetBeans Services window so I can start/stop, etc from within the IDE without using a terminal. I was able to do this fairly easily on a Mac. NetBeans wants a Unix Socket or TCP Connection. I was able to browse in a wsl2 terminal to see /var/run/docker.sock, but NetBeans cannot connect to the socket when I type that in to the box for a Unix socket. I tried putting in http://127.0.0.1:2375 for the TCP Connection URL, and that doesn’t work either. I have Expose daemon on tcp://localhost:2375 without TLS enabled and have restarted the engine and rebooted the PC. I’m sure I’m just missing something stupid at this point. Any help would be appreciated.
Apache NetBeans IDE 24
Windows 11 Pro 24H2 26100.1742
AMD Ryzen 7 5800X 32 GB Ram
Docker Desktop 27.3.1 build ce12230 using wsl2/Ubuntu 22.04.3 LTS