[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic] New Project: Atomic Registry

On Fri, Apr 8, 2016 at 4:18 PM, Adam Miller <maxamillion fedoraproject org> wrote:
On Fri, Apr 8, 2016 at 1:10 PM, Josh Berkus <jberkus redhat com> wrote:
> I'm pleased to announce the launch of a new Atomic project, Registry.
> This project will provide a more secure, configurable container image
> registry based on components from OpenShift Origin and Cockpit.
> To find out more, read the announcement:
> http://www.projectatomic.io/blog/2016/04/atomic-registry-intro/

Just a quick note, the quickstart[0] docs appear to work as written
but the 'atomic run' command output from the 'atomic install' command
is incorrect and inconsistent with what's in the docs.

​Adam, thanks for reporting this. I'll fix it.
-bash-4.3# atomic install projectatomic/atomic-registry-quickstart
Using default tag: latest
Trying to pull repository
docker.io/projectatomic/atomic-registry-quickstart ... latest: Pulling
from projectatomic/atomic-registry-quickstart
fa5be2806d4c: Pull complete
ec6bd55c6a0a: Pull complete
721496b876b6: Pull complete
eb98cdc284d4: Pull complete
1634bf4015be: Pull complete
7098c19c462e: Pull complete
5b8ed0b73169: Pull complete
6e86b556e820: Pull complete
4ab60d209d75: Pull complete
b003e1cc096f: Pull complete
4494b25737b0: Pull complete
8056ea0da49c: Pull complete
9be5bcae9262: Pull complete
def83a6b107a: Pull complete
c0cf27a62e9c: Pull complete
907fd747019a: Pull complete
47bd174546ec: Pull complete
da6a4725b5e3: Pull complete
6ae6a41dc6a4: Pull complete
Digest: sha256:13610eb073adaff70f2bdec9cc62074ba488d860d0f0613287afe1860b4c502e
Status: Downloaded newer image for

docker run -it --rm --privileged --net=host -v /var/run:/var/run:rw -v
/sys:/sys -v /etc/localtime:/etc/localtime:ro -v
/var/lib/docker:/var/lib/docker:rw -v
/var/lib/origin/:/var/lib/origin/ -v /etc/origin/:/etc/origin/ -v
/:/host -e KUBECONFIG=/etc/origin/master/admin.kubeconfig --entrypoint
/container/bin/install.sh projectatomic/atomic-registry-quickstart
Using default tag: latest
Trying to pull repository docker.io/openshift/origin ... latest:
Pulling from openshift/origin
2ebc6e0c744d: Pull complete
044c0f15c4d9: Pull complete
28e524afdd05: Pull complete
3d5d2cc21738: Pull complete
5cbce5448e9f: Pull complete
ec0a85e077f8: Pull complete
07168d10198f: Pull complete
90f7ff25fcea: Pull complete
e16c3cd7d263: Pull complete
20b9720ddaf9: Pull complete
f0fd741f7b0b: Pull complete
143e505dea39: Pull complete
57507fa15b57: Pull complete
a06f66f95af5: Pull complete
Digest: sha256:f0045c693851637df33d2e00a23eac8389862a20937d40503cce181bc39ad8fd
Status: Downloaded newer image for docker.io/openshift/origin:latest

Using default tag: latest
Trying to pull repository docker.io/openshift/origin-docker-registry
... latest: Pulling from openshift/origin-docker-registry
a179c872ae69: Pull complete
5bd6e3b50a9a: Pull complete
83c9f2b8b1e5: Pull complete
d4eddf67a017: Pull complete
9194c005c4bd: Pull complete
7e88dd1c2f37: Pull complete
996194a017f7: Pull complete
0260cfeb3c38: Pull complete
Digest: sha256:a7ade49ba3506d61c0f9ba65a8a803676b9c3ebf113bbe388ee58e19733897b7
Status: Downloaded newer image for

Using default tag: latest
Trying to pull repository docker.io/cockpit/kubernetes ... latest:
Pulling from cockpit/kubernetes
7891603e1bb1: Pull complete
57b0aeee3a60: Pull complete
bd3bbc0be49d: Pull complete
aaff58a7e91f: Pull complete
c482f22b1c8b: Pull complete
e53ac2d03084: Pull complete
7d2703342b94: Pull complete
2ece3e9e2245: Pull complete
fe122bcef7b2: Pull complete
b08afbeca0fb: Pull complete
Digest: sha256:770937ea8819c3e06bf6cec6ab709601a363b659c65971a3e4316fe46cc77c1d
Status: Downloaded newer image for docker.io/cockpit/kubernetes:latest

Installing using hostname localhost.localdomain
Generated new key pair as
/etc/origin/master/serviceaccounts.public.key and
Wrote master config to: /etc/origin/master/master-config.yaml
Generating node credentials ...
Created node config for localhost.localdomain in
Copy files to host
+ mv /host/etc/origin/node-localhost.localdomain /host/etc/origin/node
+ mkdir -p /host/etc/origin/registry/bin
+ mkdir -p /host/etc/origin/master/site
+ cp /container/bin/install.sh /container/bin/run.sh
/container/bin/uninstall.sh /host/etc/origin/registry/bin/.
+ cp /container/etc/origin/registry-console-template.yaml
+ cp /container/etc/origin/registry-newproject-template-shared.json
+ cp /container/etc/origin/registry-newproject-template-unshared.json
+ cp /container/etc/origin/registry-login-template.html
+ cat /etc/origin/master/master.server.crt /etc/origin/master/master.server.key
+ set +x
Updating servicesNodePortRange to 443-32767...
Updating login template
Optionally edit configuration file /etc/origin/master/master-config.yaml,
add certificates to /etc/origin/master,
then run 'atomic run atomic-registry-quickstart'
-bash-4.3# atomic run atomic-registry-quickstart
Using default tag: latest
Trying to pull repository docker.io/library/atomic-registry-quickstart
... not found
Error: image library/atomic-registry-quickstart:latest not found


[0] http://docs.projectatomic.io/registry/latest/registry_quickstart/administrators/index.html

> --
> --
> Josh Berkus
> Project Atomic
> Red Hat OSAS

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]