maven package docker:build - connection refused

后端 未结 10 2245
梦谈多话
梦谈多话 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:34

    On Windows with Docker/Hyper-V this occurred to me with com.spotify:docker-maven-plugin:1.0.0. There is a discussion about this on another forum, where they advise to turn on

    in docker Settings/General Tab. It worked for me.

提交回复
热议问题