I have been going through the Docker 101 Tutorial and I made it to the sections:
“Using Bind Mounts”
“Multi-Container Apps”
In both of these sections we are being instructed to run the “docker run” command as follows:
docker run -dp 3000:3000 \ -w /app -v $PWD:/app \ node:12-alpine \ sh -c “yarn install && yarn run dev”
docker run -d --network todo-app --network-alias mysql -v todo-mysql-data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=todos \ mysql:5.7
In both cases I am seeing the error:
docker: invalid reference format.
See ‘docker run --help’.
Being new to Docker, not sure how to troubleshooting this error