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'"}

GitHub | scetix | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 221#246264897

    GitHub | 7 months ago | scetix
    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'"}

    Root Cause Analysis

    1. 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()
    2. com.github.dockerjava
      HttpResponseHandler.channelRead0
      1. com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:109)[docker-java-3.0.5.jar:na]
      2. com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)[docker-java-3.0.5.jar:na]
      2 frames
    3. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      4. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      5. io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:233)[netty-handler-4.1.3.Final.jar:4.1.3.Final]
      6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      7. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      8. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      9. io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      10. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[netty-codec-4.1.3.Final.jar:4.1.3.Final]
      11. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[netty-codec-4.1.3.Final.jar:4.1.3.Final]
      12. io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      13. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      14. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      15. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      16. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      17. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      18. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      19. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      20. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      21. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      22. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      23. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      24. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)[netty-transport-4.1.3.Final.jar:4.1.3.Final]
      25. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)[netty-common-4.1.3.Final.jar:4.1.3.Final]
      26. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)[netty-common-4.1.3.Final.jar:4.1.3.Final]
      26 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_74]
      1 frame