Skip to content

docker image failing: attempt to browse and get "connection reset" #14

Description

@K1WIZ

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions