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.
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.