Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

[secondstate/ssvm-nodejs-starter Error] Error response from daemon #14

Open
lQoQl opened this issue Sep 18, 2020 · 2 comments
Open

[secondstate/ssvm-nodejs-starter Error] Error response from daemon #14

lQoQl opened this issue Sep 18, 2020 · 2 comments

Comments

@lQoQl
Copy link

lQoQl commented Sep 18, 2020

my window 7 :

C:\>docker pull secondstate/ssvm-nodejs-starter:v1

v1: Pulling from secondstate/ssvm-nodejs-starter
e6ca3592b144: Already exists
534a5505201d: Already exists
990916bd23bb: Already exists
f6ca06dad480: Pull complete
21d3647ab116: Pull complete
3cdfe5aeeed1: Pull complete
Digest: sha256:cc0faaf7e5a5435602a03be41b5f286afcfdf5aa2f34339c1f9a0aaa85b31bf6
Status: Downloaded newer image for secondstate/ssvm-nodejs-starter:v1


C:\>docker run -p 3000:3000 --rm -it -v $(pwd):/app secondstate/ssvm-nodejs-starter:v1

docker: Error response from daemon: create $(pwd): "$(pwd)" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

Sorry I'm using Rust for the first time, why this error?

@juntao
Copy link
Member

juntao commented Sep 18, 2020

In Linux, $(pwd) refers to the current working directory. You will need to use the equivalent windows command.

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

No branches or pull requests

2 participants