Docker Community Forums

Share and learn in the Docker community.

"Getting Started" Part 2 fails with Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'


(Kamyarvarz) #1

Hi, I am new to Docker. I am following the getting started tutorial but am running into this error when running the command: > “docker build -t friendlyhello .”
I am exeuting this command from the same directory where the files are located.
I have three files in my directory as instructed: app.py, Dockerfile, requirements.txt
This page shows the contents of the Dockerfile and the test application:

By the way, I had to set the “experimental” flag on to get around another issue (no matching manifest for unknown in the manifest list entries). Running Windoes 10 Pro