Package com.github.dockerjava.api.command

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


        LOGGER.debug("Executing Docker Pull Image Request");
       
        String repository = DockerHelper.getProperty(DockerConstants.DOCKER_REPOSITORY, configuration, message, String.class);
               
        PullImageCmd pullImageCmd = client.pullImageCmd(repository);
       
        String registry = DockerHelper.getProperty(DockerConstants.DOCKER_REGISTRY, configuration, message, String.class);
        if (registry != null) {
            pullImageCmd.withRegistry(registry);
        }
       
        String tag = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);
        if (tag != null) {
            pullImageCmd.withTag(tag);
        }
       
        return pullImageCmd;

    }
View Full Code Here

TOP

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

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.