com.github.dockerjava.api.exception.InternalServerErrorException

{"message":"Invalid bind mount spec \"/c/test/testcontainers-java/core/src/test/resources:C:\\\\test\\\\testcontainers-java\\\\core\\\\src\\\\test\\\\resources:ro\": Invalid volume specification: '/c/test/testcontainers-java/core/src/test/resources:C:\\test\\testcontainers-java\\core\\src\\test\\resources:ro'"}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via GitHub by scetix
    , 10 months ago
    {"message":"Invalid bind mount spec \"/c/test/testcontainers-java/core/src/test/resources:C:\\\\test\\\\testcontainers-java\\\\core\\\\src\\\\test\\\\resources:ro\": Invalid volume specification: '/c/test/testcontainers-java/core/src/test/resources:C:\\test\\testcontainers-java\\core\\src\\test\\resources:ro'"}
  • {"message":"invalid character '%' looking for beginning of value"}
  • {"message":"Error parsing reference: \"<my_docker_registry>:5043/<my_path>/<my_app>:$ID\" is not a valid repository/tag: invalid reference format"}
  • Stack trace

    • com.github.dockerjava.api.exception.InternalServerErrorException: {"message":"Invalid bind mount spec \"/c/test/testcontainers-java/core/src/test/resources:C:\\\\test\\\\testcontainers-java\\\\core\\\\src\\\\test\\\\resources:ro\": Invalid volume specification: '/c/test/testcontainers-java/core/src/test/resources:C:\\test\\testcontainers-java\\core\\src\\test\\resources:ro'"} at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:109)[docker-java-3.0.5.jar:na] at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)[docker-java-3.0.5.jar:na] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:233)[netty-handler-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[netty-codec-4.1.3.Final.jar:4.1.3.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[netty-codec-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)[netty-transport-4.1.3.Final.jar:4.1.3.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)[netty-common-4.1.3.Final.jar:4.1.3.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)[netty-common-4.1.3.Final.jar:4.1.3.Final] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_74]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.