<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hello, </p>
<p><br>
</p>
<p>I am trying to launch image as "lxc launch ubuntu:16.04" but it fails with error: </p>
<p><br>
</p>
<p>"<span>error: LXD doesn't have a uid/gid allocation. In this mode, only privileged containers are supported." </span></p>
<p><span><br>
</span></p>
<p><span>I have following mappings in my /etc/subuid & /etc/subgid , and I'm executing the launch command as user "sc2" </span></p>
<p><span><br>
</span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);">lxd:100000:65536</span><br style="color: rgb(68, 68, 68); font-family: "Segoe UI", "Lucida Grande", Arial; font-size: 13px;">
<span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);">root:100000:65535</span><br>
</span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><br>
</span></span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Can
you please help me fix the problem?</span><br>
</span></span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></span></span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Thanks
in advance. </span></span></span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></span></span></p>
<p><span><span style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: "Courier New"; vertical-align: baseline; color: rgb(68, 68, 68);"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Himanshu</span></span></span></p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>