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

Failed upload to aws s3 #10

Open
iliran11 opened this issue May 18, 2018 · 1 comment
Open

Failed upload to aws s3 #10

iliran11 opened this issue May 18, 2018 · 1 comment

Comments

@iliran11
Copy link

iliran11 commented May 18, 2018

I am running the following script. (intentionally i hide the keys of course).
It is basically a copy paste from the readme.md.

I have windows 10.
I am running this script on git bash enviroment.
my docker version is 18.03.1-ce

docker container run \
--env AWS_ACCESS_KEY_ID=aaaaaaa \
--env AWS_SECRET_ACCESS_KEY=bbbbbbb \
-v $PWD:/data \
garland/aws-cli-docker \
aws s3 sync . s3://www.typing-coacher.net

i am getting the following error:

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Mount denied:
The source path "C:/projects/docker;C"
doesn't exist and is not known to Docker.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.

the folder path that actually exist is: C:/projects/docker

@sekka1
Copy link
Owner

sekka1 commented May 21, 2018

Can you explicitly put in C:/projects/docker instead of $PWD and try that?

I dont use windows but maybe it doesnt know what $PWD is?

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

2 participants