Customer params in kubectl when run docker

I want the command like follows:

   docker run -d --net=host

How can I pass the –net=host params to the docker through kubectl.

  • Docker Compose WordPress example
  • Determining if a process runs inside lxc/Docker
  • Proxy request through Apache host to docker container
  • How to manage secrets in a Microservice / Container / Cloud environment?
  • Migrating existing Docker containers to Docker Compose
  • Access Docker from external machine in network
  • Difference between Docker and CS Docker Engine ?
  • Ruby on Rails Calculating md5 of image with command line ``
  • Ho do I find a running container by name?
  • (Docker) Getting error: docker-php-source: no such file or directory when building docker file
  • docker command line list arguments
  • Docker building fails randomly with Error mounting
  • One Solution collect form web for “Customer params in kubectl when run docker”

    You can set the “hostNetwork” field to true in the pod spec to enable host networking. See the kube-apiserver manifest for an example.

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