Package com.github.dockerjava.api.command

Examples of com.github.dockerjava.api.command.StopContainerCmd.withTimeout()


        StopContainerCmd stopContainerCmd = client.stopContainerCmd(containerId);

        Integer timeout = DockerHelper.getProperty(DockerConstants.DOCKER_TIMEOUT, configuration, message, Integer.class);
       
        if (timeout != null) {
            stopContainerCmd.withTimeout(timeout);
        }
            
        return stopContainerCmd;

    }
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.