Examples of ExposedPort


Examples of com.github.dockerjava.api.model.ExposedPort

   
    @Test
    public void createContainerHeaderTest() {
       
        String imageId = "be29975e0098";
        ExposedPort tcp22 = ExposedPort.tcp(22);

       
        Map<String, Object> headers = getDefaultParameters();
        headers.put(DockerConstants.DOCKER_IMAGE_ID, imageId);
        headers.put(DockerConstants.DOCKER_EXPOSED_PORTS, tcp22);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.