Jaybanuan's Blog

どうせまた調べるハメになることをメモしていくブログ

Windows版のDocker Engineのリスト

Microsoftのドキュメント「Windows Containers on Windows Server」の手順では、OneGetを利用してDocker Engineを取得する。 OneGetを実行すると、Azure StorageからDocker Engineの実行バイナリを取得するようだ。 直接以下のAPIを実行すると、配置されているDocker Engineの一覧を取得することができる。

http://dockermsft.blob.core.windows.net/dockercontainer?resType=container&comp=list

執筆時点でのAPIの実行結果(自分で整形)は以下。 JSON形式では返せない模様。

<?xml version="1.0" encoding="utf-8"?>
<EnumerationResults ContainerName="http://dockermsft.blob.core.windows.net/dockercontainer">
  <Blobs>
    <Blob>
      <Name>DockerMsftIndex.json</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json</Url>
      <Properties>
        <Last-Modified>Wed, 05 Apr 2017 22:38:24 GMT</Last-Modified>
        <Etag>0x8D47C74784ED01A</Etag>
        <Content-Length>5032</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>TAIVvNh/G6LpvBFeeohrWA==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-12-1-cs1.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-12-1-cs1.zip</Url>
      <Properties>
        <Last-Modified>Thu, 02 Mar 2017 19:33:49 GMT</Last-Modified>
        <Etag>0x8D461A30D591EF4</Etag>
        <Content-Length>13838077</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>PzDfmGUp5SqfRVy2/hofog==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-12-2-cs1.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-12-2-cs1.zip</Url>
      <Properties>
        <Last-Modified>Thu, 02 Mar 2017 19:43:54 GMT</Last-Modified>
        <Etag>0x8D461A475DDC980</Etag>
        <Content-Length>13863262</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>p6z/SiiR7R17iABzuNDMxg==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-12-2-cs2-ws-beta.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-12-2-cs2-ws-beta.zip</Url>
      <Properties>
        <Last-Modified>Wed, 12 Oct 2016 23:48:15 GMT</Last-Modified>
        <Etag>0x8D3F2FA3C4E334E</Etag>
        <Content-Length>14183015</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>2b14ZgGoGyBVrtkzwtd34w==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-13-0-rc3.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-13-0-rc3.zip</Url>
      <Properties>
        <Last-Modified>Thu, 02 Mar 2017 19:47:12 GMT</Last-Modified>
        <Etag>0x8D461A4EBCFFD99</Etag>
        <Content-Length>13911681</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>+OR6vKBZbU0aAzjme/hBtw==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-13-0-rc4.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-13-0-rc4.zip</Url>
      <Properties>
        <Last-Modified>Thu, 02 Mar 2017 19:50:29 GMT</Last-Modified>
        <Etag>0x8D461A56102B607</Etag>
        <Content-Length>13934374</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>8iZy1ZG44wwnF11+KOThIA==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-1-13-1.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-1-13-1.zip</Url>
      <Properties>
        <Last-Modified>Fri, 10 Feb 2017 02:51:11 GMT</Last-Modified>
        <Etag>0x8D4515FABC5013F</Etag>
        <Content-Length>14025912</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>dkVeRNm5LvDycVg7M2ucWw==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-17-03-0-ee.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-17-03-0-ee.zip</Url>
      <Properties>
        <Last-Modified>Thu, 02 Mar 2017 19:03:54 GMT</Last-Modified>
        <Etag>0x8D4619EDF782BE1</Etag>
        <Content-Length>14027010</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>U8846AI0qZef+mg8PbhxhA==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
    <Blob>
      <Name>docker-17-03-1-ee.zip</Name>
      <Url>http://dockermsft.blob.core.windows.net/dockercontainer/docker-17-03-1-ee.zip</Url>
      <Properties>
        <Last-Modified>Wed, 05 Apr 2017 22:34:08 GMT</Last-Modified>
        <Etag>0x8D47C73DFDE700A</Etag>
        <Content-Length>14029894</Content-Length>
        <Content-Type>application/octet-stream</Content-Type>
        <Content-Encoding/>
        <Content-Language/>
        <Content-MD5>OJHI8eUJ9OR0oxEktszJJQ==</Content-MD5>
        <Cache-Control/>
        <BlobType>BlockBlob</BlobType>
        <LeaseStatus>unlocked</LeaseStatus>
      </Properties>
    </Blob>
  </Blobs>
  <NextMarker/>
</EnumerationResults>

参考

Blob Service REST API - List Containers