Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Pull Image from Private Registry directory limitations #63

Open
fdamador opened this issue Jul 20, 2018 · 1 comment
Open

Pull Image from Private Registry directory limitations #63

fdamador opened this issue Jul 20, 2018 · 1 comment

Comments

@fdamador
Copy link

fdamador commented Jul 20, 2018

The Images can be within folders. In my case two levels in and because of the Image Name Field Validation rules, it does not allow "/". As a result, I get errors when I try to pull images from a private repository.

As an example, I have my private repository (other than docker) setup and tested properly.
registry.example.com/folder1/subfolder2/image:latest
However, it errors out. I've tried
foder1/subfoler2/image:latest
but this also fails.

Finally, I tried to export the docker image from my computer to import to the ContainerStation apps but the tar file contents are different.

  1. Can you allow email verification for the registry username validation?
  2. Can you allow "/" as part of the image pull from registry validation image input?
  3. Can you give some examples of matching the containerstation export/import with the docker export/import features?
@fdamador fdamador changed the title Pull Image from Registry directory limitations Pull Image from Private Registry directory limitations Jul 20, 2018
@ColinHuang
Copy link
Contributor

  1. What kind of registry you are using? Container Station are base under Docker Hub. Docker Hub's username must contain only letters and digits. We will look into it.

  2. "/" is allow in the middle of image name but not start with "/".
    Because in image pull dialog we will automatically append image name after registry's URL.
    i.e.
    Registry URL: example.registry.com
    Image name: username/subfolder/imagename
    Will pull example.registry.com/username/subfolder/imagename image

  3. Export image and import it into Container Station
    a. export image from other device docker save ubuntu > ubuntu-save.tar
    b. import from GUI or from command line docker load --input ubuntu-save.tar

    Export container and import it into Container Station
    a. export container from other device docker export angry_fermi > container.tar
    b. import from GUI or from command line docker import container.tar image_name:latest

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants