Use public container images on IBM Bluemix

How can i start a container from the public docker hub (registry.hub.docker) on Bluemix?
I tried adding the repo url to the public name but I always get “Image not found”.

cf ic run -d

  • Setup private docker registry with anonymous pull access
  • Docker-compose: Copying files from local env to EC2 instance
  • How to get ssh connection with docker container on OSX(boot2docker)
  • Where is the certificates folder for Docker Beta for Mac
  • How to ensure dependencies on host are removed when we remove a docker container
  • Can one Java installation on host manage multiple applications deployed in docker container
  • Docker volume recreates a new target path every time
  • Custom Docker Swarm Scheduler
  • Convert “docker run …” into “docker create …” && “docker start …”
  • Docker fails to start container occasionally with error “lstat /dev/dm-1: no such file or directory”
  • How can I cleanly remove a container image from the Google Container Registry?
  • When will Docker be launched? [closed]
  • 4 Solutions collect form web for “Use public container images on IBM Bluemix”

    The answer from @Alex da Silva is 100% correct but I found a simpler way.

    cpi                 Copy an image from Docker Hub
    cf ic cpi SRC DST

    You need to first pull it to your docker repository, tag the image to your Bluemix registry and then push image to Bluemix repository.

    $ docker pull <image>
    $ docker tag <current_image_name_or_ID>:<optional_tag> <private_Bluemix_repository>/<new_image_name>:<optional_tag> 
    $ cf ic login
    $ docker push <private_Bluemix_repository>/<image_name>
    $ cf ic images

    See documentation for more details:

    Just to note that IBM Bluemix Container Service now offers Kubenetes clusters, these can pull directly from public registries such as Docker Hub and are preconfigured to securely pull private images from IBM Bluemix Container Registry.

    Access to the IBM Bluemix Container Registry is via the container-registry plugin to the bx command.

    The documentation for the registry can be found here

    as per the documentation here: – here is what they say for docker hub images:

    Images from Docker Hub
    Copy images directly from Docker Hub into your private Bluemix registry or pull an image from Docker Hub, modify it locally, and then build it directly in your registry.

    You can follow the instructions to pull images from docker hub. Hope this helps.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.