Closed Asethon closed 4 years ago
Hey. I tried to use this service to work inside the docker. To do this, I created a dockerfile based on the image of mariadb:
FROM mariadb:10.3 RUN apt-get update && apt-get install -y cmake default-libmysqlclient-dev g++ git libboost-dev make zlib1g-dev RUN git clone https://github.com/OlafvdSpek/xbt RUN cd xbt/Tracker && \ cmake . && \ make COPY xbt_tracker/xbt_tracker.conf /xbt/bin/ RUN cd xbt/Tracker && adduser --disabled-login xbt && \ cp xbt_tracker /xbt/bin && \ chmod 700 /xbt/bin/xbt_tracker.conf && \ chown -R xbt:xbt /xbt/bin COPY xbt_tracker/xbt.bash /root/ RUN chmod 755 /root/xbt.bash COPY xbt_tracker/rc.local /etc/
# /xbt/bin/xbt_tracker.conf mysql_host = mariadb mysql_user = anilibria mysql_password = anilibria mysql_database = anilibria
# /root/xbt.bash #!/bin/bash -x sleep 60 su - xbt -c "cd /home/xbt/bin && ./xbt_tracker > /dev/null 2>/dev/null &"
Next, I run the command /root/xbt.bash & inside the container
/root/xbt.bash &
I have empty tables xbt_peers and xbt_torrents. Service crashes with the following error:
Also, on port 2710 that I specified, the browser crashes with the error ERR_CONNECTION_CLOSED
Could you tell me how to fix the problems?
try killall ./xbt_tracker
bind faiure: EADDRINUSE - That's mean you already started xbt_tracker
Hey. I tried to use this service to work inside the docker. To do this, I created a dockerfile based on the image of mariadb:
Next, I run the command
/root/xbt.bash &
inside the containerI have empty tables xbt_peers and xbt_torrents. Service crashes with the following error:
Also, on port 2710 that I specified, the browser crashes with the error ERR_CONNECTION_CLOSED
Could you tell me how to fix the problems?