These are chat archives for beniz/deepdetect

13th
Aug 2016
Jacky Yang
@anguoyang
Aug 13 2016 12:03
hi, @sunatthegilddotcom , thanks a lot for your suggestion
Jacky Yang
@anguoyang
Aug 13 2016 12:15
hi, @beniz, sorry to trouble you again:) I am using the docker image,I have tried to install annoy in the host machine, but failed, could I install it inside the container to use the imgsearch? it need the root access rights while I dont know the pass for dd...
Emmanuel Benazera
@beniz
Aug 13 2016 12:23
there's no root pwd on docker. look how to get a bash running into it or how to attach one.
Jacky Yang
@anguoyang
Aug 13 2016 12:29
yes, I enter the container by "docker exec -ti containerid /bin/bash", it was successfully, but when I install software, it need the root/pwd:
dd@iZ25yr43gwpZ:/opt/deepdetect/build/main$ sudo apt-get install pip
[sudo] password for dd:
dd@iZ25yr43gwpZ:/opt/deepdetect/build/main$ sudo apt-get install annoy
[sudo] password for dd:
Emmanuel Benazera
@beniz
Aug 13 2016 12:33
there's no audio, you need to run bash as root, which is the default
no sudo
read docker doc and tutorial about this
Jacky Yang
@anguoyang
Aug 13 2016 12:37
ok, thanks, I try to find the command line of attach
Jacky Yang
@anguoyang
Aug 13 2016 12:48
it is ok now, by this: docker exec -u root -ti containerid /bin/bash, thanks
sunatthegilddotcom
@sunatthegilddotcom
Aug 13 2016 23:18
@beniz Thank you very much!
@anguoyang here is how you do it
docker exec -it -u 0 containerID bash
you will be the root in the container
sunatthegilddotcom
@sunatthegilddotcom
Aug 13 2016 23:32
This is an example
docker exec -it -u 0 e9e5a82c2c9a bash