slonopotamus / stevedore

🚢 Docker distribution for Windows Containers that Just Works
Apache License 2.0
296 stars 12 forks source link

Work with maven plugin #46

Closed SmallAd closed 1 year ago

SmallAd commented 2 years ago

Version

0.6.1

What steps are needed to reproduce the behavior?

I tried to build docker image for java project with dockerfile-maven-plugin.

What you expected?

build docker image

What happened?

Receive error that cannot connect to localhost:2375

Additional context

By default dockerfile-maven-plugin try to connect to localhost:2375. We can configure it using env variable DOCKER_HOST. Could you please clarify what value it should be?

slonopotamus commented 2 years ago
  1. dockerfile-maven-plugin is abandoned for 3 years already
  2. Stevedore currently doesn't have an option to expose TCP port. Note that even though Docker Desktop has such option.
  3. I don't know whether dockerfile-maven-plugin can talk to Windows named pipes. If it can, you should be able to connect via //./pipe/dockerDesktopLinuxEngine
slonopotamus commented 1 year ago

Stevedore is no longer providing support for Linux containers. See why. I recommend switching to Rancher Desktop, Container Desktop or Colima.