'Docker: biding an already existing container directory to a local directory

I have a docker container (named 'clever_hugle') that already exists on my windows machine.

I want to bind my local directory c:\Users\me\Desktop\local_dir to the docker directory '\home\lat'.

From windows I do:

docker container ls

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f7c0a4258656 conda/miniconda3:latest "bash" 2days ago Up 7 minutes clever_hugle

then

docker run --name=clever_hugle -d -v c:\Users\me\Desktop\local_dir:/home/lat -p 5000:80 clever_hugle

But I get this error:

Unable to find image 'clever_hugle:latest' locally

I have already tried to find a solution for this, but I could not find anything.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source