You need to point to the directory instead. You must not specify the dockerfile.
docker build -t ubuntu-test:latest . does work.
docker build -t ubuntu-test:latest ./Dockerfile does not work.
You need to point to the directory instead. You must not specify the dockerfile.
docker build -t ubuntu-test:latest . does work.
docker build -t ubuntu-test:latest ./Dockerfile does not work.