How to connect my docker image to my kubernetes cluster?

I have a simple play project, and I created a docker image for it.

I created the image like:

  • Jenkins docker agent in declarative pipeline: file not found
  • Trying to execute easy_install or pip on docker build says command not found
  • Zabbix server and agent using dns with docker swarm 1.12- connection problems
  • Docker Rails app fails to be served - curl: (56) Recv failure: Connection reset by peer
  • Understanding a docker entrypoint script
  • Gitlab docker and external_url
  • in my circle.yml I added:

    deployment:
      feature:
        branch: /.*/
        commands:
          - docker login -e admin@something.com -u ${ART_USER} -p ${ART_KEY} crp-docker-docker-local.someartifactory.com
          - sbt -DBUILD_NUMBER="${CIRCLE_BUILD_NUM}" docker:publish
    

    Now in my jfrog account I have the image name for this project, and in my controller.yml I added this specific image.

    But now I have created kubernetes clusters with 4 minions machines and one master machine, and I want to know how do I connect this docker image to this cluster to run it?

    thanksss

  • Binding an IP address to a container port on docker for windows
  • How to upgrade Docker on Mac from boot2docker version?
  • Attaching a Docker Container automatically to an IP Address/DNS
  • After building a docker image how can I run the image without pushing to docker hub?
  • Build docker image fail : Exiting on user command
  • npm install shows colors during install on Docker Hub
  • One Solution collect form web for “How to connect my docker image to my kubernetes cluster?”

    kubectl run <app name> --image=<image name from jfrog>

    If you want to automatically fetch the image name and start the container, you can run a special container that will fetch the image names

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