We have a number of EC2 instances that we create in our AWS ECS cluster, 
which run Docker. One of the EC2 instances run the Jenkins master, and the 
others are designated as slaves.

So what we do is for every job, we run a Docker container in one of these 
slave EC2 instances. We set up, in the Cloud portion of Jenkins 
configuration page, a label called 'linux-fargate' that has the task 
definition and the Docker image that we want to run.

All is working well, that is, we are able to run a Docker container for 
each job using the task definition and Docker image we set up in the 
configuration page.

However, we pull the image from our ECR repo "every time" and this takes a 
long time. How can we tell Jenkins to use the image that's already on the 
EC2 instance instead of pulling the image every time?

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/74a3286e-2f7b-47a0-b360-7055716cbdc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to