Moonglade

Modern Markdown blogging with AI-powered localization and search.

Tag: AnduinOS


Linux Docker root and rootless modes

This article provides an in-depth analysis of the core differences between Docker in Root mode and Rootless mode. Root mode operates at the system-wide level, storing data in `/var/lib/docker`. It offers full privileges but has lower security. Rootless mode runs with regular user permissions, isolates data within the user directory, and leverages user namespace technology to enhance security and enable independent instances for multiple users. However, it is limited by CPU and I/O constraints and certain network functionalities. The article points out that because the data storage and service configurations of the two modes are completely independent, they cannot share images and containers. Based on the current actual needs, which do not require advanced features, the author decided to disable Root mode and fully adopt Rootless mode. The text details how to manage user-level services using `systemctl --user`, corrects the misconception that `systemctl` is limited to system-level usage, and compares the configuration file paths, socket locations, and storage directories in both modes. Additionally, it discusses the Rootless capabilities of applications such as Podman and Caddy, summarizes the advantages and limitations of Rootless mode in development, testing, and shared hosting scenarios, and provides a practical guide for managing containers more securely and flexibly in a Linux environment.

Views 551
AnduinOS Docker comparison-analysis configuration-management docker-containerization linux-containers rootless-docker security-best-practices

Find Your Clipboard Assistant for AnduinOS

This article documents the author's process of migrating tools after switching from Windows to AnduinOS, a GNOME-based distribution, in order to address the lack of a multi-entry clipboard history feature. The article first explains the importance of the built-in clipboard tool in Windows 11 for development scenarios. It then describes how to install and configure the GNOME extension `clipboard-indicator` on AnduinOS as an alternative. The core steps include: first, verifying the GNOME Shell version via the command line and selecting the matching extension version based on the official support list (e.g., GNOME 42 corresponds to `v47`); second, downloading the specified version's archive from the GNOME Extensions website and extracting it into the specific folder under the `/usr/share/gnome-shell/extensions` directory; finally, enabling the extension using the `gnome-extensions enable` command. After installation, users can find the clipboard icon in the status bar and customize settings and shortcuts. It is recommended to set the shortcut to `win+v` to replicate the Windows experience. The article specifically notes that in terminal environments, copy and paste must be performed using `ctrl+shift+c` and `ctrl+shift+v` to avoid conflicts with default terminal control commands. This extension effectively resolves efficiency pain points in the new system, providing developers with smooth, rapid multi-text transfer capabilities, significantly improving...

Views 195
AnduinOS GNOME extensions Windows alternative clipboard productivity tool terminal

How to Enjoyably Develop .NET with AnduinOS

This article aims to provide .NET developers with a guide for setting up a development environment in VSCode on AnduinOS or any Linux system that closely mimics the Visual Studio experience. It begins by noting that, due to the lack of a free Visual Studio and the absence of a Rider Community Edition, VSCode emerges as an ideal alternative. The core content recommends the C# extension and its key settings, such as enabling OmniSharp decompilation support, EditorConfig, and the Roslyn analyzer, to enhance basic functionality. For advanced needs, it introduces the C# Dev Kit and its intelligent completion components, while cautioning about its commercial licensing restrictions and account login requirements. Additionally, it recommends Roslynator as a lightweight alternative for code analysis and refactoring, along with practical plugins for automatically generating XML documentation comments and completing namespaces. The article also briefly discusses the pros and cons of GitHub Copilot. The author emphasizes that these configurations can significantly improve development efficiency and invites readers to share further optimization suggestions, aiming to help developers achieve a smoother C# development experience on Linux platforms.

Views 312
.NET AnduinOS C# VSCode development-environment dotnet github-copilot vscode-plugins