{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/DockerTools/issues/42","repository_url":"https://api.github.com/repos/Microsoft/DockerTools","labels_url":"https://api.github.com/repos/Microsoft/DockerTools/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/DockerTools/issues/42/comments","events_url":"https://api.github.com/repos/Microsoft/DockerTools/issues/42/events","html_url":"https://github.com/Microsoft/DockerTools/issues/42","id":253345676,"number":42,"title":"Docker-Compose error \"Visual Studio Container Tools requires Docker to be running before building, debugging or running a containerized project\" ","user":{"login":"MichaelSimons","id":8290530,"avatar_url":"https://avatars1.githubusercontent.com/u/8290530?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelSimons","html_url":"https://github.com/MichaelSimons","followers_url":"https://api.github.com/users/MichaelSimons/followers","following_url":"https://api.github.com/users/MichaelSimons/following{/other_user}","gists_url":"https://api.github.com/users/MichaelSimons/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelSimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelSimons/subscriptions","organizations_url":"https://api.github.com/users/MichaelSimons/orgs","repos_url":"https://api.github.com/users/MichaelSimons/repos","events_url":"https://api.github.com/users/MichaelSimons/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelSimons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-08-28T14:25:23Z","updated_at":"2018-05-09T16:15:45Z","closed_at":null,"author_association":"MEMBER","body":"_Copied from https://github.com/dotnet/dotnet-docker/issues/287_\r\n\r\n## Steps to reproduce the issue\r\n1. Created a new .NET core project with several web api projects, and a web app project all with docker support.\r\n2.  Try to run the generated project docker-compose with F5. \r\n3. Got an error stating \r\n\r\n> \"Visual Studio Container Tools requires Docker to be running before building, debugging or running a containerized project. For more info, please see: http://aka.ms/DockerTollsTroubleshooting\r\n4. Installed the Docker Toolbox and installed all options\r\n5. Ran the toolbox via the docker quickstart terminal application to launch docker\r\n6. Tried to run the project again, and continue to get the same error message.\r\n\r\nHere is a stack over flow question I've created and don't seem to be getting any answers. I've tried the suggested information in the SO responses apart from downloading a process hacking applicaiton to check vs environment variables.\r\n\r\nhttps://stackoverflow.com/questions/45869766/how-to-get-docker-toolbox-to-work-with-net-core-2-0-project/45870338?noredirect=1#comment78702229_45870338\r\n\r\n## Expected behavior\r\nI expected docker to work after installing the docker toolbox since I'm running Windows 10 Home edition, and that's what the docs suggested to do since Docker for Windows isn't supported on win 10 home?\r\n\r\n\r\n## Actual behavior\r\nrepeatedly getting the same error in visual studio, not allowing me to get up and running with Docker in my current project. It doesn't seem to be a code issue, it appears to be a tooling issue.\r\n\r\n\r\n## Additional information (e.g. issue happens only occasionally)\r\nhttps://github.com/ddeamaral/LetsMusify --source code\r\n\r\n## Output of `docker version`\r\n```\r\nClient:\r\n Version:      17.06.0-ce\r\n API version:  1.30\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:30:30 2017\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      17.06.1-ce\r\n API version:  1.30 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   874a737\r\n Built:        Thu Aug 17 22:54:55 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n```\r\n\r\n## Output of `docker info`\r\n\r\n```\r\nContainers: 2\r\n Running: 0\r\n Paused: 0\r\n Stopped: 2\r\nImages: 2\r\nServer Version: 17.06.1-ce\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 10\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170\r\nrunc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.4.83-boot2docker\r\nOperating System: Boot2Docker 17.06.1-ce (TCL 7.2); HEAD : 80114bc - Fri Aug 18 17:58:04 UTC 2017\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 995.8MiB\r\nName: default\r\nID: NFRJ:HKIE:VG3A:Z5VL:3PPN:3DZ4:QUGG:X5YX:LU4Q:2S76:HUAZ:CJPD\r\nDocker Root Dir: /mnt/sda1/var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 16\r\n Goroutines: 26\r\n System Time: 2017-08-26T00:08:27.991030674Z\r\n EventsListeners: 0\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=virtualbox\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/DockerTools/issues/comments/387793514","html_url":"https://github.com/Microsoft/DockerTools/issues/42#issuecomment-387793514","issue_url":"https://api.github.com/repos/Microsoft/DockerTools/issues/42","id":387793514,"user":{"login":"kazha","id":10121362,"avatar_url":"https://avatars1.githubusercontent.com/u/10121362?v=4","gravatar_id":"","url":"https://api.github.com/users/kazha","html_url":"https://github.com/kazha","followers_url":"https://api.github.com/users/kazha/followers","following_url":"https://api.github.com/users/kazha/following{/other_user}","gists_url":"https://api.github.com/users/kazha/gists{/gist_id}","starred_url":"https://api.github.com/users/kazha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazha/subscriptions","organizations_url":"https://api.github.com/users/kazha/orgs","repos_url":"https://api.github.com/users/kazha/repos","events_url":"https://api.github.com/users/kazha/events{/privacy}","received_events_url":"https://api.github.com/users/kazha/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T16:15:45Z","updated_at":"2018-05-09T16:15:45Z","author_association":"NONE","body":"You can make it work with linux containers using oracle virtualbox on Win10 home.\r\n[Stackoverflow ](https://stackoverflow.com/questions/44406422/docker-installation-issues-on-windows-10-home-edition) has a beautiful description on how to achieve it.\r\nJust enable virtualization, if it isn't already.\r\nSet up toolbox (legacy). \r\nShare drive C in virtualbox.\r\nAnd everything should works. At least it does for me.\r\nIf error still appears. I would suggest checking docker-compose config, if it is not valid VS can return that kind of error."}}
{"actor":{"display_login":"kazha"}}