{"action":"created","issue":{"url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/599","repository_url":"https://api.github.com/repos/testcontainers/testcontainers-java","labels_url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/599/comments","events_url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/599/events","html_url":"https://github.com/testcontainers/testcontainers-java/issues/599","id":302348552,"number":599,"title":"Ryuk container in Docker-Toolbox on Windows 7","user":{"login":"trevorpgray","id":8092419,"avatar_url":"https://avatars3.githubusercontent.com/u/8092419?v=4","gravatar_id":"","url":"https://api.github.com/users/trevorpgray","html_url":"https://github.com/trevorpgray","followers_url":"https://api.github.com/users/trevorpgray/followers","following_url":"https://api.github.com/users/trevorpgray/following{/other_user}","gists_url":"https://api.github.com/users/trevorpgray/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorpgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorpgray/subscriptions","organizations_url":"https://api.github.com/users/trevorpgray/orgs","repos_url":"https://api.github.com/users/trevorpgray/repos","events_url":"https://api.github.com/users/trevorpgray/events{/privacy}","received_events_url":"https://api.github.com/users/trevorpgray/received_events","type":"User","site_admin":false},"labels":[{"id":198678879,"url":"https://api.github.com/repos/testcontainers/testcontainers-java/labels/bug","name":"bug","color":"fc2929","default":true},{"id":344739385,"url":"https://api.github.com/repos/testcontainers/testcontainers-java/labels/windows-docker-machine","name":"windows-docker-machine","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/testcontainers/testcontainers-java/milestones/31","html_url":"https://github.com/testcontainers/testcontainers-java/milestone/31","labels_url":"https://api.github.com/repos/testcontainers/testcontainers-java/milestones/31/labels","id":3071410,"number":31,"title":"next","description":"","creator":{"login":"bsideup","id":1050762,"avatar_url":"https://avatars3.githubusercontent.com/u/1050762?v=4","gravatar_id":"","url":"https://api.github.com/users/bsideup","html_url":"https://github.com/bsideup","followers_url":"https://api.github.com/users/bsideup/followers","following_url":"https://api.github.com/users/bsideup/following{/other_user}","gists_url":"https://api.github.com/users/bsideup/gists{/gist_id}","starred_url":"https://api.github.com/users/bsideup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsideup/subscriptions","organizations_url":"https://api.github.com/users/bsideup/orgs","repos_url":"https://api.github.com/users/bsideup/repos","events_url":"https://api.github.com/users/bsideup/events{/privacy}","received_events_url":"https://api.github.com/users/bsideup/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":11,"state":"open","created_at":"2018-01-29T13:15:22Z","updated_at":"2018-03-08T12:17:51Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-03-05T15:41:19Z","updated_at":"2018-03-08T23:18:06Z","closed_at":null,"author_association":"NONE","body":"I ran into an issue on Windows 7 using testcontainers 1.6.0 \r\n\r\nThe issue presented the same as  #84, specifically [issue-84-comment](https://github.com/testcontainers/testcontainers-java/issues/84#issuecomment-366187090)\r\n\r\n> So the error comes when testcontainers makes the startup checks and tries to mount C:\\Users\\user\\AppData\\Local\\Temp\\.testcontainers-tmp-6153256460751889885:/dummy:ro\r\n> Error from docker daemon is:\r\n> \r\n> {\"message\":\"invalid volume specification: 'C:\\\\Users\\\\user\\\\AppData\\\\Local\\\\Temp\\\\.testcontainers-tmp-6153256460751889885:/dummy:ro'\"}\r\n\r\nDisabling checks was the proposed workaround, however t seems like the problem is that the ryuk container attempts to mount the volume regardless of whether or not the checks are run:\r\nhttps://github.com/testcontainers/testcontainers-java/blob/87e22ec774e4c6b3899166eb27f262c721e0895f/core/src/main/java/org/testcontainers/utility/ResourceReaper.java#L80-L81\r\n\r\nhttps://github.com/testcontainers/testcontainers-java/blob/87e22ec774e4c6b3899166eb27f262c721e0895f/core/src/main/java/org/testcontainers/DockerClientFactory.java#L116-L126\r\n\r\nThe workaround is to downgrade to version 1.5.1 (before the ryuk container) and disable the checks."},"comment":{"url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/comments/371658475","html_url":"https://github.com/testcontainers/testcontainers-java/issues/599#issuecomment-371658475","issue_url":"https://api.github.com/repos/testcontainers/testcontainers-java/issues/599","id":371658475,"user":{"login":"jeacott1","id":16600100,"avatar_url":"https://avatars3.githubusercontent.com/u/16600100?v=4","gravatar_id":"","url":"https://api.github.com/users/jeacott1","html_url":"https://github.com/jeacott1","followers_url":"https://api.github.com/users/jeacott1/followers","following_url":"https://api.github.com/users/jeacott1/following{/other_user}","gists_url":"https://api.github.com/users/jeacott1/gists{/gist_id}","starred_url":"https://api.github.com/users/jeacott1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeacott1/subscriptions","organizations_url":"https://api.github.com/users/jeacott1/orgs","repos_url":"https://api.github.com/users/jeacott1/repos","events_url":"https://api.github.com/users/jeacott1/events{/privacy}","received_events_url":"https://api.github.com/users/jeacott1/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T23:18:06Z","updated_at":"2018-03-08T23:18:06Z","author_association":"NONE","body":"I can confirm that 1.5.1 successfully launches the container on win10, but miserably fails detecting when its up because it relies on shell scripts.\r\n\r\n@bsideup I'm not sure if this is related to your 'not working file mounting on docker-machine + Windows\" but when I first ran testContainers I had to accept a security dialog allowing access to the disk, after that ryuk launched fine, but something else in the container config appears to prevent the target launching in 1.6\r\n"}}
{"actor":{"display_login":"jeacott1"}}