I have a ENVIRONMENT Variable , which resolves the current stage inside the container in kubernetes. when i refer the variable inside code it always prints "dev" even when the actual value refers to "stage". inside container . my helm variables : profiles: – node owner: group: gcp-admin # change to your own group notify: ..
i start learning docker and i make my fist docker compose file wich i connect flask app container with mysql database container ,i build my compose file without any problem but when i try to access to my app ,it gives me this erros : AttributeError: ‘NoneType’ object has no attribute ‘close’ so it seems ..
I have a raspberry pi device which is using docker containers from private Azure container registry. The issue is where do I save the registry credentials on my device as that is a security risk. Any best practices on how to use the credentials securely. Or is there any other way to do it? Source: ..
I am currently containerizing spring application which has bunch of bash scripts which are accessed by different external systems. External system executes this script which run some java processes inside of the application. I am not figure out what should be the best way to deal with this scenario. Source: Docker..
I am trying to run the below script on my linux container. The problem is if I specify the password in the connection string, it the container keeps waiting for the password to be entered manually. I have modified it to export PGPASSWORD; Now, I keep getting the following message: psql: error: FATAL: password authentication ..
I have 2 solutions 1 for the web and 1 for API. I am trying to create a CICD pipeline in azre devOps. I have a docker image created for both solutions and placed in the azure container registry in the CI. Now, what should I do to pull and push the image to the ..
I am currently building an angular application that will be made into a docker image. After making this image, it should be usable for several people. The problem is that I am unable to pass variables from docker-compose to the angular application. version: "3.6" services: dashboard: image: imagename build: context: . ports: ["4200:8080"] volumes: ["./dev/config.json:/usr/share/nginx/html/dashboard/assets/config/conf.json"] ..
I am sorry for the newbie question, but I have been figuring out this error, I have an Express app and I am trying to run it as a docker container. I’ve used this Dockerfile: FROM node:14.17.0-alpine COPY /src /nodejs WORKDIR /nodejs ADD package*.json ./ RUN npm install CMD [ "node", "app.js" ] and this ..
Anyone had success adding MySQL to a Windows docker image? I tried two different ways of deploying MySQL to my image. I tried using the msi from MySQL in non-interactive mode. Does not work at all in a container. While Installing Mysql.msi through powershell getting below error I tried extracting the zip to set things ..
This might be a trivial question to some but I’m not really into devops so I’m currently not very familiar with this. Anyways, I’m currently tasked to do research on deployment and we need to know if there are ways to deploy dockerized apps without using cloud-based tools. Is this possible? If so can you ..