The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events