Derek McGowan 
							
						 
					 
					
						
						
							
						
						261e01c2ac 
					 
					
						
						
							
							Move client to subpackage  
						
						 
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcg.dev > 
						
						
					 
					
						2023-11-01 10:37:00 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						5fdf55e493 
					 
					
						
						
							
							Update go module to github.com/containerd/containerd/v2  
						
						 
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcg.dev > 
						
						
					 
					
						2023-10-29 20:52:21 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						508aa3a1ef 
					 
					
						
						
							
							Move to use github.com/containerd/log  
						
						 
						
						... 
						
						
						
						Add github.com/containerd/log to go.mod
Signed-off-by: Derek McGowan <derek@mcg.dev > 
						
						
					 
					
						2023-09-22 07:53:23 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maksym Pavlenko 
							
						 
					 
					
						
						
							
						
						6f34da5f80 
					 
					
						
						
							
							Cleanup logrus imports  
						
						 
						
						... 
						
						
						
						Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com > 
						
						
					 
					
						2023-05-05 11:54:14 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								panguicai008 
							
						 
					 
					
						
						
							
						
						5c9c630c33 
					 
					
						
						
							
							use uppercase letters for flag usage  
						
						 
						
						... 
						
						
						
						Signed-off-by: panguicai008 <guicai.pan@daocloud.io > 
						
						
					 
					
						2023-03-08 14:28:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yulng 
							
						 
					 
					
						
						
							
						
						757b8f702b 
					 
					
						
						
							
							keep the uppercase letter for flag info  
						
						 
						
						... 
						
						
						
						Signed-off-by: yulng <wei.yang@daocloud.io > 
						
						
					 
					
						2023-02-06 16:37:24 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonyhy 
							
						 
					 
					
						
						
							
						
						e6ddffc2af 
					 
					
						
						
							
							fix: make exec-id flag required in exec command  
						
						 
						
						... 
						
						
						
						Signed-off-by: jonyhy <yun.hao@daocloud.io > 
						
						
					 
					
						2021-09-28 18:19:32 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Canter 
							
						 
					 
					
						
						
							
						
						27046a9e06 
					 
					
						
						
							
							Fix cwd flag for ctr tasks exec  
						
						 
						
						... 
						
						
						
						It seems like the cwd flag isn't used anywhere for ctr tasks exec. This change
just sets the cwd field on the spec for the execed process if a new one was
asked for, otherwise it will continue using whatever was on the containers spec.
Signed-off-by: Daniel Canter <dcanter@microsoft.com > 
						
						
					 
					
						2021-09-02 03:59:56 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Samuel Karp 
							
						 
					 
					
						
						
							
						
						5dec27b6f1 
					 
					
						
						
							
							ctr: exec handle pty resize after Start  
						
						 
						
						... 
						
						
						
						Handle initial pty resize after the exec process has started and the pty
is available, consistent with the behavior of ctr run.
Signed-off-by: Samuel Karp <me@samuelkarp.com > 
						
						
					 
					
						2021-05-25 00:12:21 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Samuel Karp 
							
						 
					 
					
						
						
							
						
						b9378b4529 
					 
					
						
						
							
							ctr: exec setup IO with console  
						
						 
						
						... 
						
						
						
						Use cio.WithStreams with explicit console device when --tty is passed,
consistent with how ctr run behaves.
Signed-off-by: Samuel Karp <me@samuelkarp.com > 
						
						
					 
					
						2021-05-22 23:19:46 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								acetang 
							
						 
					 
					
						
						
							
						
						5e94745f26 
					 
					
						
						
							
							ctr: add --user for task exec  
						
						 
						
						... 
						
						
						
						set user in exec container
$ ctr t exec --exec-id e1 --user admin container id
uid=500(admin) gid=500(admin) groups=500(admin)
Signed-off-by: chuangxue <chenglong.lcl@alibaba-inc.com >
Signed-off-by: acetang <aceapril@126.com > 
						
						
					 
					
						2021-03-25 19:29:30 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						f543f2fbcd 
					 
					
						
						
							
							Call CloseIO when stdin closes in ctr  
						
						 
						
						... 
						
						
						
						Fixes  #2439 
Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2019-07-26 19:52:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maksym Pavlenko 
							
						 
					 
					
						
						
							
						
						46af8ccd2d 
					 
					
						
						
							
							Check exec log flags compatibility  
						
						 
						
						... 
						
						
						
						Signed-off-by: Maksym Pavlenko <makpav@amazon.com > 
						
						
					 
					
						2019-07-02 09:53:11 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maksym Pavlenko 
							
						 
					 
					
						
						
							
						
						6b59b425e2 
					 
					
						
						
							
							Support --log-uri for exec subcommand  
						
						 
						
						... 
						
						
						
						Signed-off-by: Maksym Pavlenko <makpav@amazon.com > 
						
						
					 
					
						2019-07-01 13:32:37 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						4a8acf54b1 
					 
					
						
						
							
							Merge pull request  #2793  from lifubang/runexecflag  
						
						 
						
						... 
						
						
						
						fix container cmd args may parsed as ctr args 
						
						
					 
					
						2018-12-04 11:05:51 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lifubang 
							
						 
					 
					
						
						
							
						
						2d3a4f99ec 
					 
					
						
						
							
							should no defer when detach  
						
						 
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@acmcoder.com > 
						
						
					 
					
						2018-12-03 19:18:57 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lifubang 
							
						 
					 
					
						
						
							
						
						01f5aa3878 
					 
					
						
						
							
							add flag -d for ctr t exec to run a service in container  
						
						 
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@acmcoder.com > 
						
						
					 
					
						2018-11-16 14:29:45 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lifubang 
							
						 
					 
					
						
						
							
						
						bd2a21985c 
					 
					
						
						
							
							fix container cmd args may parsed as ctr args  
						
						 
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@acmcoder.com > 
						
						
					 
					
						2018-11-15 18:32:04 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kunal Kushwaha 
							
						 
					 
					
						
						
							
						
						b12c3215a0 
					 
					
						
						
							
							Licence header added  
						
						 
						
						... 
						
						
						
						Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp > 
						
						
					 
					
						2018-02-19 10:32:26 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						507a149488 
					 
					
						
						
							
							cio: add WithFIFODir opt  
						
						 
						
						... 
						
						
						
						Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp > 
						
						
					 
					
						2018-01-18 14:33:56 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Nephin 
							
						 
					 
					
						
						
							
						
						7d4337e738 
					 
					
						
						
							
							Reduce the number of IO constructors  
						
						 
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@gmail.com > 
						
						
					 
					
						2017-12-11 15:07:09 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Nephin 
							
						 
					 
					
						
						
							
						
						298dabc6c2 
					 
					
						
						
							
							Move io.go into cio package  
						
						 
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@gmail.com > 
						
						
					 
					
						2017-11-17 17:04:45 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jess Valarezo 
							
						 
					 
					
						
						
							
						
						c3b70f1d0b 
					 
					
						
						
							
							ctr: move tasks, run to commands package  
						
						 
						
						... 
						
						
						
						Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com > 
						
						
					 
					
						2017-10-31 11:57:41 -07:00