Category "docker"

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

Problem with building Docker image from Dockerfile

my task is to create a docker container from my own Dockerfile using ubuntu:18.10 and run pdflatex in this container. My system is MacOs, my Dockerfile looks li

Docker-compose set user and group on mounted volume

I'm trying to mount a volume in docker-compose to apache image. The problem is, that apache in my docker is run under www-data:www-data but the mounted director

Docker Build COPY Pipfile Pipfile.lock Cache Key Error

I get this error when I try to build my Dockerfile. How can I fix this? failed to compute cache key: "/Pipfile.lock" not found: not found # Pull base image FROM

docker tail -n not showing correct no. of lines

If I run the following docker tail command: docker logs --tail all 8f8df1de5f9c |& wc -l 645 It reports 645 lines If I then run: docker logs --tail 645

How use `echo` in a command in docker-compose.yml to handle a colon (":") sign?

Here is my docker-compose.yml, elasticsearch: ports: - 9200:9200/tcp image: elasticsearch:2.4 volumes: - /data/elasticsearch/usr/share/elasticsearch/da

How to use Application Load Balancer for an ECS Service with multiple port mappings?

I want to be able to use an ALB (ELBv2) to route traffic to multiple port mappings that are exposed by a task of a given service. Example -- Service A is compos