Docker Client-Server Architecture

Docker is a powerful platform that operates on a client-server architecture, where the client and server communicate over a RESTful API. The client acts as an interface, allowing users to interact with Docker using commands to build, run, and manage Docker containers. Meanwhile, the server component, known as the Docker Engine, executes these commands in the background. This architecture enables Docker to be flexible and efficient, making it capable of running containers across different environments. With Docker, building and running containers has never been easier!

Systemd service unit files

Systemd service unit files are configuration files used by the systemd system and service manager in Linux systems. systemd acts as an init system and service manager, responsible for bootstrapping the user space and managing system processes after booting. Each service unit file represents a service and contains instructions and configurations for starting, stopping, and managing the service.

These unit files typically have a .service extension and are located in directories such as /etc/systemd/system/, /run/systemd/system/, or /lib/systemd/system/, representing system-specific, runtime, and default service unit files, respectively.

A service unit file includes several sections, most notably:

  • The [Unit] section, which describes the service with documentation and its dependencies.
  • The [Service] section, which specifies the commands to start and stop the service and the behavior of the service.
  • The [Install] section, which defines how the unit is installed (i.e., how the service should be automatically started at boot time).

By editing these unit files, system administrators can control the services on the system with precision.

用新電腦首先要做什麼

  1. 安裝telegram
  2. 下載無蝦米
  3. 下載Git
  4. 下載jetbrains要用到的軟體
  5. 下載cmder
  6. 安裝NVM
  7. webstorm改成用bash
    settings 選terminal,再shell path打:”D:\Program Files\Git\bin\sh.exe” -login -i
    (看GIT資料夾放在哪裡)
  8. 安裝Line
  9. 設定鍵盤中英切換的快捷鍵,我發現我初始竟然是Shift…找很久發現是無蝦米的設定
加了一個英文鍵盤,先這樣設定試試