Category "docker"

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

k3d tries to pull Docker image instead of using the local one

Just study the core of K8S on local machine (Linux Mint 20.2). Created one node cluster locally with: k3d cluster create mycluster And now I want to run sprin

Unable to pull docker image from local registry for Kubernetes deployment

I've a K8s cluster on Linode and another VM for operating. I've installed Docker & K8s on operating VM to build images and do deployment on cluster. Note: I

Running init script on oracle test container with system privileges

I am struggling with org.testcontainers:oracle-xe:1.14.3. I am trying to run a test intended to verify schema creation and migration, however I'm getting stuck

How to do "docker load" for multiple tar files

I have list of .tar docker image files , I have tried loading docker images using below commands docker load -i *.tar docker load -i alldockerimages.tar where