Docker Command
- Use “arg” (CMD) and “command” (ENTRYPOINT)in Pod
-
FROM Ubuntu ENTRYPOINT ["sleep"] CMD ["3"]
-
apiVersion: v1 kind: Pod metadata: name: app-pod spec: containers: - name: app-pod image: app command: ["echo"] <-- replace "sleep" args: ["5"] <-- replace "3"
-