4

If you run fly execute to perform a one-off build, how can I then hijack/intercept the container?

materialdesigner
  • 1,492
  • 10
  • 13

1 Answers1

5

When you perform a fly execute it gives you back a global build ID, which you can then use as an argument to fly intercept

$ fly -t ci e -c ci/build-docs.yml
executing build 43627
...

$ fly -t ci i -b 43627
bash-4.4#
marco.m
  • 4,573
  • 2
  • 26
  • 41
materialdesigner
  • 1,492
  • 10
  • 13
  • 4
    It just says `no containers matched your search parameters!` and this is only seconds after it finsihed. How am I supposed to intercept it if it just disapears right away :-( – Kris Mar 08 '18 at 00:36