Category "docker"

Docker over CentOS 8 Fails to start after prev container with systemd ran

Trying to test docker containers over server with CentOS 8.5 Server. The container has CentOS 7.9 within it. Entrypoint for it is /usr/sbin/init. First launch:

How to connect to postgres on another server where postgres is on docker?

I can connect to postgres in that way. On my local machine i run: ssh name@ip -p 22 input --> password and then sudo docker-compose exec postgres bash afte

What exactly does docker swarms dispatcher-heartbeat do?

I am managing a couple of stacks on a couple of nodes running in docker swarm. Unfortunately it seems a worker node lost connection to the single manager I curr

Extending a docker image to run a diff command

I have a docker file as below. FROM registry.access.redhat.com/ubi8/ubi ENV JAVA_HOME /usr/lib/jvm/zulu11 RUN \ set -xeu && \ yum -y -q install

OCI runtime create failed: container_linux.go:380

I am trying to start a container from the given image below but I am getting the following error: ERROR: for code_challenge_api Cannot start service api: OCI

Docker Openvpn network forward doesn't work

I would like to connect from a php docker, through a OpenVPN docker to a OpenVPN client. Network structure I have added a Docker network (192.168.200.0/24) The

Mongodb backup using docker-compose

I'm very new to Docker and I'm confused about how to backup the mongodb database. I'm using 2 containers, both connected through a network. the express app cont

Mapping a Subdomain to a NodeJS web server running in a docker container with a specific port?

I have a server running Pterodactyl panel which uses Docker. I'm using a Nodemon js egg to run a Node JS webserver I developed. The server uses 5500 as the port

unable to change timezone

I'm trying to change the timezone of my container into "Europe/paris", I saw I had to set TZ environment variable so I did this, but it doesn't change the timez

Creating container registry from Azure Bicep and deploying image to this registry in the same build pipeline in Azure Devops

I'm running into an issue in Azure Devops. I have two questions regarding the issue. The issue is that I have an Azure Bicep template that deploys a bunch of re

Why can't I access my web app from a remote container?

I have looked through past answers since this is a common question but no solution seems to work for me. I have a Springboot Java app and a postgresql database,

how to fix 404 not found error nginx on docker?

I'm trying to make docker file run in to react app.react app all ready successfully deploy but page reload get an error 404 nginx error. this is my docker file

"organization has enabled or enforced SAML SSO. To access remote: this repository" Error on Docker Build

fatal: could not read Username for 'https://github.com': terminal prompts disabled Confirm the import path was entered correctly. If this is a private repositor

Docker build context puzzle

My project structure: projectRoot/ - service/ - data.json - Dockerfile In that Dockerfile : FROM node:16.14-alpine3.14 ENV THE_DATA=/tmp/data.js

mkdir(): Permission denied error in php docker nginx

Im getting mkdir(): Permission denied error in dockerised php. I need to create folder dynamically inside /app , tried with mkdir('/app/images/' 0777, true) cho

Connection refused (Connection refused) between containers | ifnazar / docker-sybase

I have two containers in my docker-compose and my node application does not connect to Sybase database but my local machine connects version: '3' services: a

AWS SAM-lambda: Cannot import from parent directory containing a fastapi app

I'm trying to deploy a fastapi application to AWS lambda using the SAM client. The issue is that I cannot get Lambda to recognize the parent folder. I have a fa

Pygoat docker is broken

Hi I am wondering why can't I connect to the pygoat site while it is running on docker this is the repo link https://github.com/JustinDPerkins/pygoat-tm I also

Trouble running the 'sudo docker-compose up' command

Image of the error I am trying to run the 'sudo docker-compose up' command to start some services. Recently, I created some new services, but I keep getting the

Spring boot image container running in minikube not giving proper response

I am using a minikube from powershell (minikube start) I can do all the things successfully like creating the image of my spring boot rest API. Creating the con