{"id":13416478,"url":"https://github.com/MeneDev/dockmoor","last_synced_at":"2025-03-15T00:31:02.031Z","repository":{"id":138446405,"uuid":"147167006","full_name":"MeneDev/dockmoor","owner":"MeneDev","description":"Manage docker image references","archived":true,"fork":false,"pushed_at":"2023-04-22T11:26:05.000Z","size":9181,"stargazers_count":17,"open_issues_count":9,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-31T21:56:55.675Z","etag":null,"topics":["devops","docker","dockerfile"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MeneDev.png","metadata":{"files":{"readme":"README.adoc","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-03T07:22:57.000Z","updated_at":"2024-06-30T07:16:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"196cb004-ce32-46be-b418-3bc91af16af5","html_url":"https://github.com/MeneDev/dockmoor","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeneDev%2Fdockmoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeneDev%2Fdockmoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeneDev%2Fdockmoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeneDev%2Fdockmoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MeneDev","download_url":"https://codeload.github.com/MeneDev/dockmoor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667667,"owners_count":20328032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","docker","dockerfile"],"created_at":"2024-07-30T21:00:59.369Z","updated_at":"2025-03-15T00:31:02.025Z","avatar_url":"https://github.com/MeneDev.png","language":"Go","readme":"\n:branch: master\n\n== dockmoor\nimage:https://github.com/MeneDev/dockmoor/workflows/Go/badge.svg?branch={branch}[Build Status (GitHub Actions), link=https://github.com/MeneDev/dockmoor/actions]\nimage:https://img.shields.io/coveralls/github/MeneDev/dockmoor/{branch}.svg[Coveralls statement coverage, link=https://coveralls.io/github/MeneDev/dockmoor]\nimage:https://goreportcard.com/badge/github.com/MeneDev/dockmoor[Go Report Card, https://goreportcard.com/report/github.com/MeneDev/dockmoor]\nimage:https://img.shields.io/github/release/MeneDev/dockmoor.svg[\"GitHub release\",link=\"https://github.com/MeneDev/dockmoor/releases\"]\nimage:https://img.shields.io/twitter/follow/MeneDev.svg?style=social\u0026label=%40MeneDev[Follow @MeneDev on Twitter, link=https://twitter.com/MeneDev]\n\nOnce you found a nice dock, it's time to moor :anchor: +\ndockmoor helps you to create reproducible builds with Docker.\n\n\u003e **Warning**\n\u003e This is currently unmaintained. Tracking docker as a dependency was a mistake.\n\u003e\n\u003e Renovate bot has a similar feature: https://docs.renovatebot.com/docker/#digest-pinning\n\n== Features\n\n*Implemented*\n\n* pin image references to currently used image via digest to make builds reproducible\n** works with (remote) docker daemon and docker registry (e.g. docker hub)\n* list image references\n* find Dockerfiles\n* filter by various predicates, e.g. untagged, `latest`, RegEx-match\n\n*Upcoming*\n\n* amend missing tags\n* find outdated image references\n* other formats: docker-compose, GitLab CI, Circle CI, Travis CI, ...\n\n[[_examples]]\n== Examples\n\nNote: all digests are abbreviated for better readability\n\n[[pin-command-examples]]\n=== pin command\n\nThe `pin` command queries a Docker daemon (local or remote) or a docker registry (e.g. docker hub) for images matching the used image references and pins the image reference by appending the digest.\n\n*Note* the Docker daemon is used by default, but only knows pulled images!\n\n[[_pin_well_known_image_references]]\n==== Pin well-known image references\n\n[subs=+macros]\n....\ndockmoor pin https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/pin-examples/Dockerfile-nginx[pin-examples/Dockerfile-nginx]\n....\n\nGiven the following multi-stage dockerfile:\n\n[source,Dockerfile]\n----\n# originally untagged\nFROM nginx\n# originally tagged 1.15\nFROM nginx:1.15\n# originally tagged 1\nFROM nginx:1\n# originally tagged 1.15-alpine-perl\nFROM nginx:1.15-alpine-perl\n\nRUN something\n----\n\nFile after execution:\n\n[source,Dockerfile]\n----\n# originally untagged\nFROM nginx@sha256:31b..91\n# originally tagged 1.15\nFROM nginx:1.15@sha256:31b..91\n# originally tagged 1\nFROM nginx:1@sha256:31b..91\n# originally tagged 1.15-alpine-perl\nFROM nginx:1.15-alpine-perl@sha256:9c6..ae\n\nRUN something\n----\n\nstdout is empty +\nstderr is empty +\nexit code: 0\n\n[[_pin_all_image_references_in_a_dockerfile_using_a_docker_registry]]\n==== Pin all image references in a dockerfile using a docker registry\n\n[subs=+macros]\n....\ndockmoor pin --resolver=registry https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/pin-examples/Dockerfile-testimagea[pin-examples/Dockerfile-testimagea]\n....\n\nFile before execution:\n\n[source,Dockerfile]\n----\nFROM menedev/testimagea:1\nFROM menedev/testimagea:1.0\nFROM menedev/testimagea:1.0.0\nFROM menedev/testimagea:1.0.1\nFROM menedev/testimagea:1.1.0\nFROM menedev/testimagea:1.1.1\nFROM menedev/testimagea:2\nFROM menedev/testimagea:2.0\nFROM menedev/testimagea:2.0.0\nFROM menedev/testimagea:latest\nFROM menedev/testimagea\n\nRUN something\n----\n\nFile after execution:\n\n[source,Dockerfile]\n----\nFROM menedev/testimagea:1@sha256:1e2..24\nFROM menedev/testimagea:1.0@sha256:c27..4b\nFROM menedev/testimagea:1.0.0@sha256:f38..df\nFROM menedev/testimagea:1.0.1@sha256:c27..4b\nFROM menedev/testimagea:1.1.0@sha256:bf1..96\nFROM menedev/testimagea:1.1.1@sha256:1e2..24\nFROM menedev/testimagea:2@sha256:3d4..a1\nFROM menedev/testimagea:2.0@sha256:3d4..a1\nFROM menedev/testimagea:2.0.0@sha256:3d4..a1\nFROM menedev/testimagea:latest@sha256:3d4..a1\nFROM menedev/testimagea@sha256:3d4..a1\n\nRUN something\n----\n\nstdout is empty +\nstderr is empty +\nexit code: 0\n\n[[_pin_image_references_with_latest_or_no_tag_in_a_dockerfile]]\n==== Pin image references with latest or no tag in a dockerfile\n\n[subs=+macros]\n....\ndockmoor pin --latest https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/pin-examples/Dockerfile-testimagea[pin-examples/Dockerfile-testimagea]\n....\n\nFile after execution:\n\n[source,Dockerfile]\n----\nFROM menedev/testimagea:1\nFROM menedev/testimagea:1.0\nFROM menedev/testimagea:1.0.0\nFROM menedev/testimagea:1.0.1\nFROM menedev/testimagea:1.1.0\nFROM menedev/testimagea:1.1.1\nFROM menedev/testimagea:2\nFROM menedev/testimagea:2.0\nFROM menedev/testimagea:2.0.0\nFROM menedev/testimagea:latest@sha256:3d4..a1\nFROM menedev/testimagea@sha256:3d4..a1\n\nRUN something\n----\n\nstdout is empty +\nstderr is empty +\nexit code: 0\n\n[[list-command-examples]]\n=== list command\n\nAll single file examples refer to https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[a multi-stage build Dockerfile]\n\n[[_list_all_image_references_where_the_tag_ends_in_test]]\n==== List all image references where the tag ends in `-test`\n\nSurrounding strings with `/` enables regular expression based matching.\n\n[subs=+macros]\n....\ndockmoor list --tag=/-test$/ https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout:\n\n[subs=+macros]\n....\nimage-name:1.12-test\nimage-name:1.11-test\ndocker.io/library/image-name:latest-test\nexample.com/image-name:1.12-test\nexample.com/image-name:latest-test@sha256:2c4..cf\n....\n\nstderr is empty +\nexit code: 0\n\n[[_list_all_image_references_with_latest_or_no_tag_from_a_specific_domain_in_file]]\n==== List all image references with latest or no tag from a specific domain in file\n\nYou can use multiple predicates to filter the matching image references. In this example the `domain` predicate is used together wih the `latest` predicate. Predicates are connected to a `conjunction`: all predicates must match.\n\n[subs=+macros]\n....\ndockmoor list --domain=example.com --latest https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout:\n\n[subs=+macros]\n....\nexample.com/image-name:latest@sha256:2c4..cf\nexample.com/other-image\nexample.com/other-image:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_list_all_image_references_in_file]]\n==== List all image references in file\n\n[subs=+macros]\n....\ndockmoor list https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout:\n\n[subs=+macros]\n....\nimage-name\nimage-name:latest\nimage-name:1.12\nimage-name:1.12-test\nimage-name:1.11-test\nimage-name@sha256:2c4..cf\ndocker.io/library/image-name:1.12@sha256:2c4..cf\ndocker.io/library/image-name\ndocker.io/library/image-name:latest\ndocker.io/library/image-name:latest-test\nexample.com/image-name:1.12\nexample.com/image-name:1.12-test\nexample.com/image-name:1.12-testing\nexample.com/image-name:latest@sha256:2c4..cf\nexample.com/image-name:latest-test@sha256:2c4..cf\nexample.com/image-name@sha256:2c4..cf\nexample.com/other-image\nexample.com/other-image:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_list_all_image_references_with_latest_or_no_tag_in_file]]\n==== List all image references with latest or no tag in file\n\n[subs=+macros]\n....\ndockmoor list --latest https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout:\n\n[subs=+macros]\n....\nimage-name\nimage-name:latest\ndocker.io/library/image-name\ndocker.io/library/image-name:latest\nexample.com/image-name:latest@sha256:2c4..cf\nexample.com/other-image\nexample.com/other-image:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_list_all_unpinned_image_references]]\n==== List all unpinned image references\n\n[subs=+macros]\n....\ndockmoor list --unpinned https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout:\n\n[subs=+macros]\n....\nimage-name\nimage-name:latest\nimage-name:1.12\nimage-name:1.12-test\nimage-name:1.11-test\ndocker.io/library/image-name\ndocker.io/library/image-name:latest\ndocker.io/library/image-name:latest-test\nexample.com/image-name:1.12\nexample.com/image-name:1.12-test\nexample.com/image-name:1.12-testing\nexample.com/other-image\nexample.com/other-image:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_use_unix_find_to_list_all_unpinned_image_references]]\n==== Use unix find to list all unpinned image references\n\n[subs=+macros]\n....\nfind some-folder -type f -exec dockmoor list --unpinned {} \\; | sort | uniq\n....\n\nstdout:\n\n[subs=+macros]\n....\nnginx\nnginx:1.15.3\nnginx:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_use_unix_find_to_list_all_image_references_with_latestno_tags]]\n==== Use unix find to list all image references with latest/no tags\n\n[subs=+macros]\n....\nfind https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/[some-folder/] -type f -exec dockmoor list --latest {} \\; | sort | uniq\n....\n\nstdout:\n\n[subs=+macros]\n....\nnginx\nnginx:latest\n....\n\nstderr is empty +\nexit code: 0\n\n[[_use_unix_find_to_list_all_image_references]]\n==== Use unix find to list all image references\n\n[subs=+macros]\n....\nfind https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/[some-folder/] -type f -exec dockmoor list {} \\; | sort | uniq\n....\n\nstdout:\n\n[subs=+macros]\n....\nnginx\nnginx:1.15.3\nnginx:1.15.3-alpine@sha256:2c4..cf\nnginx:latest\nnginx@sha256:db5..44\n....\n\nstderr is empty +\nexit code: 0\n\n[[contains-command-examples]]\n=== contains command\n\n[[_use_unix_find_to_list_all_files_containing_unpinned_references]]\n==== Use unix find to list all files containing unpinned references\n\n[subs=+macros]\n....\nfind some-folder -type f -exec dockmoor contains --unpinned {} \\; -print\n....\n\nstdout:\n\n[subs=+macros]\n....\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-latest[some-folder/Dockerfile-nginx-latest]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-1.15.3[some-folder/Dockerfile-nginx-1.15.3]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-untagged[some-folder/Dockerfile-nginx-untagged]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/subfolder/Dockerfile-nginx-latest[some-folder/subfolder/Dockerfile-nginx-latest]\n....\n\nstderr is empty +\nexit code: 0\n\n[[_use_unix_find_to_list_all_files_containing_latestno_tags]]\n==== Use unix find to list all files containing latest/no tags\n\n[subs=+macros]\n....\nfind some-folder -type f -exec dockmoor contains --latest {} \\; -print\n....\n\nstdout:\n\n[subs=+macros]\n....\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-latest[some-folder/Dockerfile-nginx-latest]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-untagged[some-folder/Dockerfile-nginx-untagged]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/subfolder/Dockerfile-nginx-latest[some-folder/subfolder/Dockerfile-nginx-latest]\n....\n\nstderr is empty +\nexit code: Unresolved directive in cmdContains.adoc - include::../end-to-end/results/containsLatestInFolder.exitCode[]\n\n[[_use_unix_find_to_list_all_supported_files]]\n==== Use unix find to list all supported files\n\n[subs=+macros]\n....\nfind some-folder -type f -exec dockmoor contains {} \\; -print\n....\n\nstdout:\n\n[subs=+macros]\n....\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-latest[some-folder/Dockerfile-nginx-latest]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-1.15.3[some-folder/Dockerfile-nginx-1.15.3]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-tagged-digest[some-folder/Dockerfile-nginx-tagged-digest]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-untagged[some-folder/Dockerfile-nginx-untagged]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/Dockerfile-nginx-digest[some-folder/Dockerfile-nginx-digest]\nhttps://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/subfolder/Dockerfile-nginx-latest[some-folder/subfolder/Dockerfile-nginx-latest]\n....\n\nstderr is empty +\nexit code: 0\n\n[[_test_the_format_of_a_file]]\n==== Test the format of a file\n\nThe `contains` command returns with exit code 0 when an image reference was found that matches. Using the `--any` predicate allows to match any file with a supported format that contains at least one image reference.\n\n[subs=+macros]\n....\ndockmoor contains https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile]\n....\n\nstdout is empty +\nstderr is empty +\nexit code: 0\n\n[subs=+macros]\n....\ndockmoor contains https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/some-folder/NotADockerfile[some-folder/NotADockerfile]\n....\n\nstdout is empty +\nstderr is empty +\nexit code: 4\n\n[[_supported_formats]]\n== Supported Formats\n\n* https://github.com/MeneDev/dockmoor/blob/master/cmd/dockmoor/end-to-end/Dockerfile[Dockerfile] (as used by `docker build`)\n\n[[_usage]]\n== Usage\n\n___________________________________________________________________________________________________________________________\ndockmoor [OPTIONS] \u003clink:#contains-command[contains] | link:#list-command[list] | link:#pin-command[pin]\u003e [command-OPTIONS]\n___________________________________________________________________________________________________________________________\n\n[[_application_options]]\n== Application Options\n\n*-l*, *--log-level* Sets the log-level (one of `NONE`, `ERROR`, `WARN`, `INFO`, `DEBUG`)\n\n*--version* Show version and exit\n\n[[_commands]]\n=== Commands\n\n* link:#contains-command[contains]\n* link:#list-command[list]\n* link:#pin-command[pin]\n\n[[_contains_command]]\n==== contains command\n\n________________________________________________________\ndockmoor [OPTIONS] contains [contains-OPTIONS] InputFile\n________________________________________________________\n\nTest if a file contains image references with matching predicates. Returns exit code 0 when the given input contains at least one image reference that satisfy the given conditions and is of valid format, non-null otherwise\n\n[[_domain_predicates]]\n===== Domain Predicates\n\nLimit matched image references depending on their domain\n\n*--domain* Matches all images matching one of the specified domains. Surround with '/' for regex i.e. /regex/.\n\n[[_name_predicates]]\n===== Name Predicates\n\nLimit matched image references depending on their name\n\n*--name* Matches all images matching one of the specified names (e.g. \"docker.io/library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*-f*, *--familiar-name* Matches all images matching one of the specified familiar names (e.g. \"nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*--path* Matches all images matching one of the specified paths (e.g. \"library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n[[_tag_predicates]]\n===== Tag Predicates\n\nLimit matched image references depending on their tag\n\n*--untagged* Matches images with no tag\n\n*--latest* Matches images with latest or no tag. References with digest are only matched when explicit latest tag is present.\n\n*--tag* Matches all images matching one of the specified tag. Surround with '/' for regex i.e. /regex/.\n\n[[_digest_predicates]]\n===== Digest Predicates\n\nLimit matched image references depending on their digest\n\n*--unpinned* Matches unpinned image references, i.e. image references without digest.\n\n*--digest* Matches all image references with one of the provided digests.\n\n[[_list_command]]\n==== list command\n\n________________________________________________\ndockmoor [OPTIONS] list [list-OPTIONS] InputFile\n________________________________________________\n\nList image references with matching predicates. Returns exit code 0 when the given input contains at least one image reference that satisfy the given conditions and is of valid format, non-null otherwise\n\n[[_domain_predicates_2]]\n===== Domain Predicates\n\nLimit matched image references depending on their domain\n\n*--domain* Matches all images matching one of the specified domains. Surround with '/' for regex i.e. /regex/.\n\n[[_name_predicates_2]]\n===== Name Predicates\n\nLimit matched image references depending on their name\n\n*--name* Matches all images matching one of the specified names (e.g. \"docker.io/library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*-f*, *--familiar-name* Matches all images matching one of the specified familiar names (e.g. \"nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*--path* Matches all images matching one of the specified paths (e.g. \"library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n[[_tag_predicates_2]]\n===== Tag Predicates\n\nLimit matched image references depending on their tag\n\n*--untagged* Matches images with no tag\n\n*--latest* Matches images with latest or no tag. References with digest are only matched when explicit latest tag is present.\n\n*--tag* Matches all images matching one of the specified tag. Surround with '/' for regex i.e. /regex/.\n\n[[_digest_predicates_2]]\n===== Digest Predicates\n\nLimit matched image references depending on their digest\n\n*--unpinned* Matches unpinned image references, i.e. image references without digest.\n\n*--digest* Matches all image references with one of the provided digests.\n\n[[_pin_command]]\n==== pin command\n\n______________________________________________\ndockmoor [OPTIONS] pin [pin-OPTIONS] InputFile\n______________________________________________\n\nChange image references to a more reproducible format\n\n[[_domain_predicates_3]]\n===== Domain Predicates\n\nLimit matched image references depending on their domain\n\n*--domain* Matches all images matching one of the specified domains. Surround with '/' for regex i.e. /regex/.\n\n[[_name_predicates_3]]\n===== Name Predicates\n\nLimit matched image references depending on their name\n\n*--name* Matches all images matching one of the specified names (e.g. \"docker.io/library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*-f*, *--familiar-name* Matches all images matching one of the specified familiar names (e.g. \"nginx\"). Surround with '/' for regex i.e. /regex/.\n\n*--path* Matches all images matching one of the specified paths (e.g. \"library/nginx\"). Surround with '/' for regex i.e. /regex/.\n\n[[_tag_predicates_3]]\n===== Tag Predicates\n\nLimit matched image references depending on their tag\n\n*--untagged* Matches images with no tag\n\n*--latest* Matches images with latest or no tag. References with digest are only matched when explicit latest tag is present.\n\n*--tag* Matches all images matching one of the specified tag. Surround with '/' for regex i.e. /regex/.\n\n[[_digest_predicates_3]]\n===== Digest Predicates\n\nLimit matched image references depending on their digest\n\n*--unpinned* Matches unpinned image references, i.e. image references without digest.\n\n*--digest* Matches all image references with one of the provided digests.\n\n[[_reference_format]]\n===== Reference format\n\nControl the format of references, defaults are sensible, changes are not recommended\n\n*--force-domain* Includes domain even in well-known references\n\n*--no-name* Formats well-known references as digest only\n\n*--no-tag* Don't include the tag in the reference\n\n*--no-digest* Don't include the digest in the reference\n\n[[_pin_options]]\n===== Pin Options\n\nControl how the image references are resolved\n\n*-r*, *--resolver* Strategy to resolve image references (one of `dockerd`, `registry`)\n\n*--tag-mode* Strategy to resolve image references (one of `unchanged`)\n\n[[_output_parameters]]\n===== Output parameters\n\nOutput parameters\n\n*-o*, *--output* Output file to write to. If empty, input file will be used.\n\n[[_building_locally_and_contributing]]\n== Building locally and Contributing\n\nAppreciated! See link:CONTRIBUTING.md[CONTRIBUTING] for details.\n\n[[_roadmap]]\n== Roadmap\n\nCurrently dockmoor is in a very eraly stage and under constant development.\n\nTo get an idea where the journey will go, take a look at the link:ROADMAP.md[Roadmap]\n\n","funding_links":[],"categories":["Docker Images"],"sub_categories":["Dockerfile"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMeneDev%2Fdockmoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMeneDev%2Fdockmoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMeneDev%2Fdockmoor/lists"}