docker run -dt -v "C:\\Users\\tsson\\vsdbg\\vs2017u5:/remote_debugger:rw" -v "C:\\Users\\tsson\\AppData\\Roaming\\Microsoft\\UserSecrets:/root/.microsoft/usersecrets:ro" -v "C:\\Users\\tsson\\AppData\\Roaming\\ASP.NET\\Https:/root/.aspnet/https:ro" -v "D:\\source\\repos\\GrpcService1\\GrpcService1:/app" -v "D:\\source\\repos\\GrpcService1:/src/" -v "C:\\Users\\tsson\\.nuget\\packages\\:/root/.nuget/fallbackpackages2" -v "C:\\Program Files (x86)\\DevExpress 21.2\\Components\\Offline Packages:/root/.nuget/fallbackpackages" -e "ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS=true" -e "ASPNETCORE_ENVIRONMENT=Development" -e "ASPNETCORE_URLS=https://+:443;<http://+:80>" -e "DOTNET_USE_POLLING_FILE_WATCHER=1" -e "NUGET_PACKAGES=/root/.nuget/fallbackpackages2" -e "NUGET_FALLBACK_PACKAGES=/root/.nuget/fallbackpackages;/root/.nuget/fallbackpackages2" -P --name GrpcService1 --entrypoint tail grpcservice1:dev -f /dev/null
docker build -f "D:\\source\\repos\\GrpcService1\\GrpcService1\\Dockerfile" --force-rm -t grpcservice1:dev --target base --label "com.microsoft.created-by=visual-studio" --label "com.microsoft.visual-studio.project-name=GrpcService1" "D:\\source\\repos\\GrpcService1"
/app/publish/bin
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false
docker build . -t huen.service.server
docker run --rm -it --name Huen.Service.Server1 -e DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false -v "D:\\source\\repos\\Huen.App.Service\\Test.Biz\\bin\\Release\\net6.0:/app/publish/bin:rw" -p 15080:80 huen.service.server
docker run --rm -it --name Huen.Service.Server1 -e DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false -v "/data/huen.service.server/ASSEMBLY:/app/bin:rw" -v "/data/huen.service.server/conf:/app/conf:rw" -v "/data/huen.service.server/UploadFiles/Temp:/UploadFiles/Temp:rw" -v "/data/huen.service.server/UploadFiles:/UploadFiles:rw" --restart always -p 15080:80 huen.service.server
docker run -d --name postgres-container -e TZ=Seoul -p 35432:5432 -v /data/pgsql/config/postgresql.conf:/etc/postgresql/postgresql.conf -v /data/pgsql/pgdata:/var/lib/postgresql/data -e POSTGRES_HOST_AUTH_METHOD=trust -e POSTGRES_USER=아이디 -e POSTGRES_PASSWORD=비밀번호 ubuntu/postgres:12-20.04_beta
docker pull dpage/pgadmin4
sudo docker run -p 15050:80 -e "PGADMIN_DEFAULT_EMAIL=아이디@이메일.com" -e "PGADMIN_DEFAULT_PASSWORD=비밀번호" -d dpage/pgadmin4
#See <https://aka.ms/containerfastmode> to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["Huen.Service.Core/Huen.Service.Core.csproj", "Huen.Service.Core/"]
COPY ["Huen.Service.Server/Huen.Service.Server.csproj", "Huen.Service.Server/"]
RUN dotnet restore "Huen.Service.Server/Huen.Service.Server.csproj"
COPY . .
WORKDIR "/src/Huen.Service.Core"
RUN dotnet build "Huen.Service.Core.csproj" -c Release -o /app/build
WORKDIR "/src/Huen.Service.Server"
RUN dotnet build "Huen.Service.Server.csproj" -c Release -o /app/build
FROM build AS publish
#RUN dotnet publish "Huen.Service.Core.csproj" -c Release -o /app/publish
RUN dotnet publish "Huen.Service.Server.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
#RUN dotnet dev-certs https --trust
ENTRYPOINT ["dotnet", "Huen.Service.Server.dll"]
docker container run -d -p 5000:5000 --name registry registry
docker container run -d -p 5000:5000 -v /data/docker-registry/auth:/auth -v /data/docker-registry/data:/data -e REGISTRY_AUTH=htpasswd -e REGISTRY_AUTH_HTPASSWD_REALM=Registry -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/registry.password -e REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/data --name registry registry
curl -X GET <http://localhost:5000/v2/_catalog>
curl -X GET <http://localhost:5000/v2/docker-nginx/tags/list>
docker run -it -p 8080:8080 --name registry-web --link registry -e REGISTRY_URL=http://192.168.0.123:5000/v2 -e REGISTRY_NAME=localhost:5000 - e -e REGISTRY_BASIC_AUTH="aHVlbjpodWVuMzU0OQ==" hyper/docker-registry-web
docker run -it -p 8080:8080 --name registry-web --link docker-registry_registry_1 -e REGISTRY_URL=http://192.168.0.123:5000/v2 -e REGISTRY_NAME=localhost:5000 hyper/docker-registry-web
#docker pull ubuntu:latest
#docker tag ubuntu 192.168.0.123:5000/ubuntu
#docker push 192.168.0.123:5000/ubuntu
sudo docker run -d --name watchtower -e TZ=Asia/Seoul -e WATCHTOWER_CLEANUP=true -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower
<https://github.com/Juniper/contrail-docker/wiki/Configure-docker-service-to-use-insecure-registry>
Asp.Net Core - The configured user limit (128) on the number of inotify instances has been reached
The configured user limit (128) on the number of inotify instances has been reached
How to Export And Import Windows Containers With Docker
How to Export And Import Windows Containers With Docker
dotnet-docker/run-aspnetcore-https-development.md at main · dotnet/dotnet-docker
Developing ASP.NET Core Applications with Docker over HTTPS
다음으로 docker build. -t webapp 은 다음을 의미합니다.