I have Asp.Net Core Web Api project (.Net Core 3.1) {WebApplication1} and respective unit test project {WebApplication1.Tests} and i’m trying to embed tests building in docker build process and abort it in case of either of tests fail. My docker file looks like below: FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /app EXPOSE 80 EXPOSE 443 FROM ..

Read more

im trying to install a specific version of docker ce, the 20.10.5 , to do this I list the versions available with this command yum list docker-ce-cli –showduplicates | sort -r this is the output docker-ce-cli.x86_64 1:20.10.6-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.5-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.4-3.el7 docker-ce-stable docker-ce-cli.x86_64 1:20.10.3-3.el7 docker-ce-stable then I specify the version in the instalation ..

Read more

Hello I have problem to connecting SpringBoot within Docker Container to localhost MySQL this is my url on eclipse (application.properties) to connect: spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://docker.for.win.localhost:3306/project_8?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC So, I create docker image good: docker build -t web . than, when I try to run that image it’s failling: docker run -p 8080:8080 web Here is error report: com.mysql.cj.jdbc.exceptions.CommunicationsException: ..

Read more