Skip to content

Running minc with rootless #22

Closed

Description

@praveenkumar

This is tracker issue to identify what are the shortcoming to run the MicroShift in container in rootless mode.

Activity

  1. praveenkumar commented on Apr 7, 2025

    @praveenkumar
    ContributorAuthor

    #21 have one of the ask for same.

  2. praveenkumar commented on Apr 7, 2025

    @praveenkumar
    ContributorAuthor

    With all those changes like in the microshift side

    # cat /etc/microshift/config.d/00-kubelet-enable-feature.yaml 
    kubelet:
      featureGates:
        KubeletInUserNamespace: true
    

    I am able to run microshift service as rootless but looks like pods are not coming up as expected :(

    # oc get pods -A
    NAMESPACE              NAME                                       READY   STATUS                      RESTARTS   AGE
    kube-flannel           kube-flannel-ds-fd76k                      0/1     Init:CreateContainerError   0          22s
    kube-proxy             kube-proxy-2g9fs                           0/1     CreateContainerError        0          22s
    kube-system            csi-snapshot-controller-75d84cb97c-mp2d5   0/1     Pending                     0          30s
    openshift-dns          node-resolver-m6gtd                        0/1     CreateContainerError        0          22s
    openshift-ingress      router-default-76cdd4b765-8cn22            0/1     Pending                     0          29s
    openshift-service-ca   service-ca-df6759f9d-zwm2w                 0/1     Pending                     0          29s
    

    debug output of kube-proxy container

    # oc describe pod kube-proxy-2g9fs -n kube-proxy
    Events:
      Type     Reason     Age                From               Message
      ----     ------     ----               ----               -------
      Normal   Scheduled  106s               default-scheduler  Successfully assigned kube-proxy/kube-proxy-2g9fs to 127.0.0.1.nip.io
      Normal   Pulling    105s               kubelet            Pulling image "quay.io/okd/scos-content@sha256:f474e3714d152336efa27ad45035cbf8b417fa4cb524fa7d0ca91b815d704114"
      Warning  Failed     99s                kubelet            Error: failed to add conmon to systemd sandbox cgroup: start transient unit "crio-conmon-f62328b0448b3681987a5bd4bca274ca9b81eb3c8075b9b306ffa7dc2bb21ad7.scope": could not execute `systemctl --user --no-pager show-environment`, output="Failed to connect to bus: No medium found\n": exit status 1
      Normal   Pulled     99s                kubelet            Successfully pulled image "quay.io/okd/scos-content@sha256:f474e3714d152336efa27ad45035cbf8b417fa4cb524fa7d0ca91b815d704114" in 5.776s (5.776s including waiting). Image size: 335179203 bytes.
      Warning  Failed     99s                kubelet            Error: failed to add conmon to systemd sandbox cgroup: start transient unit "crio-conmon-b98992a74d4044b3490950152cf25517b161bbd172b74c41a9692414a5d9cc80.scope": could not execute `systemctl --user --no-pager show-environment`, output="Failed to connect to bus: No medium found\n": exit status 1
      Warning  Failed     88s                kubelet            Error: failed to add conmon to systemd sandbox cgroup: start transient unit "crio-conmon-7f14846d04e154469232fa17387eb2528b783b2f2fa31e333b50a24ef9e66cff.scope": could not execute `systemctl --user --no-pager show-environment`, output="Failed to connect to bus: No medium found\n": exit status 1
    
  3. praveenkumar commented on Apr 21, 2025

    @praveenkumar
    ContributorAuthor

    We also need https://kind.sigs.k8s.io/docs/user/rootless/#host-requirements to delegate the cpu/mem from host to container.

  4. AlexonOliveiraRH commented on Apr 14, 2026

    @AlexonOliveiraRH
    Contributor

    @praveenkumar I'm also very interested in this as well, specially because of the limitation on using MINC along with Podman Desktop:

    podman-desktop/podman-desktop#2861

    podman-desktop/podman-desktop#15302

    https://podman-desktop.io/docs/openshift/microshift

    Any news on this?

  5. added 4 commits that reference this issue on Jun 1, 2026
    c495f71
    d7c2003
    98c2e15
    165aa2f
  6. added a commit that references this issue on Jun 5, 2026
    3d86895
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions