kerberos-io / kerberos-docker

Run Kerberos Open Source inside a docker container.
http://doc.kerberos.io/opensource/installation#docker
103 stars 31 forks source link

Doesn't start #21

Closed slokhorst closed 4 years ago

slokhorst commented 4 years ago

Following http://www.kerberos.io/opensource/installation#docker :

> docker pull kerberos/kerberos

Using default tag: latest
latest: Pulling from kerberos/kerberos
Digest: sha256:630acdf5b8fae7cbb5f0a17cbc2f326f87efedd0db1e6709365e4419058a8714
Status: Image is up to date for kerberos/kerberos:latest
docker.io/kerberos/kerberos:latest

> docker run --name camera1 -p 80:80 -p 8889:8889 -d kerberos/kerberos

1878e9a752e456fea188db61cc3e9c659074600ad9ed42e214c7bccf7288a62c

> docker logs camera1

/runny.sh: line 15: /etc/php/7.0/fpm/pool.d/env.conf: No such file or directory
/runny.sh: line 16: /etc/php/7.0/fpm/pool.d/env.conf: No such file or directory
/runny.sh: line 17: /etc/php/7.0/fpm/pool.d/env.conf: No such file or directory
php7.0-fpm: unrecognized service
2020-01-03 19:34:15,771 INFO Set uid to user 0 succeeded
2020-01-03 19:34:15,778 INFO RPC interface 'supervisor' initialized
2020-01-03 19:34:15,778 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-01-03 19:34:15,778 INFO supervisord started with pid 15
2020-01-03 19:34:16,781 INFO spawned: 'nginx' with pid 19
2020-01-03 19:34:16,785 INFO spawned: 'machinery' with pid 20
2020-01-03 19:34:16,801 INFO exited: nginx (exit status 1; not expected)
2020-01-03 19:34:17,804 INFO spawned: 'nginx' with pid 23
2020-01-03 19:34:17,805 INFO success: machinery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-01-03 19:34:17,825 INFO exited: nginx (exit status 1; not expected)
2020-01-03 19:34:20,808 INFO spawned: 'nginx' with pid 24
2020-01-03 19:34:20,831 INFO exited: nginx (exit status 1; not expected)
2020-01-03 19:34:24,814 INFO spawned: 'nginx' with pid 25
2020-01-03 19:34:24,832 INFO exited: nginx (exit status 1; not expected)
2020-01-03 19:34:25,812 INFO gave up: nginx entered FATAL state, too many start retries too quickly

When I now visit http://localhost:80/ I get ERR_CONNECTION_RESET

slokhorst commented 4 years ago

It seems to be that runny.sh was written for PHP 7.0 while the docker image uses PHP 7.1.

cedricve commented 4 years ago

Thanks for reporting, something went wrong in the build. Keep you posted!

cedricve commented 4 years ago

@slokhorst , can you pull the image again? Made some changes.

slokhorst commented 4 years ago

@cedricve It's working now. Thanks!