Discover Packages 
           
        
          
            github.com/ssdev-go/moby 
           
        
          
            pkg 
           
        
        
          
            reexec
           
          
            
               
          
        
       
     
   
  
    
  
    
       
    
    
      package 
    
    
      
        
           
      
    
   
    
      
  
    
      
  
    
      Version:  
        v1.5.0-rc1
     
    
      Opens a new window with list of versions in this module.
    
    
    
   
      
  
    Published: Jan 22, 2015
   
      
  
    License: Apache-2.0 
      
    
   
  
    Opens a new window with license information.
  
      
        
  
    
      Imports:  5
     
   
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by:  0
     
   
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
 
    
      
    
    
  
  
    
      
        
          README 
        
       
     
  
 
    
  
    
      
        
  
    
      ¶ 
     
    
      
        reexec 
The reexec package facilitates the busybox style reexec of the docker binary that we require because
of the forking limitations of using Go.  Handlers can be registered with a name and the argv 0 of
the exec of the binary will be used to find and execute custom init paths.
 
      Expand ▾ 
      Collapse ▴ 
    
   
      
      
        
          
  
    
      ¶ 
     
    
  
    
      
        
          Rendered for 
          
            
              linux/amd64 
            
              windows/amd64 
            
              darwin/amd64 
            
              js/wasm 
            
           
         
       
    
  
    
      
        
 
  
  
  
  
  
	  
  
  
    
    
    
  Init is called as the first part of the exec process and returns true if an
initialization function was called.
  
         
	  
  
  
    
    
    
      func Register(name string , initializer func()) 
     
  Register adds an initialization func under the specified name
  
         
	  
  
  
    
    
    
  Self returns the path to the current processes binary
  
           
      
     
   
        
      
      
        
  
    
      ¶ 
     
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.