4 Replies Latest reply on Jun 27, 2017 7:56 AM by Shankar Sea

    deploy a jar to docker container in one command

    Shankar Sea Novice

      I am trying to deploy a jar to a infinispan server running in a docker container. 

       

      I know you can do this in the terminal:

      docker exec -it [containerId] /opt/jboss/infinispan-server/bin/ispn-cli.sh --connect controller=host:port

      And then do the deploy command once it's connected.

       

      Is there way to do the deploy all in one shot, something like:

       

      docker exec -it [containerId] /opt/jboss/infinispan-server/bin/ispn-cli.sh --connect controller=host:port deploy jarFile?