{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/4535","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/4535/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/4535/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/4535/events","html_url":"https://github.com/docker/for-win/issues/4535","id":481479574,"node_id":"MDU6SXNzdWU0ODE0Nzk1NzQ=","number":4535,"title":"Docker Cygwin command","user":{"login":"antonreino","id":10748798,"node_id":"MDQ6VXNlcjEwNzQ4Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/10748798?v=4","gravatar_id":"","url":"https://api.github.com/users/antonreino","html_url":"https://github.com/antonreino","followers_url":"https://api.github.com/users/antonreino/followers","following_url":"https://api.github.com/users/antonreino/following{/other_user}","gists_url":"https://api.github.com/users/antonreino/gists{/gist_id}","starred_url":"https://api.github.com/users/antonreino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonreino/subscriptions","organizations_url":"https://api.github.com/users/antonreino/orgs","repos_url":"https://api.github.com/users/antonreino/repos","events_url":"https://api.github.com/users/antonreino/events{/privacy}","received_events_url":"https://api.github.com/users/antonreino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-16T07:23:17Z","updated_at":"2019-08-16T07:23:17Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease, check https://docs.docker.com/docker-for-windows/troubleshoot/.\r\nIssues without logs and details cannot be debugged, and will be closed.\r\n\r\nIssues unrelated to Docker Desktop will be closed.  In particular, see\r\n  - https://github.com/moby/moby/issues for Docker daemon, e.g. running on Windows Server with Docker EE\r\n  - https://github.com/docker/compose/issues for docker-compose\r\n  - https://github.com/docker/machine/issues for docker-machine\r\n  - https://github.com/docker/docker.github.io/issues for the documentation\r\n-->\r\n\r\n\r\n<!-- Replace `- [ ]` with `- [x]`, or click after having submitted the issue. -->\r\n<!-- Download Docker Desktop 'Edge' (latest build) here: https://hub.docker.com/editions/community/docker-ce-desktop-windows -->\r\n  - [ ] I have tried with the latest version of my channel (Stable or Edge)\r\n  - [ ] I have uploaded Diagnostics\r\n  - Diagnostics ID:\r\n\r\n### Expected behavior\r\n\r\n### Actual behavior\r\n\r\n### Information\r\n<!--\r\nPlease, help us understand the problem.  For instance:\r\n  - Is it reproducible?\r\n  - Is the problem new?\r\n  - Did the problem appear with an update?\r\n  - A reproducible case if this is a bug, Dockerfiles with reproduction inside is best.\r\n-->\r\n  - Windows Version:\r\n  - Docker Desktop Version:\r\n\r\n### Steps to reproduce the behavior\r\n<!--\r\nA reproducible case, Dockerfiles with reproduction inside is best.\r\n-->\r\n\r\n  1. Windows 10 Pro\r\n  2. Docker 2.1.0.1 (37199)\r\n\r\nGood afternoon Good morning\r\n\r\nWith the last major update of Docker I am having a problem using a command that all it does is run a huge script. This sh always worked for me but upon reaching the latest versions it is failing me this is the original:\r\n\r\nFROM ibmcom / db2\r\n\r\nENV DB2INST1_PASSWORD db2inst1\r\n\r\nENV LICENSE accept\r\n\r\nADD megascript_full.sql /megascript_full.sql\r\n\r\nRUN su - db2inst1 -c \"db2start; db2 -tvf /megascript_full.sql;echo 'BBDD ready ...'\"\r\n\r\n\r\nAnd he told me that he did not detect the db2inst user, now I modified it by looking like this:\r\n\r\nFROM ibmcom / db2\r\n\r\nRUN groupadd -r docker && useradd -r -g docker db2inst1\r\n\r\nENV DB2INST1_PASSWORD db2inst1\r\n\r\nENV LICENSE accept\r\n\r\nADD megascript_full.sql /megascript_full.sql\r\n\r\nRUN su db2inst1 -c \"db2start; db2 -tvf /megascript_full.sql;echo 'BBDD ready ...'\"\r\n\r\nBut it tells me that it doesn't detect the commands \"db2start2\" and \"db2\"\r\n\r\nThank you very much for the selfless help\r\n\r\n\r\n"}}
{"actor":{"display_login":"antonreino"}}