Câu hỏi phỏng vấn Docker
Câu hỏi

What is the default CPU limit set for a container?

Câu trả lời

By default, Docker containers have no CPU limit set, meaning they can use as much CPU as the host machine's kernel scheduler allows. This means that without any specific configuration, a container can potentially use all available CPU resources on the host machine[1][2][3][4].

Citations:
[1] https://howtodoinjava.com/devops/docker-memory-and-cpu-limits/
[2] https://www.tutorialspoint.com/how-many-cpus-does-a-docker-...

middle

middle

Gợi ý câu hỏi phỏng vấn

middle

How can we control the startup order of services in Docker compose?

middle

What is the difference between “expose” and “publish” in Docker?

middle

What happens if you add more than one CMD instruction to a Dockerfile?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào