Class DockerClient.ListImagesParam

    • Constructor Detail

      • ListImagesParam

        public ListImagesParam​(java.lang.String name,
                               java.lang.String value)
    • Method Detail

      • create

        public static DockerClient.ListImagesParam create​(java.lang.String name,
                                                          java.lang.String value)
        Create a custom parameter.
        Parameters:
        name - of parameter
        value - of parameter
        Returns:
        ListImagesParam
      • filter

        public static DockerClient.ListImagesParam filter​(java.lang.String name,
                                                          java.lang.String value)
        Create a custom filter.
        Parameters:
        name - of filter
        value - of filter
        Returns:
        ListImagesParam
      • allImages

        public static DockerClient.ListImagesParam allImages()
        Show all images. Only intermediate image layers are shown by default.
        Returns:
        ListImagesParam
      • allImages

        public static DockerClient.ListImagesParam allImages​(boolean all)
        Show all images. Only intermediate image layers are shown by default.
        Parameters:
        all - Whether to list all images
        Returns:
        ListImagesParam
      • danglingImages

        public static DockerClient.ListImagesParam danglingImages()
        Show dangling images only. A dangling image is one which does not have a repository name. By default both dangling and non-dangling will be shown.
        Returns:
        ListImagesParam
      • danglingImages

        public static DockerClient.ListImagesParam danglingImages​(boolean dangling)
        Enable or disable dangling image filter.
        Parameters:
        dangling - Whether to list dangling images
        Returns:
        ListImagesParam
      • withLabel

        public static DockerClient.ListImagesParam withLabel​(java.lang.String label,
                                                             java.lang.String value)
        Show images with a label value.
        Parameters:
        label - The label to filter on
        value - The value of the label
        Returns:
        ListImagesParam
      • withLabel

        public static DockerClient.ListImagesParam withLabel​(java.lang.String label)
        Show images with a label.
        Parameters:
        label - The label to filter on
        Returns:
        ListImagesParam
      • byName

        public static DockerClient.ListImagesParam byName​(java.lang.String name)
        Show images by name. Can use RepoTags or RepoDigests as valid inputs.
        Parameters:
        name - Name of the image to filter on
        Returns:
        ListImagesParam