Bài viết này sẽ trình bày các cài đặt hệ thống Linux để làm việc tốt hơn với Docker. 1. Quản lý Docker với một người dùng non-root Docker daemon gắn với một UNIX socket thay vì một cổng TCP. Mặc định, một Unix socket được...
1. What’s cgroups? cgroups stands for Control Groups, it’s a feature of Linux kernel that allocates and isolates resources: CPU, memory, disk I/O and networking of one or more processes. The below figure shows the configurations of cgroups in Linux kernel: <img src="/?originalUrl=https%3A%2F%2Fvietkubers.github.io%2Fstatic%2Fimg%2FLXC%2Fcgroups-kernel.PNG" alt="cgroups"...