Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 78ae525

Browse files
author
Olivier Gambier
committed
Fix #521
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
1 parent 911db9c commit 78ae525

File tree

8 files changed

+14
-15
lines changed

8 files changed

+14
-15
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*.db
66
.DS_Store
77
.idea
8-
.dotcloud
98
.coverage
109
.tox
1110
htmlcov

config/config_sample.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ swift: &swift
139139
swift_region_name: _env:OS_REGION_NAME
140140

141141
# This flavor stores the images in Glance (to integrate with openstack)
142-
# See also: https://github.com/dotcloud/openstack-docker
142+
# See also: https://github.com/docker/openstack-docker
143143
glance: &glance
144144
<<: *common
145145
storage: glance
@@ -185,7 +185,7 @@ dev: &dev
185185
# This flavor is used by unit tests
186186
test:
187187
<<: *dev
188-
index_endpoint: https://indexstaging-docker.dotcloud.com
188+
index_endpoint: https://registry-stage.hub.docker.com
189189
standalone: true
190190
storage_path: _env:STORAGE_PATH:./tmp/test
191191

contrib/golang_impl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env GOPATH /go
99
env CGO_ENABLED 0
1010
run cd /tmp && echo 'package main' > t.go && go test -a -i -v
1111

12-
run git clone https://github.com/dotcloud/docker-registry.git /docker-registry.git
12+
run git clone https://github.com/docker/docker-registry.git /docker-registry.git
1313
run cd /docker-registry.git/contrib/golang_impl && make && cp bin/docker-registry /usr/local/bin/
1414

1515
expose 80

contrib/golang_impl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This implementation doesn't provide all the features that are available in the P
1010

1111
## Build and start docker image for registry
1212

13-
$ git clone https://github.com/dotcloud/docker-registry.git docker-registry.git
13+
$ git clone https://github.com/docker/docker-registry.git docker-registry.git
1414
$ cd docker-registry.git/contrib/golang_impl
1515
$ docker build -t docker_registry/golang .
1616
$ docker run -v /data:/data -d -p 80:80 docker_registry/golang

contrib/nginx/nginx_1-3-9.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ server {
2424

2525
client_max_body_size 0; # disable any limits to avoid HTTP 413 for large image uploads
2626

27-
# required to avoid HTTP 411: see Issue #1486 (https://github.com/dotcloud/docker/issues/1486)
27+
# required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486)
2828
chunked_transfer_encoding on;
2929

3030
location / {

docker_registry/server/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
__title__ = 'docker-registry'
1414
__build__ = 0x000000
1515

16-
__url__ = 'https://github.com/dotcloud/docker-registry'
16+
__url__ = 'https://github.com/docker/docker-registry'
1717
__description__ = 'Registry server for Docker'
18-
__download__ = 'https://github.com/dotcloud/docker-registry/archive/master.zip'
18+
__download__ = 'https://github.com/docker/docker-registry/archive/master.zip'

scripts/bandwidth_parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
logging_interval = 15 # 15 minutes
2121
exp_time = 60 * 60 * 24 # Key expires in 24hs
2222
try:
23-
with open('/home/dotcloud/environment.json') as f:
23+
with open('/home/docker/environment.json') as f:
2424
env = json.load(f)
2525
# Prod
2626
redis_opts = {
27-
'host': env['DOTCLOUD_REDIS_REDIS_HOST'],
28-
'port': int(env['DOTCLOUD_REDIS_REDIS_PORT']),
27+
'host': env['REDIS_HOST'],
28+
'port': int(env['REDIS_PORT']),
2929
'db': 1,
30-
'password': env['DOTCLOUD_REDIS_REDIS_PASSWORD'],
30+
'password': env['REDIS_PASSWORD'],
3131
}
3232
except Exception:
3333
# Dev

tests/workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
How to run locally:
33
Start your local registry:
4-
`INDEX_ENDPOINT=https://indexstaging-docker.dotcloud.com \
4+
`INDEX_ENDPOINT=https://registry-stage.hub.docker.com' \
55
SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml docker-registry`
66
77
Start the tests:
@@ -36,10 +36,10 @@ class TestWorkflow(base.TestCase):
3636
# Dev server needs to run on port 5000 in order to run this test
3737
registry_endpoint = os.environ.get(
3838
'DOCKER_REGISTRY_ENDPOINT',
39-
'https://registrystaging-docker.dotcloud.com')
39+
'https://registry-staging.docker.io')
4040
index_endpoint = os.environ.get(
4141
'DOCKER_INDEX_ENDPOINT',
42-
'https://indexstaging-docker.dotcloud.com')
42+
'https://registry-stage.hub.docker.com')
4343
user_credentials = os.environ['DOCKER_CREDS'].split(':')
4444

4545
def generate_chunk(self, data):

0 commit comments

Comments
 (0)