Windows 11 显示国旗图标

下载安装字体后修改注册表重启生效

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI Emoji (TrueType)"="seguiemj_1_33_mod.ttf"

实测目前的版本还缺少很多系统 Emoji,导致显示有问题

cntr 在 alpine docker 中无法使用

运行 cntr attach container 报错 cannot mount filesystem, Cannot raise file descriptor limit, EPERM: Operation not permitted
但并不是像 what are the minimal required capabilities for cntr · Issue #428 · Mic92/cntr 说的 setcap 的问题,和 代码中 ulimit 无法设置有关。

根据 Changing hard limits and soft limits in Alpine Linux : r/AlpineLinux 提供的方法,在 /etc/rc.conf 中设置 rc_ulimit="-n 524288" 是最大值了,再大重启也不生效,ulimit -n 会回退到默认的 1024。

但那是通过 dropbear SSH 过去看的,如果从 PVE 主机上用 pct enter 进去看,ulimit -n 能达到 1048576,此时运行 cntr 就不会报错了。根据 Real ulimit value for lxc containers | Proxmox Support Forum 说的,去 /etc/pve/lxc/101.conf 里添加 lxc.prlimit.nofile = 1048576 ,再 ssh 过去也都可以啦。