Category "docker"

How to correct docker in makefile which requires at least 1 argument for remove all containers command

The docker command "docker container rm $(docker ps -aq) -f" works fine from the command line. However, when I try to run it from a makefile using the followin

Docker build multiplatform asp.net core 5.0 app on armV7 with github action

I have a problem and I can't find a solution... I try to build docker image in a pipline with docker actions. My docker image build an ASP.NET core 5.0 app. All

docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect

I'm trying to run Docker in process isolation mode on Windows Server 2019 (Docker Desktop does not work here, my VPS does not support Hyper-V). I run this in Po

why doesn't chown work in Dockerfile? [closed]

My Dockerfile creates a directory, chown's it, and then lists the directory afterwards. The directory is still owned by root. Why is that?

M1 docker preview and keycloak 'image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)' Issue

I just downloaded Docker Preview v3.1 https://docs.docker.com/docker-for-mac/apple-m1/ and tried running keycloak. Anyone else running into this issue? docker r

Changing the image in Docker Compose based on the host OS

I am creating a PHP app, and using Docker + Docker Compose to run it. My problem is, I want users to be able to run my project on any OS with no hassle. Howeve

Running Windows container's command prompt in admin mode

I am running Windows Nanoserver in a container.The nanoserver contains only the command prompt and lacks powershell. I want to execute certain commands inside t

How do I run Prisma migrations in a Dockerized GraphQL + Postgres setup?

I'm new to using Prisma as well as Dockerizing my setup. I would like to specify my data model using Prisma, have Postgres as my database and use that in a Grap

Docker Nginx + PHP-FPM Error Fastcgi Header

I am creating a PHP(Phalcon) project, using docker compose. The image is tailored based on the webdevops project. In our production, staging, and my own machine

Access the port mapped by the docker container :curl: (56) Recv failure: Connection reset by peer

Use host and br to start two containers docker run -d --name="nginx_host" --net="host" nginx docker run -d --name nginx_br -p 8000:80 nginx View the container l

How to call image inspect properties in hosted in ACR

I have few images hosted in ACR, I want to inspect the image (Repository image) deployed in ACR. For example I have one "hello-world" image in "test123" ACR. I

Update max_map_count for ElasticSearch docker container Mac host

I'm using this container to start elasticsearch in docker. In accordance with the manual I have to update max_map_count to start the container sudo sysctl -

Macbook m1 node js docker image build failed

This is message: What's wrong? I should wait for the production docker? This is docker config: # build stage FROM node:lts-alpine as build-stage WORKDIR /app C

Confusion with node_modules being ignored by .dockerignore

Thought I'd just wanted to share this. So I am testing creation of a docker image/container with a nodejs app usiung Dockerfile. Everything went smoothly, unt

How to reduce my java/gradle docker image size?

I have a Docker file like the following: FROM openjdk:8 ADD . /usr/share/app-name-tmp WORKDIR /usr/share/app-name-tmp RUN ./gradlew build \ mv ./build/l

Executable not found in docker compose /bin/sh: 1: main: not found

I am trying to run my restful api in docker but having issue with my golang executable it is always not found. Here is my Dockerfile # Start from golang base im

How to connect to docker host from container on Windows 10 (Docker for Windows)

At which IP address can a docker container connect to its host on Docker for Windows (on Windows 10)? How do you find this IP address? Example: you have a serv

Superset with Docker cannot add connection to external mysql

I am newbie on using Ubuntu, I am trying to install apache-superset and successfully installed it by using Docker by directly sudo docker pull apache/superset,

Unable to launch the zalenium dashboard

currently I am working on Linux elgalu/selenium and dosel/zalenium images are successfully pulled but while running the images by using below command # Ru

Backup/Restore a dockerized PostgreSQL database

I'm trying to backup/restore a PostgreSQL database as is explained on the Docker website, but the data is not restored. The volumes used by the database image