Open underscorephil opened 10 years ago
Oh noes! One sec...
So, my knowledge of docker is still that of total n00b. There's an image at https://registry.hub.docker.com/u/pjf0/exobrain/ ...
Does sudo docker.io pull pjf0/exobrain
work by itself?
Appears to:
# sudo docker.io pull pjf0/exobrain
Pulling repository pjf0/exobrain
#
I am new to docker as well...
Though it does not show up in docker.io ps after...
I'm having the same issue. It appears you need to tag your build "latest" in order for docker run to do its thing. If you look at other Docker repos, they all appear to have this tag, and docker run appears to call for it by default.
docker tag
http://stackoverflow.com/questions/22080706/how-to-create-named-and-latest-tag-in-docker
Back from the burn and working on this now!
Aha! I had unpushed changes, and that seemed to include the latest tag! My apologies for the delay, can you check to see if we've got improved docker joy now?
Fixed, but now failing to run in its container. First, I added ~/perl5/bin to $PATH, since that was where I found the script, but it appears the container is missing some dependencies and/or paths.
First run: root@5082eb2bb499:/home/exobrain# exobrain setup IPC::System::Simple required for Fatalised/autodying system() at /hom e/exobrain/perl5/bin/exobrain line 9. BEGIN failed--compilation aborted at /home/exobrain/perl5/bin/exobrain line 9. root@5082eb2bb499:/home/exobrain#
Installed IPC::System::Simple.
Second run:
root@5082eb2bb499:/home/exobrain/perl5/bin# exobrain setup
Setting up exobrain...
It doesn't look like ubic is installed; at least, I can't find //ubic
.
Have you run cpanm Ubic
and ubic-admin setup
?
Halting (Ubic not found) root@5082eb2bb499:/home/exobrain/perl5/bin#
So the problem is that docker will log you in as root, and exobrain looks to $HOME/ubic (-> /ubic), while it's in /home/exobrain/ubic. I set $HOME to /home/exobrain and got setup to run, and I'll poke around at other components as I go.
Summary: install IPC::System::Simple make exobrain root-friendly by either putting ~/ubic somewhere in /usr or setting $HOME to /home/exobrain
On Thu, Sep 4, 2014 at 1:41 PM, Paul Fenwick notifications@github.com wrote:
Aha! I had unpushed changes, and that seemed to include the latest tag! My apologies for the delay, can you check to see if we've got improved docker joy now?
— Reply to this email directly or view it on GitHub https://github.com/pjf/exobrain/issues/60#issuecomment-54541504.
@mattmay : You rock, thank you so much for reporting this! (And my apologies so much for the delays; I have stable accommodation and WiFi again come Monday, but I'm trying to squeeze in as much coding as I can between now and then.)
Howdy!
When following the docker install instructions the following occurs:
I was also not able to find the image when searching in the docker registry directly.