stevedore icon indicating copy to clipboard operation
stevedore copied to clipboard

Work with maven plugin

Open SmallAd opened this issue 2 years ago • 1 comments

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?

SmallAd avatar Apr 29 '22 07:04 SmallAd

  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 avatar May 06 '22 11:05 slonopotamus

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

slonopotamus avatar Feb 04 '23 10:02 slonopotamus