You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bill Burcham (Jira)" <ji...@apache.org> on 2020/07/09 18:32:00 UTC

[jira] [Created] (GEODE-8350) Offical Docker Image Needs ENTRYPOINT

Bill Burcham created GEODE-8350:
-----------------------------------

             Summary: Offical Docker Image Needs ENTRYPOINT
                 Key: GEODE-8350
                 URL: https://issues.apache.org/jira/browse/GEODE-8350
             Project: Geode
          Issue Type: Bug
            Reporter: Bill Burcham


The official docker image defines a {{CMD ["gfsh"]}} but no {{ENTRYPOINT}}. As a result, it's easy to run {{gfsh}} interactively:

{noformat}
docker run -it apachegeode/geode
{noformat}

but to run a non-interactive {{gfsh}} command/script takes extra effort:

{noformat}
docker run --entrypoint gfsh apachegeode/geode -e version
{noformat}

When this story is complete, the official Docker image will define an {{ENTRYPOINT ["gfsh"]}}  that will allow execution of a non-interactive script like:

{noformat}
docker run apachegeode/geode -e version
{noformat}

As before, it will be possible to enter an interactive {{gfsh}} session via:

{noformat}
docker run -it apachegeode/geode
{noformat}

Note, the Dockerfile probably won't need to define any {{CMD}} at all when this story is complete.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)