Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection reset by peer on container start #2

Closed
lanrat opened this issue Aug 2, 2016 · 1 comment
Closed

Connection reset by peer on container start #2

lanrat opened this issue Aug 2, 2016 · 1 comment

Comments

@lanrat
Copy link

lanrat commented Aug 2, 2016

Once started I am unable to connect to the container over HTTP

Build

$ docker build -t nextcloud github.com/nextcloud/docker

Run

$ docker run -d -p 80:80 nextcloud

Logs

[02-Aug-2016 20:56:27] NOTICE: fpm is running, pid 1
[02-Aug-2016 20:56:27] NOTICE: ready to handle connections

Test

$ curl http://127.0.0.1:80
curl: (56) Recv failure: Connection reset by peer
@lanrat
Copy link
Author

lanrat commented Aug 2, 2016

After doing some digging I think that this may be because port 9000 is the only port exposed in the owncloud container which is for php-fpm. It does not look like there is a HTTP server included. Is this the desired behavior? And if so the README is misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant