skip to Main Content

docker-compose with springboot and redis

I'm trying to connect a simple springboot app with redis using docker compose. However, I keep getting the below error. java-service_1 | 2020-11-20 10:30:54.053 ERROR 1 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw…

VIEW QUESTION

How to specify the number of CPU a container will use? – CentOS

I am on working on Windows Server 2019 and trying to run a docker container of CentOS on it. I am running the following: PS C:Windowssystem32> docker run -dit --name=testing23 --cpu-shares=12 raycentos:1.0 6a3ffb86c1d9509a9d80f0de54fc6acf5731ca645ee74e6aabe41d7153b3af70 PS C:Windowssystem32> docker exec -it 6a3ffb86c1d9509a9d80f0de54fc6acf5731ca645ee74e6aabe41d7153b3af70 bash…

VIEW QUESTION
Back To Top
Search