Category: Uncategorized

  • Install PostgreSQL 16 on Debian

    To install PostgreSQL 16.9 on Debian, you’ll want to use the official PostgreSQL APT repository, as Debian’s default repositories might not always have the latest version. Here’s a step-by-step guide: Step 1: Add PostgreSQL APT Repository Import the PostgreSQL signing key: Add the repository: Step 2: Install PostgreSQL 16.9 Update your package list: Install PostgreSQL…

  • How to Mount an SMB Share to a Docker Container (Step-by-Step)

    🧱 Step 1: Mount SMB Share on Host (Linux Example) Run this on your Docker host (Linux): 👉 You can also make this mount persistent in /etc/fstab. 🐳 Step 2: Run Docker Container with SMB Mount Now mount the local directory (e.g., /mnt/smb) into your container: Inside the container, /data/smb-share will map to your SMB…

  • Docker container user permission settings for SMB-mounted directory

    To ensure the Docker container can read and write to an SMB-mounted directory, you need to properly set permissions on both: ✅ Step-by-Step: Set Correct Permissions 🧱 1. Mount the SMB Share with Correct UID/GID Use mount -t cifs with uid and gid options to set file ownership on the host. Example: Example output: If…