It seems that the image initially referenced,
(apachegeode/geode:1.0.0-incubating.M3), is different to what is produced
when you run docker/build-runtime-docker.sh out of the Geode repo. The
former image errors as follows:

$ docker run -it apachegeode/geode:1.0.0-incubating.M3 *bash*
Invalid command or option : bash.
Use gfsh help to display additional information.

That is because ENTRYPOINT is specified as 'gfsh' by the image. Images
built from the repo Dockerfile simply have CMD specified as 'gfsh' which is
overridable by appending 'bash' to the 'docker run' command.

How was the 'M3' image built?

--Jens


On Tue, Sep 6, 2016 at 6:46 PM, William Markito <wmark...@pivotal.io> wrote:

> Or just append bash to the end:
>
> >> docker run -it apachegeode/geode:1.0.0-incubating.M3 bash
>
> Sent from my iPhone
>
> > On Sep 3, 2016, at 8:43 AM, Jens Deppe <jde...@pivotal.io> wrote:
> >
> > Looks like you need to do:
> >
> > docker run -it --entrypoint=/bin/bash apachegeode/geode:1.0.0-
> incubating.M3
> >
> > ...for a bash prompt.
> >
> > --Jens
> >
> >> On Fri, Sep 2, 2016 at 9:58 PM, William Markito <wmark...@pivotal.io>
> wrote:
> >>
> >> Just updated our Docker image on DockerHub [1] with  M3.
> >>
> >> docker run -it apachegeode/geode:1.0.0-incubating.M3
> >>
> >> The command above will give you `gfsh` now for default.  Append "bash"
> to
> >> the end if you'd like access to the prompt.
> >>
> >> [1] https://hub.docker.com/r/apachegeode/geode/tags/
> >>
> >> Cheers,
> >> --
> >> ~/William
> >>
>

Reply via email to