I have 2 ec2 instances 1st one: that hosts jenkins and docker, which builds an image from a jar file then pushes it to docker hub repo
2nd one: which will be my application server, which will contain docker that will pull this image from docker hub and run the container on the docker engine
Ive done the 1st part which I create the image and push it to docker hub
my question is how to execute a docker commands from the jenkins pipeline to the my application server to pull the image from docker hub and run it
