Skip to content

Commit

Permalink
WCOW does not support exporting containers and we haven't crafted a v…
Browse files Browse the repository at this point in the history
…alid .tar, yet.

Relates to moby/moby#33581
  • Loading branch information
gesellix committed Oct 3, 2021
1 parent 501fcc9 commit e1775d2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ class DockerImageIntegrationSpec extends Specification {
dockerClient.rmi("${registry.url()}/${CONSTANTS.imageRepo}:${CONSTANTS.imageTag}")
}

// WCOW does not support exporting containers and we haven't crafted a valid .tar, yet.
// See https://github.com/moby/moby/issues/33581
@Requires({ !LocalDocker.isNativeWindows() })
def "import image from url"() {
given:
def importUrl = getClass().getResource('importUrl/import-from-url.tar')
Expand All @@ -555,6 +558,9 @@ class DockerImageIntegrationSpec extends Specification {
dockerClient.rmi(imageId)
}

// WCOW does not support exporting containers and we haven't crafted a valid .tar, yet.
// See https://github.com/moby/moby/issues/33581
@Requires({ !LocalDocker.isNativeWindows() })
def "import image from stream"() {
given:
def archive = getClass().getResourceAsStream('importUrl/import-from-url.tar')
Expand Down

0 comments on commit e1775d2

Please sign in to comment.