0
Q
暫停碼頭集裝箱
A
回答
2
據泊塢窗documentation泊塢窗,撰寫暫停命令做到這一點:
The docker pause command suspends all processes in the specified containers.
On Linux, this uses the cgroups freezer. Traditionally, when suspending a process the SIGSTOP signal is used, which is observable by the process being suspended.
With the cgroups freezer the process is unaware, and unable to capture, that it is being suspended, and subsequently resumed. On Windows, only Hyper-V containers can be paused.
1
這是什麼Docket docs說:
的碼頭工人暫停命令中止所有進程指定的容器。在Linux上,這使用cgroups冷凍機。傳統上,在暫停進程時,會使用SIGSTOP信號,這可以通過暫停進程來觀察。對於cgroups冷凍機,該過程不知道,無法捕獲,它正在暫停,隨後又恢復。在Windows上,只能暫停Hyper-V容器。
所以這意味着容器中的進程停止運行,並且它們能夠稍後恢復。
相關問題
- 1. 暴露碼頭集裝箱碼頭
- 2. 標記碼頭集裝箱?
- 3. Python在碼頭集裝箱
- 4. ERR_CONNECTION_REFUSED由碼頭集裝箱
- 5. 連接碼頭集裝箱
- 6. 監控碼頭集裝箱
- 7. XDummy在碼頭集裝箱
- 8. 碼頭集裝箱UUID
- 9. systemd在碼頭集裝箱
- 10. 碼頭集裝箱連接
- 11. OpenJ9和碼頭集裝箱?
- 12. 共享碼頭集裝箱
- 13. 碼頭集裝箱在停止或移除後啓動新集裝箱
- 14. 如何鏈接一個碼頭集裝箱與另一個碼頭集裝箱
- 15. 我可以從集裝箱碼頭內重新啓動碼頭集裝箱嗎?
- 16. 在另一個碼頭集裝箱內使用碼頭集裝箱的數據
- 17. 在碼頭集裝箱上安裝rdiff
- 18. 在碼頭集裝箱中安裝mongodb
- 19. 在碼頭集裝箱中安裝ssh
- 20. 碼頭集裝箱VS應用集裝箱
- 21. 如何做碼頭集羣或熱複製碼頭集裝箱?
- 22. 如何恢復空間不足的停靠碼頭集裝箱?
- 23. 優雅地停在碼頭集裝箱的芹菜
- 24. 碼頭集裝箱什麼時候停止?
- 25. 將config.txt添加到碼頭集裝箱
- 26. 碼頭集裝箱http請求限制
- 27. 無法連接到碼頭集裝箱
- 28. 碼頭集裝箱運行不正常
- 29. 修復退出的碼頭集裝箱
- 30. 在碼頭集裝箱上使用SSL