-
Notifications
You must be signed in to change notification settings - Fork 146
Docker run issue. #9
Description
Good day. I'm Sean, a uni student trying to follow through this very impressive work. But i have faced a problem which i was looking at for a week but still couldn't solve it.
So, I was following through this ipython-soccer-predictions project.
I did
gcloud compute instances create ipy-predict \
--image https://www.googleapis.com/compute/v1/projects/google-# containers/global/images/container- vm-v20140522 \
--zone=us-central1-a --machine-type n1-standard-1 --scopes storage-ro bigquery
which was successful and it created a VM instance named ipy-predict.
Then since gcutil doesn't work any more, i typed in
gcloud compute ssh osy044_googlemail_com@ipy-predict --zone=us-central1-a
This connected to the VM instance that i have just created.
Then on VM instance, i typed in
docker run fhoffa/ipython-predictions:v1
Then it gives the the following error and it stops running.
2015-07-18 09:14:57,874 WARN Included extra file "/etc/supervisor/conf.d/supervisord-ssh.conf" during parsing
2015-07-18 09:14:57,874 WARN Included extra file "/etc/supervisor/conf.d/supervisord-extra.conf" during parsing
2015-07-18 09:14:57,874 WARN Included extra file "/etc/supervisor/conf.d/supervisord-ipython.conf" during parsing
2015-07-18 09:14:57,894 INFO RPC interface 'supervisor' initialized
2015-07-18 09:14:57,894 CRIT Server 'inet_http_server' running without any HTTP authentication checking
2015-07-18 09:14:57,895 INFO RPC interface 'supervisor' initialized
2015-07-18 09:14:57,895 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-07-18 09:14:57,895 INFO supervisord started with pid 1
2015-07-18 09:14:58,897 INFO spawned: 'ipython' with pid 12
2015-07-18 09:14:58,898 INFO spawned: 'sshd' with pid 13
2015-07-18 09:14:58,899 INFO spawned: 'gitpull-predictions' with pid 14
2015-07-18 09:14:59,629 INFO exited: gitpull-predictions (exit status 0; not expected)
2015-07-18 09:15:00,630 INFO success: ipython entered RUNNING state, process has stayed up for > than 1 seconds (sta
rtsecs)
2015-07-18 09:15:00,631 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (starts
ecs)
2015-07-18 09:15:00,631 INFO spawned: 'gitpull-predictions' with pid 26
2015-07-18 09:15:00,635 INFO exited: gitpull-predictions (exit status 128; not expected)
2015-07-18 09:15:02,645 INFO spawned: 'gitpull-predictions' with pid 27
2015-07-18 09:15:02,651 INFO exited: gitpull-predictions (exit status 128; not expected)
2015-07-18 09:15:05,657 INFO spawned: 'gitpull-predictions' with pid 28
2015-07-18 09:15:05,664 INFO exited: gitpull-predictions (exit status 128; not expected)
2015-07-18 09:15:06,665 INFO gave up: gitpull-predictions entered FATAL state, too many start retries too quickly
I have checked the supervisord config file and the log files too.
The log file says
fatal: destination path '/home/ipy/ipynotebooks/soccer' already exists and is not an empty directory.
fatal: destination path '/home/ipy/ipynotebooks/soccer' already exists and is not an empty directory.
fatal: destination path '/home/ipy/ipynotebooks/soccer' already exists and is not an empty directory.
It seems like the error is caused by restarting the gitpull-prediction over and over again without successfully running it. But im not sure exactly how to solve it. Is there any way to go through this problem?