attach stdout and stderr to container