Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack deploy not working with volumes using kubernetes #2309

Open
2 tasks done
lvoliveira opened this issue Jul 27, 2018 · 4 comments
Open
2 tasks done

Stack deploy not working with volumes using kubernetes #2309

lvoliveira opened this issue Jul 27, 2018 · 4 comments

Comments

@lvoliveira
Copy link

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: 30634BE8-24A6-4FBC-8F70-B76775566A07/20180727084919

Expected behavior

Stack deploy worked

Actual behavior

Stack.compose.docker.com "test-deploy" is invalid: test-deploy: Invalid value: "null": conversion to kube entities failed: W:\test\folder\web\static: only absolute paths can be specified in mount source

Information

  • Windows Version: Windows 10 Pro (17134)
  • Docker for Windows Version: 18.06.0-ce-win72 (19098) (channel: stable)

Steps to reproduce the behavior

  1. docker stack deploy -c test.yaml test-deploy

test.yaml

version: '3.3'

services:
  web:
    build: web
    image: dockerdemos/lab-web
    volumes:
     - "./web/static:/static"
    ports:
     - "80:80"

  words:
    build: words
    image: dockerdemos/lab-words
    deploy:
      replicas: 5
      endpoint_mode: dnsrr
      resources:
        limits:
          memory: 16M
        reservations:
          memory: 16M

  db:
    build: db
    image: dockerdemos/lab-db

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@lvoliveira
Copy link
Author

/lifecycle frozen

@Stijn98s
Copy link

I have the same problem, i have the latest stable versions.
Docker version 18.09.1, build 4c52b90

output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:25:46Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

@Stijn98s
Copy link

Stijn98s commented Feb 6, 2019

Fixing in docker/cli#966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants