docker Questions

14

I have installed Elastic with Docker: docker run -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ docker.elastic.co/elasticsearch/elasticsearch:5.6.2 But curl localhos...
Conformal asked 8/10, 2017 at 5:56

1

I would like to start using devcontainers (Visual Studio Code - Remote Containers) on some internal projects. These projects all need access to internal package repositories (npm, maven, nuget, doc...
Diesel asked 27/10, 2021 at 12:8

2

Solved

I have this simple docker file: FROM ubuntu:eoan ENV DEBIAN_FRONTEND=noninteractive RUN apt update && apt install -y \ chromium-browser \ chromium-chromedriver When I try to buil...
Scrapbook asked 22/11, 2019 at 15:38

2

I am trying to create a Dockerfile based action that adds a program to the $PATH so that it can be used by later actions. My action runs code like this: mkdir -p $GITHUB_WORKSPACE/bin echo "echo H...
Formerly asked 15/11, 2019 at 20:41

9

Solved

I am new to Ubuntu and new to Docker. I am running a command that was given to me in an explanation of how to start the project. I want to start my Docker containers and they fail with an error. So...
Acropolis asked 21/6, 2022 at 4:22

4

Solved

When I launch a container using docker run the command prompt shows a lot of useful information that's invaluable while debugging. Is there a mechanism is ECS that allows me to capture this inform...
Adowa asked 18/1, 2017 at 11:46

8

Solved

I installed docker with the instructions here, downloading from docker-hub https://docs.docker.com/docker-for-mac/install/ But when I run docker-compose I get this error pyenv: docker-compose: ...
Prophylactic asked 2/4, 2020 at 13:33

1

Is there docker image for running in place of an Azure Event Hub in a Test or CI environment? I want to be able to stand up a full stack with mock event hubs running as docker containers, how are ...
Fuselage asked 3/12, 2019 at 0:13

6

Solved

When I run an AWS Lambda container (Docker) image, for example: docker run public.ecr.aws/lambda/java bash I get the following error: entrypoint requires the handler name to be the first argument ...
Behling asked 2/12, 2020 at 11:25

2

Solved

I am using headless chrome based on alpine:3.7 image under docker. However, when I take a screenshot using Chrome DevTools Protocol, I found alpine cannot show languages other than English like the...
Empanel asked 2/3, 2018 at 10:50

5

Solved

Normally I use this trick to make X work inside docker: docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/Videos:/videos -e DISPLAY=unix$DISPLAY --name knl kdenlive I tried doing the...
Ceballos asked 18/3, 2020 at 3:50

4

Solved

I am trying to install Redis on the golang:1.10.1-alpine3.7 image. I tried RUN apk add --no-cache redis, but when I tried to run the redis-cli command, I get an exit status 127, which means the giv...
Pelagian asked 28/4, 2018 at 5:1

2

Solved

We use to have PM2 in production for nodejs applications Now comes docker which ideally expects us to have one process per container(although it got changed to one concern per container now) and t...
Dona asked 2/2, 2019 at 6:17

4

When I run docker-compose down without -v or --volumes, why my data is lost? Does Docker deletes my volume? When I inspect with docker volume inspect pgdata, it shows up always the current timestam...
Spirometer asked 19/1, 2021 at 21:42

6

Solved

#25 3.990 × python setup.py egg_info did not run successfully. #25 3.990 │ exit code: 1 #25 3.990 ╰─> [1 lines of output] #25 3.990 error in anyjson setup command: use_2to3 is invalid. #25 3.990...
Elspeth asked 28/5, 2022 at 9:29

5

Solved

I am trying to build a Docker image for elasticsearch-curator, Here is the dockerfile: FROM alpine:3.7 RUN adduser -S curator RUN apk add --update \ python \ python-dev \ py-pip \ build-ba...
Handley asked 16/1, 2018 at 9:10

4

Solved

I am using Docker desktop (Beta) on ubuntu 22, after the installation everything seemed fine. Now I am trying to use Docker Desktop but it shows no container. However I can run a container on the c...
Ponce asked 19/4, 2022 at 14:18

3

Solved

I have a Laravel environment running on Docker via Sail on Mac OS X Big Sur. I added a phpmyadmin to my docker-compose.yml file and it's all working, but when I try to import my data to the databas...
Kenwood asked 1/6, 2022 at 18:4

17

I'm trying to build my project locally using gitlab-runner on Linux. docker-build: stage: build image: docker:latest script: - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTR...
Wilma asked 6/4, 2017 at 7:27

3

My Spring Boot project contains the Spring Boot Maven Plugin which I use for building a Docker image by running mvn spring-boot:build-image. <plugin> <groupId>org.springframework.boot&...
Killifish asked 8/9, 2020 at 7:40

8

Solved

I am trying to start an NGINX server within a docker container configured through docker-compose. The catch is, however, that I would like to substitute an environment variable inside of the http s...
Chalkstone asked 18/6, 2019 at 12:50

7

Solved

When I try to do a Docker Build using Docker as usual, I get the error message in the image and cannot Build. What should I do in this case? By the way, Docker's version is 23.0.1. When I uninst...
Griffen asked 15/3, 2023 at 0:28

2

I wonder if is possible to set a LABEL during building of a container with a based that is based on a command run on the container. Example, wanting to expose python=2.7.14 when the number would b...
Hailey asked 19/4, 2018 at 16:48

3

Solved

EDIT 2: After a long time, solved! See answer below. EDIT: I am sorry to say that the the problems went away "on their own" between yesterday and today, without me having done anything. Great non-...
Pettway asked 19/12, 2017 at 15:30

12

I'm trying to run a docker container via Airflow but getting Permission Denied errors. I have seen a few related posts and some people seem to have solved it via sudo chmod 777 /var/run/docker.sock...
Jost asked 21/6, 2020 at 14:6

© 2022 - 2024 — McMap. All rights reserved.