BTW, since we're discussing Docker here, is anyone actually using dev-tools [1] Dockerfiles ? I don't think so and if that's the case, I'd like to simplify things and have a single Dockerfile with Java and probably even switch to OpenJDK given the problems on redistribution of Oracle Java binaries in docker images.
Thoughts ? [1] https://github.com/apache/incubator-geode/tree/develop/dev-tools/docker On Wed, Sep 7, 2016 at 1:02 PM, William Markito <wmark...@pivotal.io> wrote: > That's right Jens! I still need to push the updates to that docker image > file... Will create a JIRA and push it. > > Thanks > > On Wed, Sep 7, 2016 at 6:36 AM, Jens Deppe <jde...@pivotal.io> wrote: > >> 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 >> > >> >> > >> > > > > -- > > ~/William > > > > -- ~/William