While working on the docker getting-started tutorial, I ran into the
{curl --compressed version error} implementing the "Using Bind Mount" section of the tutorial.
To solve:
In a MINGW64 'Git Bash' terminal I first ran the curl command without the
"--compressed" flag, to update my curl version successfully.
I then ran the command recommended by the error message originally seen:
[ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash ]
This ran successfully, fixing the {curl --compressed version error}.
Re-start my container in 'dev' mode with this command {without brackets} both mounted my dev repository directory and loaded the todo-db volume:
[ docker run -dp 3000:3000 -it --name containern-name
--mount type=bind,source="$(pwd)",target=/app
-v todo-db:/etc/todos image-name:latest
sh -c "yarn install && yarn run dev" ]
It was great to see that the container responds immediately to code changes on the host computer as intended.
The host machine is a Windows 10 laptop (Dell Inspirion dual core i7)