All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloud.localstack.docker.command.ListImagesCommand Maven / Gradle / Ivy

The newest version!
package cloud.localstack.docker.command;

import java.util.*;

public class ListImagesCommand extends Command {

    public List execute() {
        List params = Arrays.asList("images", "--format", "{{.Repository}}:{{.Tag}}");
        return Arrays.asList(dockerExe.execute(params).replaceAll("\r", "").split("\n"));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy