Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to capture the output from a Docker container run task

Valentin Constantinescu January 31, 2020

hi all,

I have set up a task that runs a container and I want to capture the stdout result of that run. 

What fails:

1. adding `> output.txt` at the end inside the container command - it passes the full string to the container.

2. adding additional arguments `-i -a stdout > output.txt` also fails.

How can I create an artifact or write a file that I can use in the next task?


Thanks for helping

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events