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

Starting Docker on windows from CLI ISSUE with -v ./:/app #13

Open
webdevtodayjason opened this issue Apr 15, 2024 · 0 comments
Open

Starting Docker on windows from CLI ISSUE with -v ./:/app #13

webdevtodayjason opened this issue Apr 15, 2024 · 0 comments

Comments

@webdevtodayjason
Copy link

The issue is the way you've formatted the path (./) isn't recognized correctly by Docker on Windows.

To resolve this issue, you can specify the volume path using the absolute path of the directory you want to mount.

When using PowerShell or CMD in Windows, you can prepend the current directory with ${PWD} which stands for "Print Working Directory". This will translate to the full path of the current directory.

Here’s how you can adjust your Docker command:
docker run -it -v ${PWD}:/app --rm -p 7860:7860 -e OPENAI_API_KEY=<YOUR_API_KEY> vrsen/agency-swarm

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