#### Category : docker-container

We have a requirement where the java version to be executed on pod terminal to show the application java version not the container version. We are using base docker image which has jdk 1.8 and copies the jdk11 library within it for the application to use jdk 11. When I execute java -version in pod ..

I’m trying to run a Spring Boot REST application on Docker. The application runs fine and the APIs are working as expected, but I don’t see my application logs showing up on the container logs. I haven’t configured any log4j properties to append logs to a file. I don’t see any file getting generated with ..

So, I have to dockerize a node.js app. Here is the app: https://github.com/CherryCircle/MySQLSlowLogAnalyzer In order to function I have to run node slowLogAnalyzer.js And then node slowLogAnalyzer.js mysql-slowquery.log Where mysql-slowquery.log is the name of the file which I have to pass. The file is located in the same directory. One more problem is that the ..

I have a Web Application working fine in Docker Container, using the Development Environment configuration (ASPNETCORE_ENVIRONMENT=Development), however the problems started when I decided to add a Test Environment Configuration. When I run Docker-Compose file with the ASPNETCORE_ENVIRONMENT=Test, the following error message is logged and the application doesn’t start in Docker. Why the Environment Configuration would ..

I have a dockerfile FROM python:3 WORKDIR /app ADD ./venv ./venv ADD ./data/file1.csv.gz ./data/file1.csv.gz ADD ./data/file2.csv.gz ./data/file2.csv.gz ADD ./requirements.txt ./venv/requirements.txt WORKDIR /app/venv RUN pip install –no-cache-dir -r requirements.txt CMD ["python", "./src/script.py", "/app/data/file1.csv.gz", "/app/data/file2.csv.gz"] After building an image from it and running it, the image runs the app as it should, but then the container shuts ..

I have two containers (both .net-core), a Web Application and a Web API, the Web Application can be accessed from the host machine using http://localhost:51217, however I can’t access the Web API using http://localhost:51218, I got the connection refused, in order to access the Web API, I had to change the Kerstel URL configuration from ..

I have developed a microservice using Spring Boot and deployed it as a docker container and when doing performance testing the service I see that the maximum number of threads that created to the service is 20 at any point in time even though the number of calls made is much higher. I have even ..

$docker run -d recipes-pizza-app 4c3c9f8c7ae5d4233bc6bfddacd34c1e9bb35952e901f4f495b13c1f542bcfc4$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES \$ These are commands I am running and the responses from cmd Source: Docker..