Examples of TopContainerCmd


Examples of com.github.dockerjava.api.command.TopContainerCmd

       
        LOGGER.debug("Executing Docker Top Container Request");
       
        String containerId = DockerHelper.getProperty(DockerConstants.DOCKER_CONTAINER_ID, configuration, message, String.class);
       
        TopContainerCmd topContainerCmd = client.topContainerCmd(containerId);

        String psArgs = DockerHelper.getProperty(DockerConstants.DOCKER_PS_ARGS, configuration, message, String.class);
       
        if (psArgs != null) {
            topContainerCmd.withPsArgs(psArgs);
        }
            
        return topContainerCmd;

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