hongyonghan / Docker_Microsoft365_E5_Renew_X

Docker版本的E5调用API续订服务:Microsoft 365 E5 Renew X
Apache License 2.0
1.24k stars 320 forks source link

容器缺少 .NET 无法启动! #78

Closed piwawa closed 10 months ago

piwawa commented 11 months ago
(base) root@ip-172-26-7-226:~# docker run -d -p 80:1066 -e TZ=Asia/Shanghai -v /root/E5_Renew_docker/app:/app hanhongyong/ms365-e5-renew-x:slim
Unable to find image 'hanhongyong/ms365-e5-renew-x:slim' locally
slim: Pulling from hanhongyong/ms365-e5-renew-x
15115158dd02: Pull complete 
c9487bd488d4: Pull complete 
7d036e6c5a87: Pull complete 
48ab34428275: Pull complete 
97d706cb2daa: Pull complete 
d66c1aea03c0: Pull complete 
1a4a744be31d: Pull complete 
Digest: sha256:fd7d1f93d5a41a2363f6901dec9332198b235b2e8b3c53326c6d81edc720f5c6
Status: Downloaded newer image for hanhongyong/ms365-e5-renew-x:slim
babc195c38861b8b31d729702fb54278f80ca5769fe3d324f654fdacef0f2f1c

(base) root@ip-172-26-7-226:~# docker logs babc195c3886  
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download
hongyonghan commented 10 months ago

直接用这个版本的镜像吧。 docker run -d -p 1066:1066 -e TZ=Asia/Shanghai -e sender="by123@163.com" -e pwd="UNxxxxxxxxN" -e receiver="4dddqqq9dd6@qq.com" -e adminpwd="123456" hanhongyong/ms365-e5-renew-x:pubemail

hongyonghan commented 10 months ago

我增加了一个通用版本,可以试试通用版本的