I am trying to route the traffic to my domain using docker-compose and nginx reverse proxy. But when I run the docker-compose, jenkins doesn’t start on my domain but on localhost:80. I am confused why is it not running on the domain that I provided. Any help would be appreciated Docker-compose.yaml: version: ‘3.3’ services: jenkins: ..

Read more

my python backend server returning "Error: socket hang up" when I run it on docker container: Error: socket hang up when I run it on my machine it’s works fine and responding: server response Dockerfile: FROM python WORKDIR /src COPY . . RUN pip install -r requirements.txt ENV PYTHONPATH=. CMD ["python", "app/main.py"] #CMD ["python","-i", "app/main.py"] ..

Read more

I’m trying to set up a volume based on the following ebook. According to the instructions, after running the below command, I should see the contents of my current directory inside the container’s data folder. docker run –rm -it -v`pwd`:/data datasciencetoolbox/dsatcl2e However, running ls -al shows no data folder or whatsoever in the container. I’m ..

Read more

I’m having difficulties accessing my nodeport service out of a k8s cluster. I am running on a windows 10 Pc. when i describe the service, here is what gets returned. Name: posts-srv Namespace: default Labels: <none> Annotations: <none> Selector: app=posts Type: NodePort IP: 10.104.12.131 Port: posts 4000/TCP TargetPort: 4000/TCP NodePort: posts 30462/TCP Endpoints: 10.1.0.25:4000 Session ..

Read more

I recieving error nginx: [emerg] host not found in upstream "varnish" in /etc/nginx/conf.d/default.conf:53 error in varnish log Backend host ‘"web"’ could not be resolved to an IP address: Temporary failure in name resolution (Sorry if that error message is gibberish.) (‘/etc/varnish/default.vcl’ Line 9 Pos 13) .host = "web"; it seems to have a dependency loop, ..

Read more