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

"storage_path" configuration is not reflected. #401

@ghost

Description

Issue

Images are placed in /tmp regardless of what I specify in the configuration.

Excepted behavior

Images should be placed in directory specified by the 'storage_path' configuration.

Reproduce steps

1.# docker run -d -p 5000:5000 registry:0.7.0
302e8d18a163ee7529f9f5d0856a88e21f1b226d4f563b0a9c2e53cf6b588055
2.# docker tag busybox localhost:5000/busybox
3.# docker push localhost:5000/busybox
4.# ls -al /var/lib/docker/aufs/mnt/302e8d18a163ee7529f9f5d0856a88e21f1b226d4f563b0a9c2e53cf6b588055/tmp
合計 20
drwxrwxrwt 4 root root 4096 6月 2 07:00 .
drwxr-xr-x 104 root root 4096 6月 2 06:59 ..
-rw-r--r-- 1 root root 4096 6月 2 07:00 docker-registry.db
drwxr-xr-x 6 root root 4096 6月 2 07:00 images
drwxr-xr-x 3 root root 4096 6月 2 07:00 repositories

"images" and "repositories" directory should be placed in /tmp/registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions