Package org.jclouds.docker.options

Examples of org.jclouds.docker.options.CreateImageOptions


      assertEquals(api().getVersion().getVersion(), "1.0.0");
   }

   @Test(dependsOnMethods = "testVersion")
   public void testCreateImage() throws IOException, InterruptedException {
      CreateImageOptions options = CreateImageOptions.Builder.fromImage(BUSYBOX_IMAGE);
      InputStream createImageStream = api().createImage(options);
      consumeStream(createImageStream, false);
      image = api().inspectImage(BUSYBOX_IMAGE);
      assertNotNull(image);
   }
View Full Code Here

TOP

Related Classes of org.jclouds.docker.options.CreateImageOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.