Category "docker"

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

How to copy Docker images from one host to another without using a repository

How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public? I create my own image in VirtualBox,

Gitlab Runner Image with GCP credentials

I am trying to teach my Gitlab Runner image to get custom builder images from my private Docker Registry (GCR running in the Google Cloud). What did not work o

How can I change the hosts file in windows docker container

In our solution we want to connect our Edge module to the servicebus of a host on a different network. The dns server is not allowed (per design) to have the d

Can I run Docker in a Virtual Machine?

I tried to run Docker on a virtual machine. Host : MacBook VM : Parallels Windows 7 And error occurs: Is it possible?

Apache 403 Forbidden You don't have permission to access / on this server

I am new to Docker and Apache and am trying to execute a very simple program that would display a web page on my localhost. However, I keep getting a 403 Forbid