标签:clr 说明 mes content 信息 name -name client 打赏
一般制作docker镜像,都是基于网络同道精心打造的镜像。如果想自己构建一个基础的镜像可以通过此次示例来学习。
说明:
不要忘记命令后的 .
PS C:\WINDOWS\system32> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
webapi latest 5462b957a3e2 About an hour ago 161MB
PS E:\My\docker> docker run -i -t --name webapi -p 6002:6001 webapi /bin/sh
/ #
说明:
/ # ls #查看容器目录
bin etc lib mnt opt publish run srv tmp var
dev home media netcore proc root sbin sys usr
/ # cd publish #webapi publish 目录
/publish # ls
Google.Protobuf.dll System.Data.SqlClient.dll
Microsoft.Data.Sqlite.dll System.Security.Cryptography.ProtectedData.dll
MySql.Data.dll appsettings.Development.json
Newtonsoft.Json.dll appsettings.json
Npgsql.dll runtimes
Oracle.ManagedDataAccess.dll web.config
SQLitePCLRaw.batteries_green.dll webapi.deps.json
SQLitePCLRaw.batteries_v2.dll webapi.dll
SQLitePCLRaw.core.dll webapi.exe
SQLitePCLRaw.provider.e_sqlite3.dll webapi.pdb
SqlSugar.dll webapi.runtimeconfig.json
System.Configuration.ConfigurationManager.dll
说明:
镜像源码:https://github.com/eric-projects/docker-net-core
欢迎打赏
标签:clr 说明 mes content 信息 name -name client 打赏
原文地址:https://www.cnblogs.com/ctfyfd/p/11706246.html