-1

Where does the concourse ci create containers to run the task? How to get into any of those containers?

UCodeIT
  • 145
  • 2
  • 9
  • This question was asked based on information in this link https://concoursetutorial.com/basics/task-hello-world/ – UCodeIT May 31 '18 at 18:41

1 Answers1

0

fly intercept (aka fly hijack) seems to be what you're looking for.

https://concourse-ci.org/builds.html#fly-intercept

An important note that the container needs to still be running on the worker. For example, if the build has succeeded or failed awhile ago, Concourse might have cleaned up that container.

If this is the case, start your build again and once it's running you'll see it as an option to hijack when you use the CLI.

Dwayne Forde
  • 1,324
  • 13
  • 13
  • Thanks for the response. Where is the worker in the case of tutorials?. – UCodeIT Jun 04 '18 at 16:19
  • @UCodeIT That'll depend on how you deployed Concourse and your network layout in general. If you want to find out some information on the workers in your cluster, you can use the fly -t workers -d to get all the information Concourse knows about them. – Dwayne Forde Jun 05 '18 at 16:53
  • I deployed the concourse in the same way, the tutorial directed me. ( https://concoursetutorial.com/ ) – UCodeIT Jun 06 '18 at 17:27
  • Then your workers will be running on your Docker host in containers on your local machine. – Dwayne Forde Jun 10 '18 at 21:34
  • Oh, I see, Thanks. You mean workers here are containers over which the jobs are run. What when there is multi-node cluster?. – UCodeIT Jul 26 '18 at 14:46
  • At that point you would have chosen which VMs you would want workers on. – Dwayne Forde Jul 26 '18 at 15:48
  • Can you explain with respect to AWS?. You mean worker is service that runs in a container on the EC2 instance(VM) and manages other containers running on the same EC2 instance ? – UCodeIT Jul 26 '18 at 16:45
  • Worker is a go binary that runs on the VM to help facilitate job containers. – Dwayne Forde Jul 26 '18 at 20:48
  • Oh Now I got it. Thanks Dwayne. – UCodeIT Jul 27 '18 at 02:54