This is an Omnibus project that will build a "monolithic" OS package for Docker Registry. It installs an embedded version of python along with all python packages required by the docker-registry project. This makes is possible to run the Docker Registry without taking into account what version of the Python Language or of the required packages is installed on the host system.
- Checkout the repository
- Run
vagrant up
- SSH into the box:
vagrant ssh
- Change working directory to
/vagrant
- Run
make
The steps above would produce an RPM in the /vagrant/pkg/
directory
which you can copy to a RHEL/CentOS box and install using rpm
. The
package will include an embdedded version of Python 2.7.x along with
dockery-registry pip
package and all the related packages and files in
/opt/docker-registry
folder.
- Install the project as mentioned above
- Run
/etc/init.d/docker-registry start
(the service would start automatically during the OS startup since the RPM installation step adds it to the list of automatically started projects viachkconfig
).