When I try to run docker-compose, I get the error "Cannot locate specified Dockerfile: Dockerfile"

Premise

--PyCharm in the project directory, DockerFile docker-compose.yml And tried to run docker-compose.

Problems that occurred

--The following error has occurred.

Building app
[19832] Failed to execute script docker-compose
Traceback (most recent call last):
  File "compose\cli\main.py", line 67, in main
  File "compose\cli\main.py", line 126, in perform_command
  File "compose\cli\main.py", line 864, in run
  File "compose\cli\main.py", line 1316, in run_one_off_container
  File "compose\project.py", line 615, in up
  File "compose\service.py", line 362, in ensure_image_exists
  File "compose\service.py", line 1147, in build
compose.service.BuildError: (<Service: app>, {'message': 'Cannot locate specified Dockerfile: Dockerfile'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose\cli\main.py", line 78, in main
TypeError: can only concatenate str (not "dict") to str

counter-measure

-File name DockerFile⇒Dockerfile It was fixed when I fixed it.

Recommended Posts

When I try to run docker-compose, I get the error "Cannot locate specified Dockerfile: Dockerfile"
I get a Ruby version error when I try to start Rails.
I get an error when I try to use "^" or "$" in ruby ​​regular expression
When I run docker-compose exec in crontab, I get "the input device is not a TTY"
I found no way to get the error code when I received an exception on Android
I tried to translate the error message when executing Eclipse (Java)
[Android Studio] What to try when you get into error spitting hell
I want to get the IP address when connecting to Wi-Fi in Java
I want to display an error message when registering in the database
What to do if you get an "A server is already running." Error when you try to start the rails server
When I renew the certificate with CircleCI × fastlane, I get an exit status: 65 error.
I managed to get a blank when I brought the contents of Beans to the textarea
I get an error when adding a dependency
I tried to set tomcat to run the Servlet.
I want to get the value in Ruby
What to do if you get a port error when docker-compose up on Mac
I get Mysql2 :: Error :: ConnectionError in the production environment
The command specified by docker-compose takes precedence over Dockerfile
What should I do to reload the updated Dockerfile?
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
When starting Eclipse debug, I get a `ERROR: JDWP Transport dt_socket failed` error and cannot start.
What I was addicted to when introducing the JNI library
A validation error occurred when saving to the intermediate table.
How to get the log when install4j does not start
When you want to change the MySQL password of docker-compose
I want to pass the startup command to postgres with docker-compose.
The story I was addicted to when setting up STS
When I try to use the AWS SDK with Ruby + Lambda, `sam local` is messed up.
[Ruby] What to do when the error "cannot load such file" appears when executing VS Code debug
I want to make the frame of the text box red when there is an input error
When I tried to run my own service, it failed, so I screwed it into the task scheduler