Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

Does port mapping work? #26

@ghost

Description

Hi,

First of all, I appreciate your project.

However, I'm still bit confused of how docker expose the Cassandra ports through the host machine.

I assumed that

"docker run -d -p 9160:9160 -v /srv/cassandra:/data tobert/cassandra" would work.

But it failed to run with error, so I just tried the example as it is, "docker run -d -v /srv/cassandra:/data tobert/cassandra".

The docker ran without anyproblem, but the cassandra ports, 7000, 7199, 9042 and 9160 are still not exposed.

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
tcp6 0 0 ::1:25 :::* LISTEN -

My question is, does this project support port mapping, and I missed something? Or it does not support?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions