https://bugzilla.redhat.com/show_bug.cgi?id=1444729
Juraci Paixão Kröhling <jcosta(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jcosta(a)redhat.com
--- Comment #1 from Juraci Paixão Kröhling <jcosta(a)redhat.com> ---
I just tried this, but not sure I'm missing something. I built via `docker
build . -t jpkroehling/cassandra` and ran as `docker run --rm
jpkroehling/cassandra`, but I saw no output at first. When issuing a Ctrl+C, I
see the typical Cassandra output.
The line 8 of `run-cassandra` looks suspicious to me and could explain the
behavior above, as it seems that it's starting Cassandra and not stopping it.
Other comments:
1) I'm not familiar with the Fedora Docker images, but wouldn't it be better to
use `FROM fedora:rawhide` instead of `FROM
registry.fedoraproject.org/fedora:rawhide`? Leaving the registry address out of
the image means that I could use a local/corporate registry instead of forcing
the usage of Fedora's. Also, the default registry is served by a good CDN,
which is waaay faster than `registry.fedoraproject.org` (for me, at least). Of
course, I'd personally prefer to have `jboss/base-jdk:8` as the base image :)
2) CONTAINER_SCRIPTS_PATH is exported, but the referred path doesn't exist:
```
$ docker run -it --rm jpkroehling/cassandra bash
bash-4.4$ ls $CONTAINER_SCRIPTS_PATH
ls: cannot access '/usr/share/container-scripts/cassandra': No such file or
directory
```
3) OpenShift assigns a random UID to the process within the container, so, the
user that ends up running the process might not have enough permissions. For
JBoss images, it's common to do stuff like this:
https://github.com/jboss-dockerfiles/hawkular-apm/blob/master/elasticsear...
https://github.com/jboss-dockerfiles/infinispan/blob/master/server/Docker...
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=x4jQKASQeE&a=cc_unsubscribe