{"action":"opened","issue":{"url":"https://api.github.com/repos/mfthomps/Labtainers/issues/9","repository_url":"https://api.github.com/repos/mfthomps/Labtainers","labels_url":"https://api.github.com/repos/mfthomps/Labtainers/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mfthomps/Labtainers/issues/9/comments","events_url":"https://api.github.com/repos/mfthomps/Labtainers/issues/9/events","html_url":"https://github.com/mfthomps/Labtainers/issues/9","id":327788204,"number":9,"title":"Running Labtainers over Windows (10)","user":{"login":"olberger","id":309225,"avatar_url":"https://avatars1.githubusercontent.com/u/309225?v=4","gravatar_id":"","url":"https://api.github.com/users/olberger","html_url":"https://github.com/olberger","followers_url":"https://api.github.com/users/olberger/followers","following_url":"https://api.github.com/users/olberger/following{/other_user}","gists_url":"https://api.github.com/users/olberger/gists{/gist_id}","starred_url":"https://api.github.com/users/olberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olberger/subscriptions","organizations_url":"https://api.github.com/users/olberger/orgs","repos_url":"https://api.github.com/users/olberger/repos","events_url":"https://api.github.com/users/olberger/events{/privacy}","received_events_url":"https://api.github.com/users/olberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-30T15:39:58Z","updated_at":"2018-05-30T15:39:58Z","closed_at":null,"author_association":"NONE","body":"This issue merely a reference point regarding private discussions, for future reference.\r\n\r\nThere seem to be some interest for people wishing to run labtainers over Windows 10.\r\n\r\nAs an alternative to the standard documented install inside a VirtualBox VM, which works on Windows, an alternative may be to run Labtainers from within a container, once Docker for Windows is installed. See https://github.com/mfthomps/Labtainers/issues/1 for details.\r\n\r\nIn addition, XMing, or another X window display server for Windows will be needed.\r\n\r\nThe resulting script looks like this in Windows PowerShell:\r\n\r\n```\r\n & 'C:\\Program Files (x86)\\Xming\\Xming.exe' :0 -ac -clipboard -multiwindow \r\n```\r\n-ac means : without access control\r\n\r\n```\r\n$DISPLAY = ( `\r\n      Get-NetIPConfiguration | `\r\n      Where-Object { `\r\n          $_.IPv4DefaultGateway -ne $null `\r\n          -and `\r\n          $_.NetAdapter.Status -ne \"Disconnected\" `\r\n      } `\r\n  ).IPv4Address.IPAddress + \":0\"\r\n\r\ndocker run --rm -i -t --name docker0 -v /var/run/docker.sock:/var/run/docker.sock -e DISPLAY=$DISPLAY olberger/labtainer.master:latest /bin/bash\r\n```\r\nThis uses the pre-built olberger/labtainer.master container image (available on dockerhub) which contains an installation of Labtainers made with the Dockefile referenced in https://github.com/mfthomps/Labtainers/issues/1#issuecomment-385522592\r\n\r\nSurprisingly this works almost as on Linux...\r\n\r\nBeware to security issues with such a privileged container being able to mess with other containers."}}
{"actor":{"display_login":"olberger"}}