Empty section between colons - cli 26.1.0

When running the following:

docker run -it -v ${pwd}:/mnt scrlk/esp32-micropython

I’m getting:

docker: invalid spec: :/mnt: empty section between colons.

What is this?

You probably meant ${PWD} or $(pwd) and not ${pwd} which will be empty unless you set it somewhere before the command.

Thanks. I played a bit, found out that ${pwd} is empty but $(pwd) is not.
I just took the line from here.

Then the maintainer of the image made a mistake when writing the description.

1 Like