Category "docker"

Issue with docker and postgres, cannot run containers

Hi guys I have issue with docker-compose and postgres image. I am trying to use docker-compose(I am new to docker) for my API and postgres database. Her is how

GITLAB - Fatal: Could not read from remote repository

First of all, thank you so much for your attention on this important issue that I'm dealing right now... See the image below then keep reading the text: So, I b

Dockerfile RUN command multiple inputs

I have a Dockerfile using which I am trying to build an image. I wish to have multiple inputs fetched from the user from STDIN, when the build runs. To get star

unable to run docker within docker

I am using gitlab and need to build a docker image within the container image. Every-time I am trying to do that I am getting error : Cannot connect to the Dock

Echo SSH key into the container messes docker build output

I need to use SSH keys inside a container during build stage and I do that with RUN echo "${SSH_KEY}" > /root/.ssh/id_rsa Where SSH_KEY is build arg. The pr

run both master & slaves as docker containers "Jobs"

I have Jenkins Master runnig on docker conatiner and Every time I need A slave to run my jobs a docker container spins up as a Jenkins slave and my script is e

.Net standard project docker COPY file not found visual studio

I have a .Net standard project called PrivateSales with a Dockerfile that looks like this #See https://aka.ms/containerfastmode to understand how Visual Stu

OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '0.0.0.0' ([Errno 111] Connection refused)")

I am attempting to connect a FastAPI with sqlAlchemy to a mysql db container. I am using the alias. Unfortunately it wont connect and I don't know why. Using My

Use toml file format instead of yaml or json for docker compose... is it possible?

I just wondering about toml support for docker-compose. I've only found following Reddit implementation of toml instead yaml. https://www.reddit.com/r/docker/co

Docker Registry Authentication/Authorization - signed by untrusted key with ID

Honestly, it this point im begging for help So im trying to add protection for my docker registry ( i do not wanna use htpassword ) which is run like this: dock

Docker Registry Authentication/Authorization - signed by untrusted key with ID

Honestly, it this point im begging for help So im trying to add protection for my docker registry ( i do not wanna use htpassword ) which is run like this: dock

Nginx Reverse Proxy Failure in Docker Container

I am new to Docker and nginx and am in the process of setting up a reverse proxy with nginx for my react web application. I am using Docker to contain the appli

Docker default-ulimit nofile setting

/etc/docker/daemon.json has the following contents { "live-restore": true, "default-ulimits": { "memlock": { "Hard": -1, "Name": "memlock",

docker copy and chown in bash script

I'm building a network with docker compose and some bash scripts and i'm having problems during the process. Basically i have a some containers and volumes. In

How to review stdout of a successful "docker build"?

This fine question addresses how to perform a docker build with the stdout from RUN commands visible. On the other hand, I have not been able to find a way to r

Running website via Docker on macOS loading images but not on server

I run a website via Docker as I develop on macOS and macOS is set up with a case-insensitive filesystem by default. When I run the site, I was rendering an imag

How to run Docker on an external USB hard-drive in Ubuntu 21.10?

I am trying to run the following command in Ubuntu 21.10 with Docker so that it will run on my external USB hard-drive: sudo docker run -v /media/alexanderjsing

DockerHub Build fails

I have a Dockerfile that looks like that: FROM ubuntu:latest RUN apt-get update && \ apt-get -y install sudo RUN apt-get update; apt-get install

How to use Dapr to communicate in Docker Compose

I'm trying to learn Dapr and Docker Compose at the same time, though I am running into some problems. I have a very basic docker-compose.yaml, shown below versi

Nexcloud + Reverse proxy ERR_TOO_MANY_REDIRECTS when trying to access my subdomain

In order to host multiple websites I'am trying to reproduce the following schema diagram The redirection works correctly with the following sites and without ha