Can't run OPA container without --uid 0
              
              #564
            
            
              
                Unanswered
              
          
                  
                    
                      anderseknert
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 3 comments 2 replies
-
| 
         It's a logical bug on our end. We treat the uid not existing in /etc/passwd as an error.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 
         This hopefully should do the trick apple/containerization#279  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    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.
-
I'm not sure whether this is an issue or expected behavior, so I'm raising it here first. Trying to run an OPA container fails unless
--uid 0is passed. The Dockerfile of that project sets the default uid/gid to 1000:1000. Running this with Docker or Podman works without issues, whilecontainer rundoesn't handle this:Only running with
--uid 0has the container run successfully.I have tried and failed to find any documentation on whether this is expected or not. In case this is by design, it would be great if there were some docs explaining this, and whether there is a way to run containers with uid > 0.
(and apologies if there are docs on this that I just couldn't find)
Beta Was this translation helpful? Give feedback.
All reactions