Running your own Docker registry with TLS and the possibility to search and removing images and tags

Last year I explained here how to run your own docker registry -> Running your own Docker registry with Apache and basic authentication

Today, it is much easier. The new official docker “registry” image contains the possibility for use your own certificates and http authentication.
Furthermore, now there is a way to search and remove your own images and tags like you could do in the Docker hub.

Leer más ›

Publicado en docker Etiquetado con:

Openstack – Nova resize one instance

Following the previous post about how to migrate one instance between two nodes with no downtime -> Openstack – Nova instance live migration between two nodes

Now that we have configured user nova to do one ssh (scp) between nodes without passwd, we can use another cool Openstack option that I was looking for a long time. To resize one instance to one upper flavor.

For example. If you have one m1.tiny instance with only 512 of memory and 4GB disk, and that instance need more resources, we could resize it to the next flavor m1.small without the process of rebuild it. For this operation we need at least two compute nodes because in the resize operation it copy the instance from one node to another one.

Leer más ›

Publicado en cloud computing, openstack Etiquetado con: ,

Openstack – Nova instance live migration between two nodes

Recently, I have moved all my prod systems virtualized in KVM to the OpenStack platform. I must recognize that despite I was the last year playing with OpenStack, I didn’t feel confidence enough until now to make this migration to my prod systems. OpenStack is a complex IaaS Cloud project with a lot of components, but at the end I must admit it was a complete success.

One of the main features that I was looking for, was the ability to migrate one instance between two compute nodes with no downtime. How cool is that?

For make it work in Openstack installed in Debian (or Ubuntu) some things must be done that are not very well documented.

Leer más ›

Publicado en cloud computing, openstack Etiquetado con: ,

Install Debian Jessie in one Apu1d

The is a nice little machine with 2 cores, 3 NICs, 4Gb of memory and virtualization capabilities:
Even I use it for my Openstack practices at home and it supports one controller with keysotne, neutron, glance, etc, running.APU1CTo install Debian Jessie in the Apu1d4 we will need to create a bootable usb stick in the old way because we need to modify some files and the dd method is not valid to
do this. So:
– Download the current jessie netinst iso debian-8.2.0-amd64-netinst.iso
– With fdisk make one partition and select FAT16 type
– Format it with mkdosfs /dev/sdx1 (be sure what is your usb device!)
– Install syslinux & mtools packages and do one:

 # syslinux /dev/sdx1

Leer más ›

Publicado en debian, sistemas Etiquetado con: ,

How to search images on your own docker registry

Regarding my last post Running your own Docker registry with Apache and basic authentication I was looking information on how to search instances in your own docker registry with the “docker serach” command as you could do with the one.

The only way that I have found, is specifying the user and password like this:

# docker login
# docker search user:"passwd"

The problem with this, is that the password will be in the history of the server you typed it.

There is already one bug opened to resolve this:

Publicado en docker Etiquetado con: