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

How to use docker #31

Open
frosty00 opened this issue Sep 14, 2018 · 9 comments
Open

How to use docker #31

frosty00 opened this issue Sep 14, 2018 · 9 comments
Labels
enhancement New feature or request

Comments

@frosty00
Copy link
Contributor

I'm playing around with the image solving (I haven't pushed these changes yet) but need to host the image files for google to fetch off my server, however for this I need to setup docker.

So far I have done a docker build and can see the image when do docker image ls

Could you provide an example of how to use this repo with docker in the README?

Thanks again.

@mikeyy
Copy link
Owner

mikeyy commented Sep 14, 2018

I haven't quite got around to finishing the Dockerfile - I guess I will try and fix that up. I was stuck on getting the files copied over from the host machine to the docker container. Should be simple but I keep forgetting to fix it.

@frosty00
Copy link
Contributor Author

Is docker run nonocaptcha all that is needed? Which file does this run?

@mikeyy
Copy link
Owner

mikeyy commented Sep 14, 2018

First, you'll need to build the Dockerfile using the command docker build . in the directory of the Dockerfile, and then you run the image built with docker run or something of that nature. It's been a moment since I've used docker so I'll have to spend some time with it again before being certain.

@smowtion
Copy link

@mikeyy I'm trying switch to docker to fix my issue , after run
docker build .
E: Unable to locate package lipulse-dev
I trying find this package but not found any where

@frosty00
Copy link
Contributor Author

I’m on debian so the package names may be different. Will make a patch and revert my push. Docker isn’t currently working at all for me, but it is something in the works.

I have got it working by doing pip3 install -r requirements.txt and googling any errors for missing packages.

@mikeyy
Copy link
Owner

mikeyy commented Sep 18, 2018

This issue should be resolved now. For now, I've placed the Dockerfile's instructions and basic usage guide as comments in the file itself. I will decide a more visible area at a later time, open to suggestions.

@mikeyy
Copy link
Owner

mikeyy commented Sep 18, 2018

Also, try it on your end and let me know it works for you, including if I need to make any adjustments to the guide.

@mikeyy mikeyy added the enhancement New feature or request label Sep 27, 2018
@smowtion
Copy link

smowtion commented Jan 7, 2019

I have issue install docker
Sending build context to Docker daemon 11.78kB Step 1/6 : FROM ubuntu:16.04 ---> b0ef3016420a Step 2/6 : RUN apt-get update && apt-get install -y libpangocairo-1.0-0 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libnss3 libcups2 libxss1 libxrandr2 libgconf-2-4 libasound2 libasound2-dev libatk1.0-0 libgtk-3-0 gconf-service libappindicator1 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgdk-pixbuf2.0-0 libglib2.0-0 libnspr4 libpango-1.0-0 libpulse-dev libstdc++6 libx11-6 libxcb1 libxext6 libxfixes3 libxrender1 libxtst6 ca-certificates fonts-liberation lsb-release xdg-utils build-essential ffmpeg swig software-properties-common curl && add-apt-repository ppa:jonathonf/python-3.6 && apt-get remove -y software-properties-common && apt autoremove -y && apt-get update && apt-get install -y python3.6 python3.6-dev && curl -o /tmp/get-pip.py "https://bootstrap.pypa.io/get-pip.py" && python3.6 /tmp/get-pip.py && apt-get remove -y curl && apt autoremove -y && pip install nonocaptcha ---> Using cache ---> 7751b0a61d44 Step 3/6 : RUN mkdir /nonocaptcha ---> Using cache ---> 3d89c7f368ac Step 4/6 : ADD pocketsphinx /nonocaptcha/pocketsphinx ADD failed: stat /var/lib/docker/tmp/docker-builder042945231/pocketsphinx: no such file or directory

@smowtion
Copy link

smowtion commented Jan 7, 2019

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

No branches or pull requests

3 participants