Using Docker registry in Atomic Developer Bundle

With Atomic Developer Bundle you can easily setup OpenShift on your workstation and OpenShift creates a local docker registry which can be used independently.

To make these commands work, you need to have a working Vagrant setup with Virtualbox or Libvirt/KVM provider.

For this blog I am using ADB 2.1 . I also  believe these instructions will work for CDK 2.0.

$ vagrant plugin install vagrant-service-manager
$ git clone
$ cd adb-atomic-developer-bundle/components/centos/centos-openshift-setup/
$ vagrant up

After the above commands you should get an OpenShift single node setup based OpenShift Origin. If you want to use a specific version of Origin  use the relevant tag from Docker hub in and then do “vagrant up”.

There are various ways of using the OpenShift  from ADB/CDK i.e. web console or through oc binary/command line. I am going to login to the Vagrantbox and start using the docker registry.

$ vagrant ssh

Get the login credential

$ oc whoami -t

Login to the docker registry

$ docker login -u admin -p tF8vQU7xBaM4KA4iKgRmjWFlQex1oKJQr8nwAvblczE -e hub.openshift.c
WARNING: login credentials saved in /home/vagrant/.docker/config.json
Login Succeeded

Pull an image from docker hub and push it to the local registry

$ docker pull fedora
Using default tag: latest
Trying to pull repository ... latest: Pulling from library/fedora
7891603e1bb1: Pull complete 
6932b0d5be7d: Pull complete 
Digest: sha256:cfd8f071bf8da7a466748f522406f7ae5908d002af1b1a1c0dcf893e183e5b32
Status: Downloaded newer image for

Push the image to the local docker registry

$ docker push
The push refers to a repository [] (len: 1)
6932b0d5be7d: Pushed 
7891603e1bb1: Pushed

Now you can pull the image from the local docker registry

$ docker pull
Trying to pull repository ... latest: Pulling from sample-pro
Digest: sha256:eb1987b9de75cd307f22ac8ed73cd20dcc39220904b8274eb2b92b55f383da30
Status: Downloaded newer image for


Inviting you to FUDCon APAC 2015


We take great pleasure in inviting you to FUDCon APAC 2015, to be held at MIT COE, Pune from 26 to 28 June 2015.

What is FUDCon?

FUDCon is the Fedora User’s and Developer’s Conference, a major free software event held in various regions around the world, annually one per region.
The 2015 APAC edition of FUDCon will be held in Pune.

At FUDCon, you get to-

  • Attend sessions on technology introductions and deep dives.
  • Participate in hands-on workshops and sessions where like-minded people get together to discuss a project/technology.
  • Be a part of Hack-fests where contributors work on specific initiatives, ranging from packaging, writing features to UI mock-ups.
  • ‘Un-Conference’ at Bar Camps, where people interested in a wide range of issues/topics can come together to share and learn.
    The speakers (that could be you) will pitch the topics they are interested in discussing in the morning of the event.
    Anyone eager to listen in or participate can attend the session at the allotted time slot.
    The most exciting part here is that anybody can stand up and talk in front of the large audience and share their views on the topic of their interest.

Why FUDCon?

FUDCon has always been a high quality event where Fedora contributors from different parts of the world converge together to bounce ideas off each other.

Fedora has the best people, professionals and developers working for it and they all collaborate on events like FUDCon. We have delegates flying in from far places to come and talk to our audience about Fedora, the future of Fedora (which is the upstream of a premier Enterprise Operating system).
Thus, FUDCon would be a great opportunity for you to engage with some of the best minds in the industry, update yourselves on the latest and the cutting edge technological innovations and experience the excitement and the thrill of the open source environment.

For more information, visit our website –

Looking forward to seeing you there.

For any assistance contact: Rupali Talwatkar at

Reference :