dMp

Results 133 comments of dMp

In a shell, the default configuration runs in debug. If you disable debug, you should be ok: ``` docker run -d --name docker-registry -v /var/lib/docker/registry:/tmp/registry -p 5000:5000 -e CORS_ORIGINS=[\'*\'] -e...

@xiaods don't run with debug true.

@xiaods add `-e DEBUG=false` or use a flavor that doesn't set debug. Hope that helps!

Yes, _ping (now) returns a json object.

(http) status code is 200.

Can you clarify what you are trying to do exactly? (eg: command you are using, expected output, actual output). For now, I don't understand how/if this is related to the...

Can you copy the logs from your registry when you get the 500 error?

I don't get it. Under what condition may that file not exist? https://github.com/harrisonfeng/docker-registry/blob/master/docker_registry/toolkit.py#L325

Ok. The better fix here would be to use lockfile (http://pythonhosted.org/lockfile/). Would you be willing to try this? Thanks.

@docwhat @pires the current implementation is a parody of a proper file locking mechanism, and it fails miserably as this report demonstrates... So yeah, let's use something that does work...