<div dir="ltr"><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:1119.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-"><div id="gmail-:16m" class="gmail-ii gmail-gt" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:16n" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">Hello systemd-devel,<div><br></div><div>I am working to dockerize the buildroot based rootfs.</div><div>While dockerization if I run the container with privilege mode am able to run the container and it works fine.</div><div><br></div><div>But, when I try to run/restart other containers I get the below error message during docker run.</div><div><br></div><div>Please advise how to resolve this issue.</div><div><br></div><div>        "Id": "0d7dd883d5441719b623b64473d5ff08be27596b240eed97fe4d6f36d612afc2",<br>        "Created": "2020-10-16T07:31:19.992526641Z",<br>        "Path": "./HW",<br>        "Args": [],<br>        "State": {<br>            "Status": "created",<br>            "Running": false,<br>            "Paused": false,<br>            "Restarting": false,<br>            "OOMKilled": false,<br>            "Dead": false,<br>            "Pid": 0,<br>            "ExitCode": 128,<br><b>            "Error": "cgroups: cannot find cgroup mount destination: unknown",<br></b>            "StartedAt": "0001-01-01T00:00:00Z",<br>            "FinishedAt": "0001-01-01T00:00:00Z"<br>        },<br></div><div><b><br></b></div><div><b>My compose file mentioned below:</b></div><div><br></div><div>     image: test:atul<br>     environment:<br>       - STORAGE_HOST=/var/lib/docker/volumes/atul<br>     cap_add:<br>       - CAP_SYS_ADMIN<br>       - SYS_ADMIN<br>       - CAP_MKNOD<br>     tmpfs:<br>       - /run<br>       - /tmp<br>     volumes:<br>       - /var/lib/docker/volumes/atul:/mnt<br>       - /sys:/sys:ro<br>     network_mode: "host"<br>     privileged: true<br></div><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div>Thanks and Regards<br>  Atul Kumar Singh </div><div><br></div><div>          <b>I Support </b></div><div><b> <a href="http://www.udbhavfoundation.org/" target="_blank">www.udbhavfoundation.org</a></b></div><div><b><br></b>      (9873876761)</div></div></div></div></div></div><div class="gmail-yj6qo"></div><div class="gmail-adL"></div></div></div><div class="gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><br class="gmail-Apple-interchange-newline"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks and Regards<br>  Atul Kumar Singh </div><div><br></div><div>          <b>I Support </b></div><div><b> <a href="http://www.udbhavfoundation.org" target="_blank">www.udbhavfoundation.org</a></b></div><div><b><br></b>      (9873876761)</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 16, 2020 at 1:03 PM Atul Singh <<a href="mailto:atullh@gmail.com">atullh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello systemd-devel,<div><br></div><div>I am working to dockerize the buildroot based rootfs.</div><div>While dockerization if I run the container with privilege mode am able to run the container and it works fine.</div><div><br></div><div>But, when I try to run/restart other containers I get the below error message during docker run.</div><div><br></div><div>Please advice how to resolve this issue.</div><div><br></div><div>        "Id": "0d7dd883d5441719b623b64473d5ff08be27596b240eed97fe4d6f36d612afc2",<br>        "Created": "2020-10-16T07:31:19.992526641Z",<br>        "Path": "./HW",<br>        "Args": [],<br>        "State": {<br>            "Status": "created",<br>            "Running": false,<br>            "Paused": false,<br>            "Restarting": false,<br>            "OOMKilled": false,<br>            "Dead": false,<br>            "Pid": 0,<br>            "ExitCode": 128,<br><b>            "Error": "cgroups: cannot find cgroup mount destination: unknown",<br></b>            "StartedAt": "0001-01-01T00:00:00Z",<br>            "FinishedAt": "0001-01-01T00:00:00Z"<br>        },<br></div><div><b><br></b></div><div><b>My compose file mentioned below:</b></div><div><br></div><div>     image: test:atul<br>     environment:<br>       - STORAGE_HOST=/var/lib/docker/volumes/atul<br>     cap_add:<br>       - CAP_SYS_ADMIN<br>       - SYS_ADMIN<br>       - CAP_MKNOD<br>     tmpfs:<br>       - /run<br>       - /tmp<br>     volumes:<br>       - /var/lib/docker/volumes/atul:/mnt<br>       - /sys:/sys:ro<br>     network_mode: "host"<br>     privileged: true<br></div><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div>Thanks and Regards<br>  Atul Kumar Singh </div><div><br></div><div>          <b>I Support </b></div><div><b> <a href="http://www.udbhavfoundation.org" target="_blank">www.udbhavfoundation.org</a></b></div><div><b><br></b>      (9873876761)</div></div></div></div></div></div>
</blockquote></div>