admin管理员组文章数量:1353228
I am using Ubuntu 24.04 and developing C/C++ programs using Eclipse IDE [2025-03]. I am doing cross development and my development tools require ubuntu 20.04 I have setup Docker desktop/engine as described in: / Docker runs fine and I have established a container with the pre-requite Ubuntu that works as expected. Docker desktop is version 28.0.1
In Eclipse I have added the Docker tooling, and changed to the Docker perspective. Eclipse indicates there is no connection to a docker daemon so I click to create a new connection.
Problem 1: Eclipse now asks me for: connection name. If I use search, it says I need to set preferences for the docker-machine
Running "$ docker info" on Ubuntu says the root directory for Docker is /var/lib/docker and systemctl says Docker is running as /usr/lib/systemd/system/docker.service
Eclipse asks where the docker-machine command is located, but eclipse indicates both the above directories don't have the docker-machine command.
????? what directories do UI use for the docker machine and for the VM Driver ?
Problem 2: Eclipse also asks to provide the unix socket for docker. Running "$ docker info" on Ubuntu I get: com.docker.desktop.address=unix:///home/lachlan/.docker/desktop/docker-cli.sock
If I use this address and test the connection, it says "ping failed". but I notice it tries to ping unix://localhost:80
???? Can anyone help me how to set the connection in eclipse so I can get access to the docker containers?
本文标签: Eclipse IDE docker toolingHow to create connection to DockerStack Overflow
版权声明:本文标题:Eclipse IDE docker tooling - How to create connection to Docker - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743891968a2557085.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论