0

I'm using docker on Windows and typed following command on powershell to get container:

docker run -v C:\Users\inter\Documents\work:\work -p 8888:8888 --name my-env datascientistus\ds-python-env

Although I could pull docker image from docker hub successfully, I got "invalid reference format" error.

I coundn't understand what's wrong with this command.

Any idea really appreciated. Thank you.

yorc4y
  • 3
  • 1

1 Answers1

0

The image name is:

datascientistus/ds-python-env

not

datascientistus\ds-python-env

Backslashes are not valid in an image name.

For others running into this issue, see this question for a more complete answer.

BMitch
  • 231,797
  • 42
  • 475
  • 450