<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      Can we add Docker to a list of 'critical snaps' that is part of
      our pre-release validation suite?<br>
      <br>
      Mark<br>
      <br>
      On 06/12/16 05:05, Manik Taneja wrote:<br>
    </div>
    <blockquote
      cite="mid:AA685F00-29FC-4486-ABF2-F6C239438619@canonical.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div><br>
      </div>
      <div><br>
        On Dec 6, 2016, at 4:51 AM, Loïc Minier <<a
          moz-do-not-send="true" href="mailto:loic.minier@ubuntu.com">loic.minier@ubuntu.com</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div dir="ltr">Hi,
            <div class="gmail_extra"><br>
              <div class="gmail_quote">On Tue, Dec 6, 2016 at 3:49 AM,
                Peng Liu <span dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:pengliu.mail@gmail.com" target="_blank">pengliu.mail@gmail.com</a>></span>
                wrote:<br>
                <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">
                    <div>There is some known issue of the docker snap,
                      check the google doc for detailed information.<br>
                    </div>
                    <div><a moz-do-not-send="true"
href="https://docs.google.com/document/d/1JHa6tkuR9PtpnAVVmAJIAKuyKBy8E9ZkvG5Wbc6HZSY/edit#"
                        target="_blank">https://docs.google.com/<wbr>document/d/<wbr>1JHa6tkuR9PtpnAVVmAJIAKuyKBy8E<wbr>9ZkvG5Wbc6HZSY/edit#</a><br>
                    </div>
                    <div><br>
                    </div>
                    <div>And you need to make sure your snapd is the
                      latest version.</div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>Exactly; it only affects Ubuntu Core images (not
                  snaps on classic), and there are two workarounds:</div>
                <div>- either install the snap with devmode</div>
                <div>- or run this after boot (and then restart
                  dockerd):</div>
                <div>
                  <p class="gmail-m_6510161904843839918gmail-p1"
                    style="color:rgb(0,0,0);font-size:12.8px"><span
                      class="gmail-m_6510161904843839918gmail-s1">$ sudo
                      nsenter -m/run/snapd/ns/<span class="gmail-il">docker</span>.mnt</span></p>
                  <p class="gmail-m_6510161904843839918gmail-p1"
                    style="color:rgb(0,0,0);font-size:12.8px"><span
                      class="gmail-m_6510161904843839918gmail-s1"></span></p>
                  <p class="gmail-m_6510161904843839918gmail-p1"
                    style="color:rgb(0,0,0);font-size:12.8px"><span
                      class="gmail-m_6510161904843839918gmail-s1">#
                      umount --lazy /var/lib/snapd/hostfs/sys</span></p>
                </div>
                <div>The fix is in snap-confine git and is planned for
                  upload this Friday.</div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      Thanks Loic!<br>
      <blockquote type="cite">
        <div>
          <div dir="ltr">
            <div class="gmail_extra">
              <div class="gmail_quote">
                <div><br>
                </div>
                <div>Best regards,</div>
              </div>
              <div class="gmail_signature">
                <div dir="ltr">- Loïc Minier</div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>-- </span><br>
          <span>Snapcraft mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a></span><br>
          <span>Modify settings or unsubscribe at: <a
              moz-do-not-send="true"
              href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>