Category "docker"

How to download private repo from Dockerfile with bitbucket and golang project

I want download a private repository from bitbucket, but get some error fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled h

How to enable WebGL in Headless Chrome >= 96 within selenium-docker project to run Chrome inside a docker container without XVFB

I'm using selenium-docker project to run chrome inside a docker container, without XVFB (START_XVFB=false). I want to use webgl support. With chrome v95 and low

Configure IoTEdge module to receive messages port 53000

I'm loosely following along this article to develop and debug modules for IoTEdge https://docs.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-m

cloud build pass secret env to dockerfile

I am using google cloud build to build a docker image and deploy in cloud run. The module has dependencies on Github that are private. In the cloudbuild.yaml fi

Unable to connect to the Postgres database in Docker Compose

I am building a Node JS Web application. I am using Postgres SQL and Sequelize for the database. I have the docker-compose.yaml with the following content.

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