Skip to content

Docker compose wget: command not found #5

@brinkokevin

Description

@brinkokevin

When running docker compose it gives me this error.

PS C:\wsl\Microservices-Based-Algorithmic-Trading-System> docker-compose up -d --build
WARNING: The MAPBOX_API_KEY variable is not set. Defaulting to a blank string.
Building minio-image
Step 1/2 : FROM minio/minio
---> 88a529ae9ab6
Step 2/2 : RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc
---> Running in 6ab6c6f42d7e
/bin/sh: wget: command not found
ERROR: Service 'minio-image' failed to build : The command '/bin/sh -c wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc' returned a non-zero code: 127

I also tried removing that line, which made the compose successful, however when running starter_script.bat I get the error bellow.

C:\wsl\Microservices-Based-Algorithmic-Trading-System>docker exec -it jupyter-image /bin/sh -c "python /home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py"
Traceback (most recent call last):
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 131, in
main()
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 118, in main
symbols = parse_wiki_forex()
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 38, in parse_wiki_forex
rv = client.request(r)
File "/opt/conda/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 305, in request
response = self.__request(method, url,
File "/opt/conda/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 242, in __request
raise V20Error(response.status_code,
oandapyV20.exceptions.V20Error: {"errorMessage":"Insufficient authorization to perform request."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions