Project

General

Profile

Feature #8465

Updated by Peter Amstutz almost 7 years ago

For stdin redirection: 

 # After arv-mount is started 
 # Look for "stdin" in mounts 
 # Open file with stdin content (must support kind: collection, ideally should support kind: json as well)  
 
 # Attach stdin to docker container, I think this is @ContainerAttachOptions{Stdin: true}@ container 
 # Copy input file to docker container stdin stream, I think this is a goroutine with @io.Copy(infile, response.Conn)@ 

 For stderr redirection: 

 Copy/refactor code for existing @stdout@ redirection. 
 stream.

Back