Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install in Mac OS #315

Open
thaieibvn opened this issue Jun 8, 2018 · 4 comments
Open

Can not install in Mac OS #315

thaieibvn opened this issue Jun 8, 2018 · 4 comments
Labels

Comments

@thaieibvn
Copy link

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
Copy link

ghost commented Jun 11, 2018

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.

@ghost ghost added the question label Jun 11, 2018
@thaieibvn
Copy link
Author

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
Copy link

ghost commented Jun 12, 2018

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants