Why container fails to start with the error "Error: unable to start container "XXXXX": failed to set file label on /XXXX: operation not supported" on Red Hat Enterprise Linux 8 ?

Solution Verified - Updated -

Issue

  • Why container fails to start with the error "Error: unable to start container "XXXXX": failed to set file label on /XXXX: operation not supported" on Red Hat Enterprise Linux 8 ?
[root@test ~]# podman start test
Error: unable to start container "f362d1922e668ffd981fe1eed7f4823cd18b9dc0c8adaca38c962bb403e8b20d": failed to set file label on /mnt: operation not supported

Environment

  • Red Hat Enterprise Linux 8
  • podman-3.2.3-0.11.module+el8.4.0+12050+ef972f71.x86_64
  • CIFS share mounted on the host and provided as a volume for the container

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