Docker Images Lab

Hi I’m facing a problem in docker images lab
I tried the hint still throwing error.

It’s a sneaky one. Docker build requires the path to the folder where the Dockerfile is that you want to build as its last argument. Typically, that’s the current folder, so most example commands just use . to indicate that. And a single dot is easy to miss. Try running the following command (don’t forget the dot at the end):

docker build -t webapp-color .

That should do the trick.

1 Like