Difference between Docker ENTRYPOINT and Kubernetes container spec COMMAND?

DOCKERFILE has a parameter for ENTRYPOINT and while writing Kubernetes deployment yaml file , there is a parameter in Container spec for COMMAND.

I am not able to figure out what’s the difference and how each is used?

  • No suitable driver found (jdbc:pgsql)
  • How to connect to docker host from container on Windows 10 (Docker for Windows)
  • Java version updated on package installation
  • Disable access to LAN from docker container
  • How to tell docker worker node belong to which swarm?
  • How to separate logs for multiple containers in a single host?
  • database docker container design
  • npm ERR! Failed when make ionic serve command (ask for checking version of node.js and npm installed)
  • How to create a table in PostgreSQL using pyscopg2?
  • Docker (under boot2docker) does not look for/find local images when building
  • supervisor won't give meaningful output
  • Docker inspect: Select field that has forward slash using jq
  • 2 Solutions collect form web for “Difference between Docker ENTRYPOINT and Kubernetes container spec COMMAND?”

    I think your looking for command tag in the image section.

    you can refer this flannel yaml file.

    https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

    Thanks

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