<p>I want send multiple entrypoint commands to a Docker container in the <code>command</code> tag of kubernetes config file.</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: hello-world
spec:  # specification of the pod’s contents
  restartPolicy: Never
  containers:
  - name: hello
    image: "ubuntu:14.04"
    command: ["command1 arg1 arg2 &amp;&amp; command2 arg3 &amp;&amp; command3 arg 4"]
</code></pre>

<p>But it seems like it does not work. What is the correct format of sending multiple commands in the command tag?</p>

<p>There can only be a single entrypoint in a container... if you want to run multiple commands like that, make bash be the entry point, and make all the other commands be an argument for bash to run:</p>

<p><code>command: ["/bin/bash","-c","touch /foo &amp;&amp; echo 'here' &amp;&amp; ls /"]</code></p>
