Category "docker"

How to allow DHCP server assign always the same IP address to a docker container

I have a QNAP (TS-451U) and would like to run a self-developed app on it. Since cross-compiling from my MacBook is not that easy and installing it neither, I de

What are the differences between apt clean/remove/purge etc. commands?

I am quite new to Linux and Apt package manager. I try to build my first docker image (write my first Dockerfile) based on other Dockerfiles written by co-worke

How to install LDAP in Docker php-fpm alpine

any idea how can i install the php Ldap extension in dockerfile FROM php:7.2-fpm-alpine i tried the following RUN docker-php-ext-configure ldap --prefix=/usr/

Running a python docker with miniconda3 and geopandas

I create a docker to run a python script with data inputs as arguments. Sounds straighforward, I proceed by (1) Create the library image Dockerfile_libraries: F

How to access docker containers on wsl 2

I am having Ubuntu 20.04 LTS running on wsl 2. I have installed docker according to this guide https://docs.docker.com/engine/install/ubuntu/. I have a stack wi

Failing to install psycopg2-binary on new docker container

I have encountered a problem while trying to run my django project on a new Docker container. It is my first time using Docker and I can't seem to find a good w

I'm stuck at pushing Docker images to GitHub Container Repository

I'm trying to push a Docker image to ghcr.io. But I'm stuck. I have created an action on GitHub, that logs into ghcr.io using this code: echo "${{ secrets.GITHU

Allow non-root user of container to execute binaries that need capabilities

I need to run a container as non-root user by default. However a specific process inside this container needs to execute a binary that needs cap_net_admin capab

I'm stuck at pushing Docker images to GitHub Container Repository

I'm trying to push a Docker image to ghcr.io. But I'm stuck. I have created an action on GitHub, that logs into ghcr.io using this code: echo "${{ secrets.GITHU

pm2 command not working from a docker image

I have a pm2 command in my docker file which should run inside container when the container starts: CMD ["pm2", "start", "ecosystem.local.json"] CMD ["pm2", "lo

Application Load Balancer Target Group Register/Deregister Infinite Loop

Setup Security Groups ALB (inbound rules) HTTPS:443 from 0.0.0.0/0 & ::/0 HTTP:80 from 0.0.0.0/0 & ::/0 Cluster (inbound rules) All traffic from ALB se

Eureka services giving Request execution error?

Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/} is giving when I am running in docker windows but It is registerin

docker bind mount not working in react app

I am using docker toolbox on windows home and having trouble figuring out how to get bind mount working in my frontend app. I want changes to be reflected upon

Docker : Unable to access the IBM MQ web management console

I followed the article - https://github.com/nuviosoftware/custom-ibm-mq and deployed the container using the below commands in my windows laptop using docker fo

How to Access Postgres Service from Child Docker Container in Gitlab-CI? How do I access IP address of postgres service or gitlab shared runner?

I have setup a gitlab-ci build with the architecture illustrated below. (source: gitlab.com) . The listener container is unable to communicate with the postgres

docker: Error response from daemon: OCI runtime create failed: invalid mount

I am trying to create an Anonymous Volume with docker but it throws this error: docker: Error response from daemon: OCI runtime create failed: invalid mount {

Error: import tensorflow.keras.backend as K could not be resolved Pylance(reportMissingImports)

I'm using tensorflow 1.15.0 in docker container and have issue in importing keras sub-modules. from tensorflow import keras import tensorflow.keras.backend as

How to install conan inside docker and use

I am trying to use Conan by installing it in a Docker and using that docker. For the same, I did like included these lines in Dockerfile RUN apt-get install -y

Share volume in docker swarm for many nodes

I'm facing a big challenge. Trying run my app on 2 VPS in docker swarm. Containers that use volumes should use shared volume between nodes. My solution is: Use

Cannot connect to mysql in Docker container from host

I'm running a Docker mysql container on my Mac laptop. Previously I was able to connect to it from the host OS with the mysql client. However, somehow it got de