easy5 pts · first answer countskubernetesdocker
CMD vs ENTRYPOINT
An image has ENTRYPOINT ["python", "app.py"] and CMD ["--port", "8000"]. You run `docker run myimg --port 9000`. What command runs inside the container?
Discussion 0
Join free to post in the discussion.
Related questions
- Ordering Dockerfile steps for cachingDevOps Engineer
- Image vs containerDevOps Engineer
- Smallest unit in KubernetesDevOps Engineer
- Why use a .dockerignore fileDevOps Engineer
- Container exits right after startDevOps Engineer
- Deployment and ReplicaSetDevOps Engineer
- Logs from a crashed containerDevOps Engineer
- Are Kubernetes Secrets encryptedDevOps Engineer