Docker try to download unnecessary busybox image on creation of redis pod with kubernetes tools

I’m trying to make a demo of Kubernetes on CoreOS cluster. I have a pod with redis specifications as:

redis.json

  • Build a Simple HTTPServer inside Docker image with Python
  • Unable to launch tomcat using docker
  • Docker data-only container permissions
  • How to connect to local process from docker
  • Hibernate database configuration for cloud deployment
  • Should an application stack consist of a single or multiple swarm clusters?
  • {
      "id": "redis",
      "desiredState": {
        "manifest": {
          "version": "v1beta1",
          "id": "redis",
          "containers": [{
            "name": "redis",
            "image": "dockerfile/redis",
            "ports": [{
              "containerPort": 6379,
              "hostPort": 6379
            }]
          }]
        }
      },
      "labels": {
        "name": "redis"
      }
    }
    

    Then, when I execute command /opt/bin/kubecfg -h http://127.0.0.1:8080 -c kubernetes-coreos/pods/redis.json create /pods the output take a infinity minutes.

    Then I execute on other console: journalctl -f -xn -u kubernetes-apiserver -u etcd -u kubernetes-kubelet -u docker and output it’s:

    Aug 11 09:33:22 core-01 docker[1036]: 2014/08/11 09:33:22 GET /containers/json
    Aug 11 09:33:22 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:22 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:22 core-01 docker[1036]: 2014/08/11 09:33:22 GET /containers/json
    Aug 11 09:33:22 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:22 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:22 core-01 docker[1036]: 2014/08/11 09:33:22 POST /images/create?fromImage=busybox
    Aug 11 09:33:22 core-01 docker[1036]: [2ac127cf] +job pull(busybox, )
    Aug 11 09:33:24 core-01 docker[1036]: 2014/08/11 09:33:24 GET /containers/json
    Aug 11 09:33:24 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:24 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:33 core-01 docker[1036]: 2014/08/11 09:33:33 GET /containers/json
    Aug 11 09:33:33 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:33 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:34 core-01 docker[1036]: 2014/08/11 09:33:34 GET /containers/json
    Aug 11 09:33:34 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:34 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:44 core-01 docker[1036]: 2014/08/11 09:33:44 GET /containers/json
    Aug 11 09:33:44 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:44 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:33:54 core-01 docker[1036]: 2014/08/11 09:33:54 GET /containers/json
    Aug 11 09:33:54 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:33:54 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:03 core-01 docker[1036]: 2014/08/11 09:34:03 GET /containers/json
    Aug 11 09:34:03 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:03 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:04 core-01 docker[1036]: 2014/08/11 09:34:04 GET /containers/json
    Aug 11 09:34:04 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:04 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:14 core-01 docker[1036]: 2014/08/11 09:34:14 GET /containers/json
    Aug 11 09:34:14 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:14 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:24 core-01 docker[1036]: 2014/08/11 09:34:24 GET /containers/json
    Aug 11 09:34:24 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:24 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:33 core-01 docker[1036]: 2014/08/11 09:34:33 GET /containers/json
    Aug 11 09:34:33 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:33 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:34 core-01 docker[1036]: 2014/08/11 09:34:34 GET /containers/json
    Aug 11 09:34:34 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:34 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:44 core-01 docker[1036]: 2014/08/11 09:34:44 GET /containers/json
    Aug 11 09:34:44 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:44 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:34:54 core-01 docker[1036]: 2014/08/11 09:34:54 GET /containers/json
    Aug 11 09:34:54 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:34:54 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:35:03 core-01 docker[1036]: 2014/08/11 09:35:03 GET /containers/json
    Aug 11 09:35:03 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:35:03 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:35:04 core-01 docker[1036]: 2014/08/11 09:35:04 GET /containers/json
    Aug 11 09:35:04 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:35:04 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:35:14 core-01 docker[1036]: 2014/08/11 09:35:14 GET /containers/json
    Aug 11 09:35:14 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:35:14 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:35:24 core-01 docker[1036]: 2014/08/11 09:35:24 GET /containers/json
    Aug 11 09:35:24 core-01 docker[1036]: [2ac127cf] +job containers()
    Aug 11 09:35:24 core-01 docker[1036]: [2ac127cf] -job containers() = OK (0)
    Aug 11 09:35:30 core-01 docker[1036]: Get https://index.docker.io/v1/repositories/busybox/images: dial tcp 107.22.52.107:443: connection timed out
    Aug 11 09:35:30 core-01 docker[1036]: [2ac127cf] -job pull(busybox, ) = ERR (1)
    Aug 11 09:35:30 core-01 docker[1036]: 2014/08/11 09:35:30 POST /containers/create?name=k8s--net--redis--50c36965
    Aug 11 09:35:30 core-01 docker[1036]: [2ac127cf] +job create(k8s--net--redis--50c36965)
    Aug 11 09:35:30 core-01 docker[1036]: No such image: busybox (tag: latest)
    Aug 11 09:35:30 core-01 docker[1036]: [2ac127cf] -job create(k8s--net--redis--50c36965) = ERR (1)
    Aug 11 09:35:30 core-01 docker[1036]: [error] server.go:1025 Error making handler: No such image: busybox (tag: latest)
    Aug 11 09:35:30 core-01 docker[1036]: [error] server.go:90 HTTP Error: statusCode=404 No such image: busybox (tag: latest)
    

    Why docker try to pull busybox if I never reference that image? I appreciate any idea or collaboration.

  • How to set the name of a Docker container using REST API
  • Docker for Windows doesn't work
  • Create shared package cache folder for a Docker container
  • Where does dockerized jetty store its logs?
  • No suitable driver found for jdbc:postgresql when trying to connect spark-shell (inside a docker container) to my PostgreSQL database
  • Docker + Wordpress + Traefik
  • One Solution collect form web for “Docker try to download unnecessary busybox image on creation of redis pod with kubernetes tools”

    Docker is pulling the busybox image to support our network container. (I believe that’s since been updated to a custom, very tiny image.)

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