<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't delete container image"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90338">90338</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't delete container image
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>i.s.reji@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After pulling image, machinectl can't delete that image:

core3 ~ # ls -la /var/lib/machines/
total 4
drwx------  1 root root  326 May  6 12:13 .
drwxr-xr-x 21 root root 4096 May  5 22:02 ..
drwxr-xr-x  1 root root  152 May  6 12:07
.tar-<a href="https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22">https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22</a>
drwxr-xr-x  1 root root  152 May  6 12:07 ubuntu
core3 ~ # machinectl remove ubuntu
Could not remove image: Access denied
core3 ~ # btrfs sub li /var/lib/machines/
ID 257 gen 60 top level 5 path machines
ID 258 gen 17 top level 5 path mysql
ID 266 gen 57 top level 257 path
.tar-<a href="https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22">https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22</a>
ID 267 gen 59 top level 257 path ubuntu
core3 ~ # mount | egrep 'sda9|sda10'
/dev/sda9 on / type ext4 (rw,relatime,data=ordered)
/dev/sda10 on /var/lib/machines type btrfs (rw,relatime,space_cache)
/dev/sda10 on /var/lib/mysql type btrfs (rw,relatime,space_cache)

but btrfs can:
core3 ~ # btrfs sub del /var/lib/machines/ubuntu/
Transaction commit: none (default)
Delete subvolume '/var/lib/machines/ubuntu'
core3 ~ # ls -la /var/lib/machines/
total 4
drwx------  1 root root  314 May  6 12:39 .
drwxr-xr-x 21 root root 4096 May  5 22:02 ..
drwxr-xr-x  1 root root  152 May  6 12:07
.tar-<a href="https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22">https:\x2f\x2fcloud-images\x2eubuntu\x2ecom\x2ftrusty\x2fcurrent\x2ftrusty-server-cloudimg-amd64-root\x2etar\x2egz.\x221480903-b230d19-514f7409c0e40\x22</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>