Package com.github.dockerjava.api.command

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


     */
    private ListImagesCmd executeListImagesRequest(DockerClient client, Message message) throws DockerException {
       
        LOGGER.debug("Executing Docker Images List Request");
       
        ListImagesCmd listImagesCmd = client.listImagesCmd();
       
        String filter = DockerHelper.getProperty(DockerConstants.DOCKER_FILTER, configuration, message, String.class);
       
        if (filter != null) {
            listImagesCmd.withFilter(filter);
        }
       
        Boolean showAll = DockerHelper.getProperty(DockerConstants.DOCKER_SHOW_ALL, configuration, message, Boolean.class);
       
        if (showAll != null && showAll) {
            listImagesCmd.withShowAll(showAll);
        }

        return listImagesCmd;

    }
View Full Code Here

TOP

Related Classes of com.github.dockerjava.api.command.ListImagesCmd

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.