Practice this fail.
The final dot matters.
Docker · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
The current directory contains a trusted Dockerfile and all intended build inputs. Build and tag it as demo:dev using this directory as context.
The final dot matters.
$ docker build -t demo:dev
ERROR: requires a build context argument
How do you provide the current directory as the build context?
Fixed. By hand.
docker build -t demo:dev .The final dot supplies the current directory as the build context. The tag flag names the result. Review the Dockerfile and .dockerignore before sending build inputs to a builder.
Practice does not affect your daily score or streak.