How to use custom host-to-IP mapping #7189
              
                Unanswered
              
          
                  
                    
                      BenjaminQuandt
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i want to use the custom host-to-IP mapping feature from docker. As docker handle the /etc/hosts file a bit special, there is a option to add those entries with the "--add-host" Flag.
see in reference:
https://docs.docker.com/engine/reference/commandline/run/
I didn't see any option to do that in testcontainers for now. Can someone explain how u should use it here?
Beta Was this translation helpful? Give feedback.
All reactions