Package com.github.dockerjava.api.model

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


        if (devices != null) {
            startContainerCmd.withDevices(devices);
        }
       
        RestartPolicy restartPolicy = DockerHelper.getProperty(DockerConstants.DOCKER_RESTART_POLICY, configuration, message, RestartPolicy.class);

        if (restartPolicy != null) {
            startContainerCmd.withRestartPolicy(restartPolicy);
        }
       
View Full Code Here

TOP

Related Classes of com.github.dockerjava.api.model.RestartPolicy

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.