1. 创建目录

      1. mkdir /data/nuget
    2. 下载镜像(https://hub.docker.com/r/sunside/simple-nuget-server)

      podman pull sunside/simple-nuget-server
      
    3. 启用服务

      podman run --net=host -d -p8222:80 -e NUGET_API_KEY=40F15705-8EE5-418F-9FD2-123094E212CB -v /data/nuget/database:/var/www/db -v /data/nuget/packages:/var/www/packagefiles --name nuget-server sunside/simple-nuget-server
      

      若商品映射失败,可以直接用80访问

    参考:
    https://www.cnblogs.com/moncci/p/10874526.html
    https://www.cnblogs.com/caihuaxing/p/11010000.html