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

  • Auditing in a SQL Server Docker Container
  • Docker postgresql container with external data container
  • Docker run nanoserver not starting
  • Setup discourse docker on mac os
  • Restore a Postgresql database into a Docker container so when Postgres starts up the DB is in place
  • Assign public IP to docker
  • {
      "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 copy files from local machine to docker container on windows
  • Where is the time spent starting a docker image?
  • Running multiple dependent apps each with their own docker compose file
  • Docker mysql image: periodic access denied for root
  • Can you use nginx reverse proxy to docker containers without exposing any ports?
  • Locally deploying a GCloud app with a custom Docker image
  • 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.