Category "docker"

Run each test in a new container

I have google test based test suite. Since the tests manipulate the filesystem and do other things that I don't want to be left behind in case of a test crash,

How to use a script of a Docker container from CI pipeline

Newbie in Docker & Docker containers over here. I'm trying to realize how can I run a script which is in the image from my bitbucket-pipeline process. Som

python: can't open file 'manage.py': [Errno 2] No such file or directory when compose docker

I run two different Apps in containers. Django App Flask App Django ran just well. I configured my Flask App as follow: This Is a docker-compose.yml version: '3

How can I run docker image in Azure app service with privileged option?

I'm trying to deploy docker image in Azure web app with privileged option. But I don't know how to customize docker run command in Azure web apps.

--pid=host To Set through DockerFile

I am trying to use the jmap to collect the heapdump. And the application is containerized and lauched on a EC2 Instance. To generate the heapdump the PID got as

--pid=host To Set through DockerFile

I am trying to use the jmap to collect the heapdump. And the application is containerized and lauched on a EC2 Instance. To generate the heapdump the PID got as

spring boot cloud eurka windows 10 eurkea returns host.docker.internal for client host name after latest docker upgrade

Spring Boot Cloud Disovery Question, Problem with Eureka hostname after docker upgrade on windows 10. (Note: docker is not hosting spring services, just maria

How to make docker-compose work on M1 chip?

I'm new to m1 macbook and face an issue with running my docker-compose which looks like this: version: "3.7" services: search: platform: linux/x86_64

How to start docker build at a certain stage in a multi-stage build?

Our application take a very long time to compile. Any change to the Dockerfile triggers a full-recomplile (which takes a very long time) The Dockerfile is a m

How to solve the error in package.json when creating an image?

In the step 4/6 is showing up an error when I try to create this image in Docker: FROM node:latest RUN mkdir -p /app/src WORKDIR /app/src COPY package.json .

docker chainlink container not connecting to postgres database

I want to run chainlink node on my local ubuntu machine. I used the following commands to install postgresql: sudo apt install postgresql adjusting firewall se

Need some clarity on shell-script for Docker setup on Phoeinx project

I found below shell-script(entrypoint.sh) from some GitHub Phoenix repo and I saw the same code in multiple Phoenix projects #!/bin/bash # Wait until postgres

How to access kind control plane port from another docker container?

I'm creating a kind cluster with kind create cluster --name kind and I want to access it from another docker container but when I try to apply a Kubernetes file

Docker Volumes in ECS -- how to connect nginx with php-fpm using unix socket

I tried to make the construction like figure1. figure1 In the local environment, I can access http://127.0.0.1 after running docker-compose up -d --build. And I

error: failed to solve: failed to fetch oauth token: Post "https://auth.docker.io/token": dial tcp: i/o timeout

I'm trying to build a docker image for my java file on my M1 max MacBook, my dockerfile: FROM openjdk:8-alpine COPY . /src/java WORKDIR /src/java RUN ["javac","

node canvas not installing on docker

can anyone help me to figure out this error? so I'm doing node version upgrade and dockerization tasks. we used node js 8.15.1 before now we want to update it t

AWS Lightsail control plugin (lightsailctl) not showing as installed

I'm trying to follow the Amazon tutorial on how to serve a flask app with Amazon Lightsail containers but I'm getting stuck whenever I try to push the container

How to achieve flow like this

I'd like to get flow like this one on the picture. Is there any way to intercept all HTTP request within a docker container, modify their headers and then send

How to proxypass Apache to a dockerized Flask/Gunicorn app

We have a server running apache2 that is hosting a number of websites and applications. We have a dockerized Flask application (served with Gunicorn) that we wo

Can I avoid restarting services on docker-compose up when the service version changes but not the underlying hash?

Is there a way to avoid restarting a service on a docker-compose up when the image version declared in the service definition has changed but the underlying has