cloud.localstack.docker.command.ListImagesCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of localstack-utils Show documentation
Show all versions of localstack-utils Show documentation
Java utilities for the LocalStack platform.
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"));
}
}