{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22083","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22083/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22083/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22083/events","html_url":"https://github.com/docker/docker/issues/22083","id":148789141,"number":22083,"title":"RUN and ENTRYPOINT exec forms don't work on Windows","user":{"login":"friism","id":126104,"avatar_url":"https://avatars.githubusercontent.com/u/126104?v=3","gravatar_id":"","url":"https://api.github.com/users/friism","html_url":"https://github.com/friism","followers_url":"https://api.github.com/users/friism/followers","following_url":"https://api.github.com/users/friism/following{/other_user}","gists_url":"https://api.github.com/users/friism/gists{/gist_id}","starred_url":"https://api.github.com/users/friism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friism/subscriptions","organizations_url":"https://api.github.com/users/friism/orgs","repos_url":"https://api.github.com/users/friism/repos","events_url":"https://api.github.com/users/friism/events{/privacy}","received_events_url":"https://api.github.com/users/friism/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/windows","name":"group/windows","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T23:08:40Z","updated_at":"2016-04-15T23:20:51Z","closed_at":"2016-04-15T23:20:51Z","body":"**Output of `docker version`:**\r\n\r\n```\r\ndocker version\r\nClient:\r\n Version:      1.11.0\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   4dc5990\r\n Built:        Wed Apr 13 19:36:04 2016\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.11.0-dev\r\n API version:  1.24\r\n Go version:   go1.5.3\r\n Git commit:   577adcc\r\n Built:        Mon Apr 11 17:20:50 2016\r\n OS/Arch:      windows/amd64\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\ndocker info\r\nContainers: 29\r\n Running: 1\r\n Paused: 0\r\n Stopped: 28\r\nImages: 44\r\nServer Version: 1.11.0-dev\r\nStorage Driver: windowsfilter\r\n Windows:\r\nLogging Driver: json-file\r\nPlugins:\r\n Volume: local\r\n Network: null nat\r\nKernel Version: 10.0 14316 (14316.1000.amd64fre.rs1_release.160402-2217)\r\nOperating System: Windows Server 2016 Datacenter Technical Preview 5\r\nOSType: windows\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 1.136 GiB\r\nName: WIN-8F5EG07ROBB\r\nID: VKYM:E5F7:CMIT:4ZMS:OGUG:W43U:API4:ATWI:3S5X:RO54:DU4Q:YOFD\r\nDocker Root Dir: C:\\ProgramData\\docker\r\nDebug mode (client): false\r\nDebug mode (server): true\r\n File Descriptors: -1\r\n Goroutines: 29\r\n System Time: 2016-04-15T16:06:26.1980441-07:00\r\n EventsListeners: 0\r\nUsername: friism4test\r\nRegistry: https://index.docker.io/v1/\r\n```\r\n\r\n**Steps to reproduce the issue:**\r\n\r\n```\r\n> \"FROM windowsservercore`n RUN [\"\"echo\"\", \"\"hi\"\"]\" | docker build -\r\nSending build context to Docker daemon 2.048 kB\r\nStep 1 : FROM windowsservercore\r\n ---> e1e5fb4dbc32\r\nStep 2 : RUN echo hi\r\n ---> Running in de28f78d07cf\r\nContainer command 'echo' not found or does not exist\r\n```\r\n\r\n```\r\n> \"FROM windowsservercore`n RUN echo hi\" | docker build -\r\nSending build context to Docker daemon 2.048 kB\r\nStep 1 : FROM windowsservercore\r\n ---> e1e5fb4dbc32\r\nStep 2 : RUN echo hi\r\n ---> Running in bcf111e455b9\r\nhi\r\n ---> a4c8026f5ecd\r\nRemoving intermediate container bcf111e455b9\r\nSuccessfully built a4c8026f5ecd\r\n```\r\n\r\n**Describe the results you received:**\r\n\r\nError\r\n\r\n**Describe the results you expected:**\r\n\r\n`hi`\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\nNote that \"shell\" form works fine. The example shown above is for `RUN` but the problem is also extant for `ENTRYPOINT`. I haven't tested `CMD`.\r\n\r\ncc @jhowardmsft"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/210681390","html_url":"https://github.com/docker/docker/issues/22083#issuecomment-210681390","issue_url":"https://api.github.com/repos/docker/docker/issues/22083","id":210681390,"user":{"login":"jhowardmsft","id":10522484,"avatar_url":"https://avatars.githubusercontent.com/u/10522484?v=3","gravatar_id":"","url":"https://api.github.com/users/jhowardmsft","html_url":"https://github.com/jhowardmsft","followers_url":"https://api.github.com/users/jhowardmsft/followers","following_url":"https://api.github.com/users/jhowardmsft/following{/other_user}","gists_url":"https://api.github.com/users/jhowardmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/jhowardmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhowardmsft/subscriptions","organizations_url":"https://api.github.com/users/jhowardmsft/orgs","repos_url":"https://api.github.com/users/jhowardmsft/repos","events_url":"https://api.github.com/users/jhowardmsft/events{/privacy}","received_events_url":"https://api.github.com/users/jhowardmsft/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T23:20:50Z","updated_at":"2016-04-15T23:20:50Z","body":"Same as you opened the other day. Windows does not have echo.exe."}}