{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/2055","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/2055/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/2055/events","html_url":"https://github.com/docker/for-win/issues/2055","id":325321326,"number":2055,"title":"error: Stack.compose.docker.com \"mystack\" is invalid: mystack","user":{"login":"awidjaja","id":1708624,"avatar_url":"https://avatars2.githubusercontent.com/u/1708624?v=4","gravatar_id":"","url":"https://api.github.com/users/awidjaja","html_url":"https://github.com/awidjaja","followers_url":"https://api.github.com/users/awidjaja/followers","following_url":"https://api.github.com/users/awidjaja/following{/other_user}","gists_url":"https://api.github.com/users/awidjaja/gists{/gist_id}","starred_url":"https://api.github.com/users/awidjaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awidjaja/subscriptions","organizations_url":"https://api.github.com/users/awidjaja/orgs","repos_url":"https://api.github.com/users/awidjaja/repos","events_url":"https://api.github.com/users/awidjaja/events{/privacy}","received_events_url":"https://api.github.com/users/awidjaja/received_events","type":"User","site_admin":false},"labels":[{"id":935330057,"url":"https://api.github.com/repos/docker/for-win/labels/version/18.05.0-ce-win66","name":"version/18.05.0-ce-win66","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-22T14:31:10Z","updated_at":"2018-05-29T07:27:25Z","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 for Mac will be closed.  In particular, see\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/moby/moby/issues for Docker daemon\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  - [x] I have tried with the latest version of my channel (Stable or Edge)\r\n  - [x] I have uploaded Diagnostics\r\n  - Diagnostics ID: 52C48E5F-6523-4AFE-B6F7-3DD304750149/2018-05-22_22-14-07\r\n\r\n### Expected behavior\r\nDocker will deploy the stack to kubernetes\r\n### Actual behavior\r\nerror: Stack.compose.docker.com \"mystack\" is invalid: mystack\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 FTW.\r\n-->\r\n  - Windows Version: 1803 Build 17134.48\r\n  - Docker for Windows Version: \r\nClient:\r\n Version:      18.05.0-ce\r\n API version:  1.37\r\n Go version:   go1.9.5\r\n Git commit:   f150324\r\n Built:        Wed May  9 22:12:05 2018\r\n OS/Arch:      windows/amd64\r\n Experimental: true\r\n Orchestrator: kubernetes\r\n\r\nServer:\r\n Engine:\r\n  Version:      18.05.0-ce\r\n  API version:  1.37 (minimum version 1.12)\r\n  Go version:   go1.10.1\r\n  Git commit:   f150324\r\n  Built:        Wed May  9 22:20:16 2018\r\n  OS/Arch:      linux/amd64\r\n  Experimental: true\r\n Kubernetes:\r\n  Version:     v1.9.6\r\n  StackAPI:                   Unknown\r\n\r\n### Steps to reproduce the behavior\r\n<!--\r\nA reproducible case, Dockerfiles FTW.\r\n-->\r\n\r\n  1. docker stack deploy --compose-file .\\docker-compose.yml mystack\r\n\r\ndocker-compose.yml:\r\n\r\n``` yml\r\nversion: \"3.3\"\r\n\r\nservices:\r\n\r\n  api:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: api\r\n      PORT: 3000\r\n    links:\r\n      - nats\r\n    depends_on:\r\n      - nats\r\n    labels:\r\n      - \"traefik.enable=true\"   \r\n      - \"traefik.backend=api\"\r\n      - \"traefik.port=3000\"\r\n      - \"traefik.frontend.entryPoints=http\"\r\n      - \"traefik.frontend.rule=PathPrefix:/\"\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  articles:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: articles\r\n    links:\r\n      - nats\r\n      - mongo\r\n    depends_on:\r\n      - nats\r\n      - mongo\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  comments:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: comments\r\n    links:\r\n      - nats\r\n      - mongo\r\n    depends_on:\r\n      - nats\r\n      - mongo\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  favorites:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: favorites\r\n    links:\r\n      - nats\r\n      - mongo\r\n    depends_on:\r\n      - nats\r\n      - mongo\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  follows:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: follows\r\n    links:\r\n      - nats\r\n      - mongo\r\n    depends_on:\r\n      - nats\r\n      - mongo\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  users:\r\n    build:\r\n      context: .\r\n    image: conduit\r\n    env_file: docker-compose.env\r\n    environment:\r\n      SERVICES: users\r\n    links:\r\n      - nats\r\n      - mongo\r\n    depends_on:\r\n      - nats\r\n      - mongo\r\n    #deploy:\r\n    #  replicas: 2\r\n\r\n  nats:\r\n    image: nats\r\n    ports:\r\n      - \"4222:4222\"\r\n\r\n  mongo:\r\n    image: mongo\r\n    volumes:\r\n      - mongodb:/data/db\r\n\r\n  traefik:\r\n    image: traefik\r\n    command: --web --docker --docker.domain=docker.localhost --logLevel=INFO --docker.exposedbydefault=false\r\n    ports:\r\n      - \"3000:80\"\r\n      - \"3001:8080\"\r\n    volumes:\r\n      - /var/run/docker.sock:/var/run/docker.sock\r\n      - /dev/null:/traefik.toml\r\n\r\nvolumes:\r\n  mongodb:\r\n```\r\n\r\nnote: `docker-compose up` command is working using the same file"},"comment":{"url":"https://api.github.com/repos/docker/for-win/issues/comments/392679114","html_url":"https://github.com/docker/for-win/issues/2055#issuecomment-392679114","issue_url":"https://api.github.com/repos/docker/for-win/issues/2055","id":392679114,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars2.githubusercontent.com/u/1804568?v=4","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T07:27:25Z","updated_at":"2018-05-29T07:27:25Z","author_association":"MEMBER","body":"Looks to be the same as https://github.com/docker/cli/issues/1073"}}
{"actor":{"display_login":"thaJeztah"}}