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. XDummy在碼頭集裝箱
- 3. 監控碼頭集裝箱
- 4. 共享碼頭集裝箱
- 5. 碼頭集裝箱UUID
- 6. systemd在碼頭集裝箱
- 7. ERR_CONNECTION_REFUSED由碼頭集裝箱
- 8. 連接碼頭集裝箱
- 9. OpenJ9和碼頭集裝箱?
- 10. 碼頭集裝箱在停止或移除後啓動新集裝箱
- 11. 如何鏈接一個碼頭集裝箱與另一個碼頭集裝箱
- 12. 我可以從集裝箱碼頭內重新啓動碼頭集裝箱嗎?
- 13. 在碼頭集裝箱中安裝ssh
- 14. 在碼頭集裝箱中安裝mongodb
- 15. 碼頭集裝箱VS應用集裝箱
- 16. 如何做碼頭集羣或熱複製碼頭集裝箱?
- 17. 碼頭集裝箱什麼時候停止?
- 18. 從typeorm碼頭集裝箱連接postgres
- 19. 碼頭集裝箱中的MySQL連接
- 20. 在碼頭集裝箱上使用SSL
- 21. 部署最新的碼頭集裝箱
- 22. 碼頭集裝箱拒絕連接
- 23. 從碼頭集裝箱下載日誌
- 24. 在碼頭集裝箱中運行emacs
- 25. 碼頭集裝箱IP地址
- 26. 碼頭集裝箱內的rsync文件?
- 27. 碼頭集裝箱:lsmod找不到
- 28. 檢查碼頭集裝箱內的mem_limit
- 29. 碼頭集裝箱連接到MSSQL
- 30. Chaining在碼頭集裝箱內的tcp_keepalive_ *