Container build capability in Openshift Dev Spaces - RHOCP4

Solution Verified - Updated -

Issue

  • Unable to create images inside Workspaces.
  • docker build/podman build fails with error:
Error during unshare(CLONE_NEWUSER): Function not implemented
ERRO[0000] parsing PID "": strconv.Atoi: parsing "": invalid syntax 
ERRO[0000] (Unable to determine exit status)  
ERRO[0000] running `/usr/bin/newuidmap xxx`:  
Error: cannot set up namespace using "/usr/bin/newuidmap": fork/exec /usr/bin/newuidmap: operation not permitted

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    4.x
  • Openshift Dev Spaces
    3.3.0 +

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content