mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	pkg/reexec: move reexec code to a new package
Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
		
							parent
							
								
									b63a254522
								
							
						
					
					
						commit
						acd64278f1
					
				
					 10 changed files with 8 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ import (
 | 
			
		|||
	"strings"
 | 
			
		||||
	"syscall"
 | 
			
		||||
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
	"github.com/docker/libcontainer/netlink"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ import (
 | 
			
		|||
	"runtime"
 | 
			
		||||
 | 
			
		||||
	"github.com/docker/docker/daemon/execdriver"
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
	"github.com/docker/libcontainer"
 | 
			
		||||
	"github.com/docker/libcontainer/namespaces"
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@ import (
 | 
			
		|||
	"path/filepath"
 | 
			
		||||
	"runtime"
 | 
			
		||||
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
	"github.com/docker/libcontainer"
 | 
			
		||||
	"github.com/docker/libcontainer/namespaces"
 | 
			
		||||
	"github.com/docker/libcontainer/syncpipe"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@ import (
 | 
			
		|||
	"time"
 | 
			
		||||
 | 
			
		||||
	"github.com/docker/docker/pkg/proxy"
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const userlandProxyCommandName = "docker-proxy"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ import (
 | 
			
		|||
	"github.com/docker/docker/api/client"
 | 
			
		||||
	"github.com/docker/docker/dockerversion"
 | 
			
		||||
	flag "github.com/docker/docker/pkg/mflag"
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
	"github.com/docker/docker/utils"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ package main
 | 
			
		|||
import (
 | 
			
		||||
	_ "github.com/docker/docker/daemon/execdriver/lxc"
 | 
			
		||||
	_ "github.com/docker/docker/daemon/execdriver/native"
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ import (
 | 
			
		|||
	"github.com/docker/docker/image"
 | 
			
		||||
	"github.com/docker/docker/nat"
 | 
			
		||||
	"github.com/docker/docker/pkg/ioutils"
 | 
			
		||||
	"github.com/docker/docker/reexec"
 | 
			
		||||
	"github.com/docker/docker/pkg/reexec"
 | 
			
		||||
	"github.com/docker/docker/runconfig"
 | 
			
		||||
	"github.com/docker/docker/utils"
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								pkg/reexec/MAINTAINERS
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								pkg/reexec/MAINTAINERS
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Michael Crosby <michael@docker.com> (@crosbymichael)
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue