Posts

Showing posts with the label images

Failed to build docker images with kolla-build?

Most of the time when I am trying to build docker images using the kolla-build tool, I got something like: ... ERROR:kolla.common.utils:almanach-api Failed with status: matched ERROR:kolla.common.utils:almanach-collector Failed with status: matched ERROR:kolla.common.utils:bifrost-deploy Failed with status: matched ... One thing you can try is to build the images from source: $ kolla-build almanach-api almanach-collector bifrost-deploy -t source

Push all the images from a local registry to DockerHub in one go

The other day, I wanted to push all the images from my local Docker registry to the Docker Hub but I didn't want to do it manually so I wrote this bash shell script: What the script's doing basically: 1. Get all the images in the local registry, assuming the image's name is in  this form:  local.registry.domain/branch/image_name:my-tag 2. For each image, create a new tag that match DockerHub's requirement which is: docker_hub_username/my-tag 3. Then push that image into Docker Hub Here is my Docker Hub repositories after finish the PUSH, you can have a look: https://hub.docker.com/u/dangtrinhnt/ Profit!

Pulling all images from a private docker registry

I couldn't find any command that help pulling all the docker images from a private registry so I wrote it myself: Modify the script with your information and run: $ bash pull_all_from_private_docker_registry.sh

How to list all the images on a Docker Registry

Pretty easy: * Normally with a insecure private Docker Registry you would do: curl http://<the domain>:<the port if not 80, usually it's 5000>/v2/_catalog * In a secure private Docker Registry: curl https://<user_name>:<password>@<the domain>/v2/_catalog The result will be something like: {"repositories":["anda/centos-source-aodh-api","anda/centos-source-aodh-base","anda/centos-source-aodh-evaluator","anda/centos-source-aodh-expirer","anda/centos-source-aodh-listener","anda/centos-source-aodh-notifier","anda/centos-source-barbican-api","anda/centos-source-barbican-base","anda/centos-source-barbican-keystone-listener","anda/centos-source-barbican-worker","anda/centos-source-base","anda/centos-source-bifrost-base","anda/centos-source-bifrost-deploy","anda/centos-source-blazar-api","anda/cen...

Android - Host your Linux images with DriveDroid

Yeah, It's true. You can host your Linux images (Ubuntu, Xubuntu, debian, fedora...) in your Android devices and boot from it. Now with DriveDroid , You don't need any dedicated USB drive or CDs/DVDs which are in a special format (FAT...) to be able to boot from. Everything you need to do are some super simple steps: 1. Install DriveDroid from the Google Play market:  https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en 2. Download any Linux Image you want. I recently host the Xubuntu in my Android phone with DriveDroid ( http://xubuntu.org/ ). And then copy the image to /storage/sdcard0/Download/images . 3. On your Android phone, turn on DriveDroid, select the image to let your phone host the file over USB. 4. Restart your computer (make sure that you've set up to boot from USB as the first priority) 5. Enjoy Note: You can host many Linux images on your phone with DriveDroid .