<?xml version="1.0" encoding="utf-16"?><rss version="2.0"><channel><title>HueiFeng</title><description>冯辉,HueiFeng,.NET,.NET Core,Docker,k8s</description><link>https://hueifeng.azurewebsites.net/</link><pubDate>Tue, 07 Apr 2026 19:58:13 GMT</pubDate><copyright>(c) {year} Moonglade</copyright><generator>Moonglade v11.2-preview</generator><item><title>wsl2 内存限制</title><link>https://hueifeng.azurewebsites.net/post/2022/7/27/limit-wsl-memory</link><description>在C:\Users\&lt;UserName&gt;\.wslconfig创建一个文件，配置如下所示。
[wsl2]
memory=4GB
swap=8GB
swap类似于Windows的虚拟内存，从硬盘中划分出一个分区，在物理内存不够时，就会将硬盘空间虚拟成内存使用，用于解决内存不足的情况。
配置格式：
[wsl2]
memory=size              
processors=number       
swap=size                
localhostForwarding=bool
在配置设置完之后，执行wsl --shutdown命令进行关闭，随后执行wsl命令再次启动即可。
memory：限制内存
swap：交换分区
processors：限制核心数
localhostForwarding：关闭默认连接，将WSL2本地主机绑定到Windows本地主机
</description><author>695979933@qq.com</author><category>Docker</category><guid isPermaLink="false">83A2614E-9688-41C8-8C41-C587502BAA4A</guid><pubDate>Wed, 27 Jul 2022 15:21:00 GMT</pubDate></item><item><title>【Azure DevOps系列】如何在Azure DevOps上构建Docker镜像（一）</title><link>https://hueifeng.azurewebsites.net/post/2020/10/14/how-to-build-docker-image-on-azuredevops</link><description>创建Pipeline
trigger:
- master

pool:
  vmImage: 'windows-latest'

steps:
- task: DotNetCoreCLI@2
  inputs:
    command: 'restore'

- task: DotNetCoreCLI@2
  inputs:
    command: 'build'

- task: DotNetCoreCLI@2
  inputs:
    command: 'publish'
    publishWebProjects: true
通过如下任务从源文件夹存档文件，支持多种标准存档格式，包括.zip,.jar,.war,.ear,.tar,.7z等
- task: ArchiveFiles@2
  inputs:
    rootFolderOrFile: '$(Build. …</description><author>695979933@qq.com</author><category>Docker</category><category>DevOps</category><guid isPermaLink="false">E53060F6-BB3A-4DA6-8481-FAC194F4C3BD</guid><pubDate>Wed, 14 Oct 2020 11:41:00 GMT</pubDate></item></channel></rss>