An error occurred running the upgrade command "docker-compose pull"

Viewed 1313

The error is as follows:

/usr/local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend

ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml

1 Answers

There are two issues here, whether there is a docker-compose.yaml file in the current directory. The other question is, can you try using the docker compose pull command.

@linkinstar using "docker compose pull",The error message is "no configuration file provided: not found"

The error message "no configuration file provided: not found" typically indicates that Docker Compose was unable to find the docker-compose.yml file in the current directory or the specified location.

When you run the command docker compose pull, Docker Compose looks for a docker-compose.yml file in the current directory. This file specifies the configuration for your Docker services, including the images to pull.

@linkinstar Use the following command when installing: curl -fsSL https://raw.githubusercontent.com/apache/incubator-answer/main/docker-compose.yaml | docker compose -p answer - f-up. The file docker-compose.yml was not found in the directory.

Do I need to download a separate configuration file? Command: curl - fsSL https://raw.githubusercontent.com/apache/incubator-answer/main/docker-compose.yaml - o docker - compose. Yml