Category "docker"

How to expose Docker TCP socket on WSL2? (WSL-installed Docker, not Docker Desktop)

I want to connect to Docker TCP socket running in WSL2 via PyCharm. I can't seem to expose the socket, I think possibly because there's limited control of docke

How to add Infrastructure Agent to Heroku applications

I am attempting to have the New Relic Infrastructure Agent monitor my heroku applications. The documentation says to run the following: docker run \ -d \ --name

Build and push a docker image with build arguments from DevOps to ACR

I'm building a docker image in an Azure DevOps pipeline, then I want to push it to the Azure Container registry. The registry is already created and I've config

Docker - library initialization failed - unable to allocate file descriptor table - out of memory

I have been try to run Zookeeper and Kafka on Docker container. I got a lot of errors [error occurred during error reporting , id 0xb] and [Too many errors, abo

Access Azure Instance Metadata Service (169.254.169.254) from Windows docker container

Azure VM can query the Instance Metadata Service located at 169.254.159.254 for data. However this does not work from within a Windows container running on the

Faster Dockerfile build using ramdisk

We run a build process that compiles multiple artifacts from a large codebase. On a decent spec i7 with SSDs this takes ~20 minutes, however when I shift to usi

TypeError: 'NoneType' object is not iterable in ansible output

I have set up an ansible tower using the following docker image ybalt/ansible-tower:latest After setting up I have upgraded the applications inside the conta

Gitlab-runner + Docker-compose deploying scheme: how to properly restart containers after reboot of host server

Suppose I have repository on Gitlab and following deploying scheme: Setup docker and gitlab-runner with docker executor on host server. In .gitlab-ci.yml setup

GitLab Runner suddenly fails to run jobs using Docker Machine and AWS Autoscaling

I use GitLab Runner for running CI jobs on AWS EC2 spot instances, using its autoscaling feature with Docker Machine. All of a sudden, today GitLab CI failed to

Issue in running docker on WSL2 Ubuntu 18 LTS

I have ubunto 18 LTS wsl2 on my windows 10 machine. have installed the docker - please find below screenshot Now after starting the Docker service, I tried che

WARNING: Running pip as the 'root' user

I am making simple image of my python Django app in Docker. But at the end of the building container it throws next warning (I am building it on Ubuntu 20.04):

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