title: How to run my docker images on kubernetes cluster?
body: <p>I have a custom docker image that can run on docker like below:</p>
  
  <pre><code>root@ubuntu:/home/peter/mgr-test# docker images
  REPOSITORY                                                     TAG                 IMAGE ID            CREATED             SIZE
  850473919045.dkr.ecr.us-east-1.amazonaws.com/peter-demo-ecr    latest              3df81b4fa7e8        3 days ago          601 MB
  centos7/mgr                                                    v1                  3df81b4fa7e8        3 days ago          601 MB
  </code></pre>
  
  <p>To run docker container:</p>
  
  <pre><code>docker run --privileged -idt \
      -v /sys/fs/cgroup:/sys/fs/cgroup \
      --name mgr5 \
      -h abcloud-mgr5.byoc.acer.com \
      centos7/mgr:v1 /usr/sbin/init
  </code></pre>
  
  <p>To login docker container:</p>
  
  <pre><code>root@ubuntu:/home/peter/mgr-test# docker exec -it 180d13e5acba bash
  Configuring ipa-client, please wait....
  [root@abcloud-mgr1 /]#
  </code></pre>
  
  <p>How can I use <code>kubectl run</code> to my docker image?</p>