Skip to content

Default Script has issues on GitBash on Windows with the --volume pass #17

@adligo

Description

@adligo

Using the
$ make demo

or

./scripts/lifecycle.sh

Will generate a command like this on Windows in GitBash;

Command: k3d cluster create demo --api-port 6550 --servers 1 --agents 3 --port 8080:80@loadbalancer --volume /c/Users/yourUid/k3d-demo/sample:/src@all --wait [Enter]

There doesn't appear to be a great work around but simply omitting the --volume seems to work, I guess then you would need to copy files manually to the docker images?

i.e. k3d cluster create demo --api-port 6550 --servers 1 --agents 3 --port 8080:80@loadbalancer --wait

The problem is that the paths do get converted to windows paths and the C:\Users confuses something :) Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions