docker容器内部窥探

进入容器内部查看目录情况,退出容器exit

docker容器内部窥探_第1张图片

Docker File:

FROM microsoft/dotnet:2.1-aspnetcore-runtime
RUN cd /usr/local/src
RUN mkdir MyTestApi
WORKDIR /usr/local/src/MyTestApi
COPY . .
EXPOSE 5000
ENTRYPOINT ["dotnet","demo1.dll"]

你可能感兴趣的:(Docker,跨平台开发)