-
Notifications
You must be signed in to change notification settings - Fork 155
🐞 ERROR [2/2] RUN apt-get update && apt-get -y install git && #4
Comments
Correct, I experienced this issue today too, I resolved it by doing the following 4 steps:
---
version: '3'
services:
freqtrade:
# image: freqtradeorg/freqtrade:stable
image: freqtradeorg/freqtrade:develop
# Use plotting image
# image: freqtradeorg/freqtrade:develop_plot
# Build step - only needed when additional dependencies are needed
# build:
# context: .
# dockerfile: "./docker/Dockerfile.technical"
restart: unless-stopped
container_name: Freqtrade-MoniGoMani
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./user_data:/freqtrade/user_data"
# Expose api on port 8080 (localhost only)
# Please read the https://www.freqtrade.io/en/latest/rest-api/ documentation
# before enabling this.
ports:
- "127.0.0.1:8080:8080"
# Default command used when running `docker compose up`
command: >
trade
--logfile /freqtrade/user_data/logs/freqtrade.log
--db-url sqlite:////freqtrade/user_data/tradesv3-MoniGoMani_v0.8.1.sqlite
--config /freqtrade/user_data/config.json
--config /freqtrade/user_data/config-private.json
--strategy MoniGoManiHyperStrategy
After that your problem should be resolved, these fixes will be included in v0.9.0 once it is complete. |
hello Rikj000, thanks a lot, I did Above, error above has gone but I am receiving new one (log file not found), see the screen dump: |
It is an access right issue ( I dont know how to elevate the privileges to be able to create the freqtrade/user_data/logs/freqtrade.log) so I changed the path of the logfile in docker-compose.yml to --logfile /tmp/freqtrade.log with many thanks |
Your 2nd issue should already have been resolved with this commit on the |
Brilliant, thanks Rikj000 |
Hello
I had an error during installation, any hint please:
docker-compose pull
Pulling freqtrade ... done
docker-compose up --build
Building freqtrade
failed to get console mode for stdout: The handle is invalid.
[+] Building 1.0s (4/5)
=> [internal] load build definition from Dockerfile.technical 0.0s
[+] Building 1.1s (5/5) FINISHED
=> [internal] load build definition from Dockerfile.technical 0.0s
=> => transferring dockerfile: 42B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/freqtradeorg/freqtrade:develop 0.0s
=> [1/2] FROM docker.io/freqtradeorg/freqtrade:develop 0.1st && apt-get clean && pip install
=> ERROR [2/2] RUN apt-get update && apt-get -y install git && a 0.8s
ERROR: Service 'freqtrade' failed to build
The text was updated successfully, but these errors were encountered: