Hi All,

I have found a solution for this situation. Docker registry also act as
normal container. So when we push some images to our registry, we have to
make a docker commit to keep those changes permanently. So if we want to
restart the registry with the changes what we have done, we can do a commit
and restart the registry.

We can do this docker commit in two ways.

1) Done a commit to docker registry after each and every image push to
registry.
2) If we want to restart the registry, then stop the registry and make a
commit to registry and then start the newly created registry.

At the movement I'm looking for the hooks in docker. If we can work with
hooks it's easy to make docker commits to the registry.

Thanks !


On Wed, Sep 10, 2014 at 11:54 AM, Manula Chathurika Thantriwatte <
[email protected]> wrote:

> Hi All,
>
> I have work on $subject. For the development I have used EC2 machine and
> create my own registry according to [1] and it works successfully. But when
> I restart the docker registry all the pushed images are discarded from the
> registry. Is anyone have faced such situation ? I have already start the
> discussion in docker-dev list about this scenario in [2].
>
> [1] http://blog.docker.com/2013/07/how-to-use-your-own-registry/
> [2] [docker-dev] How to persist private docker registry
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : [email protected] / [email protected]
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : [email protected] / [email protected]
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Reply via email to