Skip to content

Testing locally? #17

@leedtan

Description

@leedtan

Can I develop with this locally before hosting it on a live remote proxy server? Is there a doc (I can't find one) on how to test this locally? When I run locally my docker image builds but I get error message:

are not shared from OS X and are not known to Docker.

When I reduce the docker build command to only specify the following, the docker image runs:

docker run -d --name docker-registry-proxy --net=host \
  -v /tmp/dockerdbg/cache:/cache \
  -e PORT=5000 \
  -e RESOLVER=8.8.8.8 \
  -e UPSTREAM=https://<AWS address>.amazonaws.com \
  -e AWS_ACCESS_KEY_ID=<my access key> \
  -e AWS_SECRET_ACCESS_KEY<my secret access key> \
  -e AWS_REGION=us-east-1 \
  -e ENABLE_SSL=false \
  esailors/aws-ecr-http-proxy:latest

But I dont get a response when I try to query.

For IPV4 I make the most promising results:
->docker pull <my IPV4>:5000/<my model name>:<tag>
->Error response from daemon: Get https://<my IPV4>:5000/v2/: Service Unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions