Closed FloPrm closed 6 years ago
The plugin looks at the DOCKER_HOST environment variable (or the <dockerHost>
configuration setting in your pom.xml, if set) to determine what address to use when connecting to the docker daemon.
It sounds like your DOCKER_HOST environment variable might have the literal value of http://<host>:2375
? The <host>
in the documentation is meant to be a placeholder, filled in with the real hostname of where the docker daemon is running (typically localhost
, but the value depends on where the docker daemon that you want to connect to is actually running).
closing due to inactivity.
You may need to check the redis connect url, especially there may be some space after the connect url, that will cause this exception thrown
Description
I'm trying to mvn package a Docker project, which includes docker-maven-plugin.
The .pom :
`
`
What do you expect
Normal mvn package.
What happened instead
Failed to execute goal com.spotify:docker-maven-plugin:0.4.13:build (default) on project mct-docker-batch: Exception caught: Illegal character in authority at index 7: http://:2375
Software:
Full backtrace