简体   繁体   中英

Running docker run command on windows

I am a beginner in docker and I am trying to run a Q&A website locally in my browser. I have found an open source container on the link https://hub.docker.com/r/zout84/askbot-docker . Here are the steps that I have done:

  • I have downloaded docker toolbox DockerToolbox-19.03.1.exe to be able to run docker using my Windows terminal.
  • Following the instructions on the above link I have run the command docker run -v /tmp/askbot:/data/ -p 8080:80 -d zout84/askbot-docker . Since I am on Windows I have replaced /tmp/askbot:/data/ by a folder I have created.
  • I have downloaded the container and put it a local folder that I called Docker_source. I have replaced zout84/askbot-docker by C:\Docker_source in the above docker run command

Now the error that I have is docker: invalid reference format: repository name must be lowercase.

Please, any suggestions on how to make it work?

Like the error said, The repository has to be lower case. It is called C:\Docker_source . You got a capital "D" over there. change it to a "d"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM