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

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

Open
adligo opened this issue May 17, 2023 · 0 comments
Open

Comments

@adligo
Copy link

adligo commented May 17, 2023

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.

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

No branches or pull requests

1 participant