Author : gaurav agnihotri

I am creating build using Dockerfile and then deploying that build/image via jenkins job but container status is "CrashLoopBackOff" and when I am checking the logs, below error occurs.. Error:- nginx: invalid option: "off" /etc/nginx/entrypoint.sh: 5: /etc/nginx/entrypoint.sh: : Permission denied Note:- Full permission given to entrypoint.sh. (check the dockerfile) Dockerfile:- FROM node:12.18.4-alpine AS BUILD_IMAGE WORKDIR ..

Read more

Getting error on Kubernetes container, No module named ‘requests’ even though I installed it using pip and also test multiple Docker images. Docker file:- FROM jfloff/alpine-python:2.7 MAINTAINER “Gaurav Agnihotri” #choosing /usr/src/app as working directory WORKDIR /usr/src/app # Mentioned python module name to run application COPY requirements.txt ./ RUN pip install –no-cache-dir -r requirements.txt RUN pip ..

Read more