maven package docker:build - connection refused

后端 未结 10 2088
梦谈多话
梦谈多话 2021-02-07 05:06

I am trying to directly build a docker image with maven with mvn package docker:build.

Docker is running and docker ps shows me my containers,

10条回答
  •  失恋的感觉
    2021-02-07 05:35

    On MacOs, I just set the environment variables as shown by

    docker-machine env

    When running the build from an IDE, make sure these variables are properly set.

提交回复
热议问题