Comments (10)
@ohhayley Docker does not work in termux so i am making changes in the main script to make it work on termux its almost done and i will push it soon
from seeker.
i am trying to make it work on termux i will give it a go after that
from seeker.
Hi @thewhiteh4t how goes the docker file writing 😄
from seeker.
concept of docker is amazing, i am working on it, will push soon :)
from seeker.
Please let me know when you have something in your Dockerfile, I could do a proper review 😄
from seeker.
i have this right now :
FROM ubuntu
ADD . /seeker
RUN echo "Asia/Singapore" > /etc/timezone
RUN apt-get update > install.log
RUN apt-get -y install tzdata >> install.log
RUN dpkg-reconfigure -f noninteractive tzdata >> install.log
RUN apt-get -y install python python-pip apache2 php >> install.log
RUN pip install requests >> install.log
RUN cp -r seeker/template/nearyou/ var/www/html/
RUN chmod 777 var/www/html/nearyou/php/info.txt
RUN chmod 777 var/www/html/nearyou/php/result.txt
CMD ./seeker/seeker.py
initially it was getting stuck at choosing timezone for that i added lines 3,5 and 6 and its working now
at first the docker executed properly and seeker was working but now its hanging after printing
TERM environment variable not set.
earlier seeker executed after printing this line but now it just hangs.
Build output:
docker build -t seeker .
Sending build context to Docker daemon 34.04MB
Step 1/12 : FROM ubuntu
latest: Pulling from library/ubuntu
c64513b74145: Pull complete
01b8b12bad90: Pull complete
c5d85cf7a05f: Pull complete
b6b268720157: Pull complete
e12192999ff1: Pull complete
Digest: sha256:3f119dc0737f57f704ebecac8a6d8477b0f6ca1ca0332c7ee1395ed2c6a82be7
Status: Downloaded newer image for ubuntu:latest
---> 735f80812f90
Step 2/12 : ADD . /seeker
---> 0c93002b6b99
Step 3/12 : RUN echo "Asia/Singapore" > /etc/timezone
---> Running in 344e1bd22909
Removing intermediate container 344e1bd22909
---> fd739c0e0fa9
Step 4/12 : RUN apt-get update > install.log
---> Running in 5752dc63bab8
Removing intermediate container 5752dc63bab8
---> 422c345dd030
Step 5/12 : RUN apt-get -y install tzdata >> install.log
---> Running in e4a5ec6a323c
debconf: delaying package configuration, since apt-utils is not installed
Removing intermediate container e4a5ec6a323c
---> dc6aafd18989
Step 6/12 : RUN dpkg-reconfigure -f noninteractive tzdata >> install.log
---> Running in a5fe0de89a7f
Current default time zone: 'Etc/UTC'
Local time is now: Fri Aug 3 17:59:28 UTC 2018.
Universal Time is now: Fri Aug 3 17:59:28 UTC 2018.
Removing intermediate container a5fe0de89a7f
---> 2f558ff28fc5
Step 7/12 : RUN apt-get -y install python python-pip apache2 php >> install.log
---> Running in a87474996f2d
debconf: delaying package configuration, since apt-utils is not installed
Removing intermediate container a87474996f2d
---> dde3f5fd7a69
Step 8/12 : RUN pip install requests >> install.log
---> Running in 1c40877b7afb
Removing intermediate container 1c40877b7afb
---> 95b2963d41be
Step 9/12 : RUN cp -r seeker/template/nearyou/ var/www/html/
---> Running in 5089a794642f
Removing intermediate container 5089a794642f
---> ca4d358a2c2e
Step 10/12 : RUN chmod 777 var/www/html/nearyou/php/info.txt
---> Running in 979184a7ae5f
Removing intermediate container 979184a7ae5f
---> bca78594abd5
Step 11/12 : RUN chmod 777 var/www/html/nearyou/php/result.txt
---> Running in 955b1d0900c4
Removing intermediate container 955b1d0900c4
---> 09f018cf3c23
Step 12/12 : CMD ./seeker/seeker.py
---> Running in 9ed4373086d9
Removing intermediate container 9ed4373086d9
---> 93f4fa010725
Successfully built 93f4fa010725
Successfully tagged seeker:latest
from seeker.
Hey,
Which terminal emulator are you using? I mean in the docker container, sometimes I export a variable like this :
export TERM=xterm
from seeker.
I used export TERM=xterm
and its working now script is also running but this happens:
docker run --rm seeker
if i run using this TERM is not set and it still shows the error but
docker run -t --rm seeker
with -t TERM is set and error is gone
update
if i remove export TERM=xterm
and run by using
docker run -t seeker
error goes away
from seeker.
Docker support added, thanks, closing :)
from seeker.
So seeker work in termux?
from seeker.
Related Issues (20)
- Python3 seeker.py not running HOT 3
- TBomb not working HOT 2
- Webhook HOT 7
- seeker HOT 1
- templates not loading? HOT 6
- Add seeker HOT 6
- [7] Custom link preview not working properly HOT 5
- Starting PHP Server Error HOT 3
- ConnectionError HOT 1
- Trying to install seeker on a Raspi 4 Model B HOT 2
- Error when installing dependencies HOT 5
- Install failed HOT 2
- git clone https://github.com/thewhiteh4t/seeker.git HOT 1
- How to update it to the new version HOT 2
- 104, 'Connection reset by peer' HOT 1
- Installing dependencies is failing HOT 1
- Installation HOT 1
- hihi
- "packaging" problem HOT 2
- .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seeker.