windows docker 中挂载 网络驱动器 软件
之前发布过Connect Hyper-V VM from WSL,在Win Docker中挂载hv中的虚拟机smb
但是在4.45版本以后docker windows版本对etc的修改完全无效
并且在4.48后修改了vhdx的生成逻辑,不是从 wsl-bootstrap.tar 中生成新的wsl的虚拟硬盘文件而是通过 Docker\resources\wsl...
windows 修复 软件
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Checkhealth
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
python总是会被微软商店劫持 软件
打开这个地址
%userprofile%\AppData\Local\Microsoft\WindowsApps
删掉python.exe这就是跳转用的,0kb
因为我通常用的是anaconda安装目录的的python
方法是在环境变量中添加anaconda的安装目录就行
微软会议软件Webview2版本不支持问题 软件
Your current webview2 version is not supported, please download the latest.Learn about Edge Webview2
ref. Teams App not working stating needs Edge Webview2 - Microsoft Q&A
找到如下...
portainer开启 enable GPU 软件
portainer
开启GPU
https://docs.portainer.io/user/docker/swarm/setup
其实如果不是多GPU要给不同的容器不同的GPU
只要在 Host setup中开启Show GPU in the UI就可以了
hyper v中安装debian(在zfs中) 软件
安装 Debian 10 到 ZFS Mirror 阵列 | LOGGER
How to install ZFS in Debian 12 "Bookworm" - nixCraft
先使用live镜像Debian -- Live 安装映像
开启终端
先给分区
ls /dev/sd?
看看读到了哪个盘。。。
fdisk /dev/sda
...
尝试docker直接读取zfs分区 软件
https://www.reddit.com/r/zfs/comments/lcdxs5/zfs_in_wsl2_raw_disk_access/
wsl2中的debian安装truenas因为dialog要访问serial或者tty,我一时无法解决
所以就寄希望于windows中的docker取代truenas的服务。
truenas webui也有doc...
WSL中安装debian再看看能不能升级truenas 软件
wsl --set-default-version 2
wsl --install -d Debian
安装只能默认到C盘中能导出然后再导入到D盘
InstallingDebianOn/Microsoft/Windows/SubsystemForLinux - Debian Wiki
cat /etc/issue
uname -a
版本是12,内核是5.15...
hyper v 开启嵌套虚拟化 软件
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
设置虚拟输出设备
Set-VMVideo -VMName <VMName> -HorizontalResolution 1920 -VerticalResolution 1080 -Resolu...
去除windows server 许可证日期显示 软件
\HKEY_CURRENT_USER\Control Panel\Desktop
PaintDesktopVersion
改成1