-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
Thanks @proppy! How hard would it be to set up a pre-release tag on index.docker.io? If it's trivial, I can do some quick testing tonight. Otherwise, I'll set up a dev environment to bake my own image tomorrow if I have some time. |
|
Using an unchanged configuration except for the image, the container fails to start with the following errors:
|
can you show the command line you used to start the container? |
Here's the systemd unit that's launching the container. See ExecStart - very basic invocation on a GCE host with the appropriate service accounts (tested the official release on this same host).
|
You likely need to review your docker-registry configuration. You guys were using 0.6, and there is a long way to 0.8. Recommandation: start from scratch using config_sample as a start point. Also, from your logs, you are missing a couple of files (.boto, .config) and run.sh is not there - if that was supposed to launch the registry in the past (I don't rememeber for sure) there is now a simple Hope that helps. |
@dmp42, I did start from scratch (noticed the
|
@bshi can you run again with |
I had to modify your command to "docker run -p 81:5000 -e GCS_BUCKET=acmeco-docker-repository --entrypoint "bash" proppy/docker-registry:plugin -x /docker-registry/run.sh" but here's the output
Looks like it's trying to invoke wget but it's not available in the image? |
@bshi updated the image and the script with curl. You can test it with |
Can this be merged? |
ping @ktintc |
ADD . /docker-registry | ||
RUN ln -s /docker-registry/config.yml /docker-registry/config/config.yml | ||
RUN apt-get update && apt-get install --no-install-recommends -yq python-pip build-essential python-dev liblzma-dev libffi-dev curl | ||
RUN pip install docker-registry==0.8.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add to requirements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the plugin should only depends on core, but the docker image should install the registry binary manually to run it.
Looks good! Thank you, @proppy! A couple of minors, squishing commits together and let's merge! |
PTAL |
Also see proppy@d92f7be which default |
LGTM |
rebased, merging. |
docker-registry: switch to plugin
Fixes #14
/cc @dmp42 @ktintc @bshi