Build a docker image using the Dockerfile and name it webapp-color. No tag to be specified

Build a docker image using the Dockerfile and name it webapp-color . No tag to be specified.

I am unable to create docker image ,Can someone help me

docker build -t webapp-color . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /root/Dockerfile: no such file or directory docker build -t webapp-color
“docker build” requires exactly 1 argument.
See ‘docker build --help’.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile
$ docker build -t webapp-color
“docker build” requires exactly 1 argument.
See ‘docker build --help’.

Usage: docker build [OPTIONS] PATH | URL |

You only specified a tag for the container, you also have to specify the root folder for the “build context”. Often that’s the root folder of the project, so just a . is used for it: docker build -t tag_name .