, bir yaml yapılandırma dosyasında komutunu çalıştırabilirsiniz:Kubernetes ile bir yaml dosyasında birden çok komut nasıl ayarlanır? Bu resmi belgede
http://kubernetes.io/v1.1/docs/user-guide/configuring-containers.html
apiVersion: v1
kind: Pod
metadata:
name: hello-world
spec: # specification of the pod’s contents
restartPolicy: Never
containers:
- name: hello
image: "ubuntu:14.04"
env:
- name: MESSAGE
value: "hello world"
command: ["/bin/sh","-c"]
args: ["/bin/echo \"${MESSAGE}\""]
Birden fazla komutu çalıştırmak istiyorsanız, nasıl yapmalı?
Evet, çok geçerli, ancak, Dockerfile'ın "Entrypoint"; –