-
| I just can't stop thinking about this. Also I couldn't find anything on Docker's docs. How can acme read other containers' VIRTUAL_HOST environment variables and create certificates for them? Or did I understand the system completely wrong? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            buchdag
          
      
      
        Feb 28, 2023 
      
    
    Replies: 1 comment 1 reply
-
| Hi @AlperShal. acme-companion reads the other containers environments by running docker-gen internally (like nginx-proxy). docker-gen it self does this through the Docker API, and access that API through the Docker socket. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        AlperShal
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hi @AlperShal.
acme-companion reads the other containers environments by running docker-gen internally (like nginx-proxy).
docker-gen it self does this through the Docker API, and access that API through the Docker socket.