Category "docker"

How to install apt-get and debian packages on busybox

I've recently download the busybox image from dockerhub busybox:glibc - Debian, and notice that apt-get is not available on this distribution. I tried to instal

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address a

How can I run a docker container on localhost over the default IP?

I'm following the following tutorial on how to start a basic nginx server in a docker container. However, the example's nginx docker container runs on localhost

Volume odoo. Permission issue

Ubuntu 18.04. I am using odoo docker files docker-compose: version: '3.7' services: web: build: ./build # image: odoo:13.0 # user: root depen

Postgresql/Docker - password authentication failed for user "user"

I have set database with postgresql and docker, now when I want to access to my database I have this connection error saying password authentication failed for

Karma Chrome Headless not working on Jenkins

When I run the below setup with Docker locally on my mac everything works fine. But same setup does not work on Jenkins running on Ubuntu 16.04 ChromiumHeadle

How to automate installation of missing GPG keys on Linux

I've been working with Linux containers for several years. I am surprised that I wasn't able to find a thread about this question. Scenario: I've just added a n

docker - how do you disable auto-restart on a container?

I can enable auto-restart with --restart=always, but after I stop the container, how do I turn off that attribute? I normally run a webserver and typically map

Could not create account on Rancher?

I'm having problems with creating an account on Rancher. When creating a new account I get the following error: Internal error occurred: failed calling webhook

WSL2 (docker) ports are not openend on host

When I run an image through docker in WSL2, the ports are not published on the host machine. Why is this? What can I do to make this work?

Using Docker to launch web app, can't connect to Postgresql DB?

I received the following error when trying to write session data using Tomcat's PersistentManager to a Postgres DB running on my local machine: SEVERE: A SQL

docker-compose with multiple postgres databases from sql dumps

I know this may seem like a duplicate of docker-compose with multiple databases, but I still can't manage to get it working after going through the answers. He

'clear' doesn't clean the screen when I run docker on Windows Command Prompt

I am using docker on windows with an Ubuntu Image. Everything is just fine on docker itself, but when I run one of those images, whenever I try to clean the scr

"##[error]Error response from daemon: failed to reach build target <stage> in Dockerfile" only during CI pipeline

I'm getting this error in my PR pipeline and I'm not sure what the cause and solution is. The Docker task is pretty well templated and the stage does exist in m

docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)" returning empty

I want to be able to read the contents of the file ~/.ssh/id_rsa and pass the same to my build stage of the image. When I use the command docker build --build-a

Docker error: standard_init_linux.go:228: exec user process caused: exec format error

I was able to build a multiarch image successfully from an M1 Macbook which is arm64. Here's my docker file and trying to run from a raspberrypi aarch64/arm64 a

`docker-credential-gcloud` not in system PATH

After the latest updates to gcloud and docker I'm unable to access images on my google container repository. Locally when I run: gcloud auth configure-docker a

Failed to connect to docker hosted MSSQL

I have a problem followng [this tutorial](https://hub.docker.com/r/microsoft/mssql-server-linux/ ) where I try to connect to my docker hosted MSSQL via sqlcmd.

Fluentd container not running on Openshift

I am trying to run the fluentd image on Openshift. I am using the official image of Fluentd from Docker Hub for the same. However, i get the following error -

Docker RabbitMQ in detached mode logging

I am running RabbitMQ in the docker container in detached mode. I am doing this so I can set some values using rabbitmqctl. I added tail -f /dev/null so the c