Category "docker"

Sharing data between docker containers without making data persistent

Let's say I have a docker-compose file with two containers: version: "3" services: app: image: someimage:fpm-alpine volumes: - myvolume:/var/www

Apache server runs with docker run but kubernetes pod fails with CrashLoopBackOff

My application uses apache2 web server. Due to restrictions in the kubernetes cluster, I do not have root previliges inside pod. So I have changed default port

How to get Puppeteer-Sharp working on an AWS Elastic Beanstalk running Docker (.NET Core 6)?

I'm looking for an up-to-date example of how to get PuppeteerSharp running on an AWS Elastic Beanstalk instance running Docker (.NET Core 6). There are quite a

Run script in container from docker compose?

Trying to install some small packages into a container via compose w/out resorting to having to use my own dockerfile, but whether I try mounting just the folde

Unable to start TeamCity Build agent on Docker

I'm trying to create a TeamCity build agent on docker. i pulled the official image and tried to start it with default configurations with below command docker r

Node-gyp fetches headers from internet – not allowed because of firewall rules

I am trying to setup a simple node app in docker. The app needs to install npm package ibm_db. In that installation of ibm_db, node-gyp wants to download header

Apache Beam run docker in pipeline

The apache beam pipeline (python) I'm currently working on contains a transformation which runs a docker container. While that works well during local testing w

Dockerize NextJS Application with Prisma

I have created a NextJS application, to connect to the database I use Prisma. When I start the application on my computer everything works. Unfortunately, I get

Curator disconnects from zookeeper when IPs change even when using DNS names in connection string

We are using the curator service discovery in docker and kubernetes environments. We setup the connection string using the DNS names of the containers/pods.

Docker-Compose Building back unable to prepare context: unable to evaluate symlinks in Dockerfile path

I have the following dir structure: . ├── docker-compose.yml ├── README.md └── services ├─

Environment variables not defined in SSH AuthorizedKeysCommand (Docker)

I'm trying to make the private key SSH connection with LDAP. /etc/ssh/sshd_config AuthorizedKeysCommand /etc/ldap_ssh_authorized_keys.sh AuthorizedKeysCommandUs

Docker Image built on Mac OSX won't run on AWS EC2 instance

Image built on Mac OSX with M1 processor, deployed to an EC2 instance. But when scripts are run it yields the error: standard_init_linux.go:219: exec user proce

How can I create container in azurite running from test container in java?

I am trying to test azure file upload using azurite docker image from test container below is code I am using for the same public class AzureContainer { pu

Django +docker-compose + Celery + redis - How to use Redis deployed in my own remote server?

I have a Django app deployed in Docker containers. I have 3 config environnements: dev, preprod and prod. dev is my local environnement (localhost) and preprod/

How can I configure 2 docker compose files such that they use an existing service if it's already been pulled?

I frequently swap between different apps which use Docker, some of which are microservices that need to both be operational so I can't simply kill all of my con

docker-compose --context no output

docker-compose --context remote (up|dows|ps|...) doesn't do anything. although docker --context remote ps works, connects to the remote and lists the containter

I have a Java Spring boot with Postgresql within docker-compose, org.postgresql.util.PSQLException: Connection to localhost:5432

Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is acce

Building a container image and re-using pulled layers

Suppose there is a container image published to a Docker registry, and I want to rebuild the image with modifications while re-using as many of the published la

dependencies reference nonexistent child node

I tried to dockerize my Wagtail Web Application and this error Occurred. I tried docker-compose build there was no errors. after that i tried docker-compose up

Hot Reloading Page in React 17.0.2 within a container doesn't work

If I run locally run start Everything works perfectly. After executing the command docker run -p 3000:3000 -v /app/node_modules -v ${pwd}:/app b88c46febae5 I ge