docker image failing: attempt to browse and get "connection reset"
I have this script to build the container: #!/bin/bash docker run --name knowns --link some-mysql:db -e KNOWN_DATABASE=MySQL -e KNOWN_DB_USER=known -e KNOWN_DB_PASSWORD=mypassword -e KNOWN_DB_NAME=known -e KNOWN_DB_HOST=db -p 9000:9000 -d known
docker ps -a shows: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 99125e19f701 known "/entrypoint.sh php-…" 18 minutes ago Up 18 minutes 0.0.0.0:9000->9000/tcp knowns
The container seems to start, but I don't see anything or a setup page when I browse to: ip.of.host:9000
The browser says: This site can’t be reached The connection was reset.
I was really hoping to try this. What is wrong?
Dunno.
But this image is pretty much unmaintained now, as I have basically zero time to update it and nobody seemed interested in keeping it up to date.
If you fancy taking it on, I'd love to look at pull requests! :D
Otherwise, later versions of the known git checkout (if you run composer to get dev tools) have some docker builds built in, but these are very much geared towards development rather than hosting (as they make no guarantees for data persistence). However, if you're just wanting to play around they might be what you're looking for.