Open Containers distribution API for Django.
This repository serves a Django app that can be used to provide an opencontainers
distribution (OCI) endpoint to push and pull containers. An example
application is provided in tests
that can be interacted with here.
Install django-oci::
pip install django-oci
Add it to your INSTALLED_APPS
along with rest_framework
INSTALLED_APPS = (
...
'django_oci',
'rest_framework',
...
)
Add django-oci's URL patterns:
from django_oci import urls as django_oci_urls
urlpatterns = [
...
url(r'^', include(django_oci.urls)),
...
]
See the documentation or getting started guide for more details about setup, and testing. An example application is provided and described in the getting started guide as well. The latest conformance testing is provided as well.