Skip to content
/ dkg Public
forked from carvel-dev/imgpkg

Store application configuration files in Docker/OCI registries

License

Notifications You must be signed in to change notification settings

btwiuse/dkg

 
 

Repository files navigation

imgpkg

imgpkg (pronounced: image package) allows to store sets of files (e.g. application configuration) as images in Docker (OCI) registries. This may be a good alternative to storing files in other places as Docker registry already keeps your other images. Original primary use case for this CLI was to store application configuration (i.e. templates) as an image.

$ imgpkg push -i your-user/app1-config:0.1.1 -f config/
$ imgpkg pull -i your-user/app1-config:0.1.1 -o /tmp/app1-config
$ imgpkg tag ls -i your-user/app1-config

Features:

  • Allows to push image containing set of files
  • Allows to pull image and extract set of files
  • Allows to list pushed image tags
  • Uses Docker layer media type to work with existing registries
  • Uses deterministic file permissions and timestamps to make images reproducable (same digest if nothing changed)

Development

./hack/build.sh

eval $(minikube docker-env)
docker login
export IMGPKG_E2E_IMAGE=dkalinin/test-simple-content
./hack/test-all.sh

About

Store application configuration files in Docker/OCI registries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.2%
  • Dockerfile 3.4%
  • Shell 2.4%