CryptoSignal / Crypto-Signal

Github.com/CryptoSignal - Trading & Technical Analysis Bot - 4,100+ stars, 1,100+ forks
https://www.linkedin.com/in/AbenezerMamo
MIT License
4.79k stars 1.25k forks source link

Can not install in Mac OS #315

Open thaieibvn opened 6 years ago

thaieibvn commented 6 years ago

I install Docker and execute file "Makefile" but get error: Last login: Fri Jun 8 21:40:38 on ttys002 /Users/admin/Documents/Binance\ code/crypto-signal-master/Makefile ; exit; admins-MacBook-Pro:~ admin$ /Users/admin/Documents/Binance\ code/crypto-signal-master/Makefile ; exit; /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 1: DOCKER_REPO_NAME: command not found /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 2: DOCKER_CONTAINER_NAME: command not found /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 3: DOCKER_IMAGE_NAME: command not found /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 4: shell: command not found /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 4: GIT_BRANCH: command not found /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 6: build:: command not found invalid argument ":" for "-t, --tag" flag: invalid reference format See 'docker build --help'. Error parsing reference: ":" is not a valid repository/tag: invalid reference format /Users/admin/Documents/Binance code/crypto-signal-master/Makefile: line 10: run:: command not found "docker run" requires at least 1 argument. See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] [flags]

Run a command in a new container logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]


In a terminal run the application. docker run --rm -v $PWD/config.yml:/app/config.yml shadowreaver/crypto-signal:master but still get error

admins-MacBook-Pro:crypto-signal-master admin$ In a terminal run the application. docker run --rm -v $PWD/config.yml:/app/config.yml shadowreaver/crypto-signal:master. docker: invalid reference format. See 'docker run --help'. -bash: In: command not found

Please help me to install it. Thanks

ghost commented 6 years ago

The Makefile is not an executable file, it is configuration for a program called make which can be executed with the command make run... this may require some additional installation on OSX I am unsure.

Which version of docker? Also try docker run --rm -v "$PWD/config.yml:/app/config.yml" shadowreaver/crypto-signal:master if there are any spaces in the path to the config file then that would break it if the path is not quoted.

thaieibvn commented 6 years ago

Firstly, thankyou for your help.

I runned "docker run --rm -v "$PWD/config.yml:/app/config.yml" shadowreaver/crypto-signal:master" and it said:

Unable to find image 'shadowreaver/crypto-signal:master' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/shadowreaver/crypto-signal/manifests/master: unauthorized: incorrect username or password. Makefile.txt

ghost commented 6 years ago

That will mean you've done a docker login but the username and password are no longer valid. Either login again or logout. You do not need to be logged in to fetch from the repo it is public

andrecs75 commented 5 years ago

Is a problem of Docker in MAC OS!

Login at https://hub.docker.com, find your username (not your e-mail).

Login at Terminal using your username:

docker login

If you receive "Login Succeeded", go ahead and try again: docker run --rm -v "$PWD/config.yml:/app/config.yml" shadowreaver/crypto-signal:master