(network interfaces, routing...) •ipc (System V IPC) •mnt (mount points, filesystems) •uts (hostname) •user (UIDs) Control groups control resources: •cpu (CPU shares) •cpusets (limit processes to a CPU) •memory (swap, dirty pages) •blockio (throttle reads/ writes) •devices •net_cls, net_prio: control packet class and priority
-y apache2 openssh-server vim 離開 container 輸入以下指令,確認本 container 修改哪些: $ docker diff <container_id> C /var/log/faillog C /var/log/lastlog A /var/www A /var/www/html A /var/www/html/index.html !26
-d Set /proc/self/oom_score_adj from 0 to -1000 debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. debug1: Bind to port 22 on ::. Server listening on :: port 22. 成功的話會看到以上資訊 !29