# Packages
No description provided by the author
# README
docker-ref
A library for parsing Docker image references.
This library is extracted from the distribution project (from this commit).
It's sole purpose is to allow parsing Docker image references without having to import the entire distribution project with all of its dependencies.
Installation
go get github.com/sagikazarmark/docker-ref
Development
For an optimal developer experience, it is recommended to install Nix and direnv.
Run the test suite:
just test
Prior art
There are some existing solutions out there, but I decided it's easier if I just fork the repo myself.
- https://github.com/novln/docker-parser
- https://github.com/containers/image/tree/8c387a14f4ac95fb4aa0569e8e31439f988bc941/docker/reference
License
The project is licensed under the Apache 2.0 License.