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

Update run with docker instructions #2701

Closed
pan-long opened this issue Aug 7, 2016 · 9 comments
Closed

Update run with docker instructions #2701

pan-long opened this issue Aug 7, 2016 · 9 comments

Comments

@pan-long
Copy link

pan-long commented Aug 7, 2016

Expected Behavior

Bot is working

Actual Behavior

Bot complaining couldn't find encrypt.so

Steps to Reproduce

Follow the instructions here

Other Information

OS: OSX(docker)
Git Commit: ad6c21a

@lafin
Copy link

lafin commented Aug 7, 2016

#2695

@pan-long
Copy link
Author

pan-long commented Aug 7, 2016

@lafin Thanks for that, I will then wait the PR to be merged and close this issue.

@acaranta
Copy link
Contributor

acaranta commented Aug 7, 2016

btw, I tested the PR + my dockerfile modification, bot is currently running smoothly ;)

@pan-long
Copy link
Author

pan-long commented Aug 7, 2016

@acaranta I just applied your PR and rebuild my docker. It doesn't work for me. It still gives me OSError: encrypt.so: cannot open shared object file: No such file or directory Any ideas?

@trademarrk
Copy link

$ docker build -t pokemongo-bot
"docker build" requires exactly 1 argument(s).
See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile

looking for some help dont really no how to get from this to

docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot

this is new to me, im a noob :(

@pan-long
Copy link
Author

pan-long commented Aug 7, 2016

@trademarrk docker build -t pokemongo-bot .' don't forget the.` at the end.

@newjanson
Copy link
Contributor

@acaranta I changed the dockerfile and rebuilt it, but I still get OSError: encrypt.so: cannot open shared object file: No such file or directory

@acaranta
Copy link
Contributor

acaranta commented Aug 7, 2016

As said in my Dockerfile PR, it needs the #2643 PR to be applied, (at least the modification to the init file ! otherwise, nope it will not work ;) sorry ;)) ..
What I did to try, run, and PR is to manually edit the init file in order for the encrypt.so file to be check "locally".

@trademarrk
Copy link

@pan-long thanks a lot, got past it now and the image is created (y), seemed to get this issue pokecli.py: error: argument -a/--auth_service is required

when i put in this
docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
I already edited the config.json though :S

@k4n30 k4n30 closed this as completed Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants