docker Questions

4

I need to start kubernetes pods in a sequence like pod2 should start only when pod1 is up and running. we can do this in docker-compose.yml using depends_on
Madrepore asked 17/5, 2018 at 6:56

4

Solved

I was following the official docker labs hands-on tutorial for multi-container apps tutorials. While running the below command on MacBook Pro M1 terminal docker run -d ` --network todo-app --netwo...
Vacuous asked 25/4, 2021 at 16:16

3

Solved

Is is possible to chain the COPY commands together like what can be done with the RUN command? Example of chaining run command: RUN echo "root:user_2017" | chpasswd && \ groupadd -g 1000...
Butanol asked 11/8, 2017 at 20:46

3

Solved

We have got a node.js/typescript project and now I am supposed to provide data to our sonarqube analysis. We are using a docker container to run our tests in and after the tests are finished, we a...
Gailgaile asked 11/1, 2019 at 15:42

4

Solved

running Ubuntu 16.04.5 LTS 4.4.0-108-generic on a virtual private server My aim is to deploy a meteor application with mup.js, but it fails because of dockerd not being launched. The problem is, i...
Angola asked 2/10, 2018 at 23:27

14

I have a docker container running PHP and Apache. The host is in an AWS instance which has the docker instance running. I am unable to send an email from the docker terminal. Is there any way to se...
Boylston asked 6/10, 2014 at 11:12

5

Solved

Minimal Example Setting up a new Angular 17 project (Node 18) as follows: $ npm install -g @angular/cli@17 $ ng update @angular/core@17 @angular/cli@17 $ npm update $ ng new example stylesheets? $...
Roots asked 20/1 at 7:30

5

Solved

I want to add curl to a Docker image, and I'm using the following commands to in a Dockerfile to do so: RUN apt-get update RUN apt-get install curl ca-certificates -y My issue is that the initia...
Sherard asked 14/5, 2019 at 23:1

2

What is the programming language used in docker file and docker-compose files. We use dockerfile to build docker images. So what is the language used to develop a dockerfile?
Deem asked 16/11, 2019 at 15:4

3

Solved

When trying to access the ollama container from another (node) service in my docker compose setup, I get the following error: ResponseError: model 'llama3' not found, try pulling it first I want ...
Cluff asked 18/5 at 16:17

3

I occasionally need to do some manual promotion for a docker image. The flow I use is: $ docker pull registry.digitalocean.com/foo/bar:dev-123 $ docker tag registry.digitalocean.com/foo/bar:dev-123...
Welltodo asked 21/8, 2020 at 22:7

4

Solved

I'v installed docker by homebrew on Mac with m1 cpu. But it doesn't run. It tells me that I need to use intel cpu. But on Docker site I see that docker should run. How to fix that? Incompatible CPU...
Opec asked 8/4, 2021 at 18:43

4

Solved

I am trying to set up my app as a container. I run docker init in my terminal on my Mac, and I get docker:'init' is not a docker command. When I run docker --version, I get Docker version 20.10....
Alfons asked 26/8, 2023 at 17:32

10

Solved

I have the following Dockerfile: FROM ubuntu ENV NPM_CONFIG_LOGLEVEL warn ENV admin_user="PeerAdmin" network_name=$1 version=$2 hversion=hlfv1 fabrik_path=/fabric-tools project_dir=$(pwd...

4

I am currently having this issue: Command failed: /bin/sh -c ./.devcontainer/postCreateCommand.sh which is the "postCreateCommand": "./.devcontainer/postCreateCommand.sh", se...
Trichosis asked 26/1, 2021 at 21:51

7

Solved

Following is my dockerfile that works to run the H2 Database: I want to create a docker compose file for this. FROM klousiaj/oracle-java:7.79 MAINTAINER J.P. Klousia <klousiaj> ENV DOWNLOAD...
Coughlin asked 3/1, 2017 at 14:20

4

I have been trying to call docker from my Node.js application, and to do so I am using node-docker-api as described in the npm module documentation https://github.com/AgustinCB/docker-api. To test ...
Ferbam asked 17/4, 2018 at 1:0

5

Solved

I'm trying to use the latest docker compose version 3.8 but I keep getting "Version in ".\docker-compose.yml" is unsupported." error. I'm using the latest version of Docker engine, 19.03.8 and Doc...
Kowloon asked 21/4, 2020 at 13:37

3

I have written a dockerfile for creating selenium image with debian base image While I am installing JDK11,I am seeing these errors. RUN apt-get upgrade RUN apt-get update RUN apt-get -y ins...
Daughterly asked 19/4, 2020 at 14:13

4

I created a MSSQL docker container based on the official image provided by Microsoft (https://hub.docker.com/_/microsoft-mssql-server). I started a bash shell inside the running container and trie...
Obeng asked 17/4, 2020 at 12:39

3

Solved

When I have created a ASP.NET Web API application, I have checked to enable Docker for the project, not really knowing what that does. Now, I cannot start my application, becasue when I run it, I h...
Hypochromia asked 4/10, 2021 at 19:24

4

Solved

Im using centos 7.7 and docker 19.03. I cannot pull images and getting : Error response from daemon: Get https://registry-1.docker.io.v2./: dial tcp lookup : server misbehaving I did what all g...
Perishable asked 13/11, 2019 at 16:1

2

Solved

Since last week there is a new release of molecule 5.0.0. My CI/CD pipeline wants to use that latest version, but I've trouble with it. installation Earlier, it was possible to run pip install mo...
Pathan asked 29/4, 2023 at 11:14

3

Solved

I have a dockerfile to create a container with miniconda and install a few packages (trimmed here): FROM continuumio/miniconda3:4.11.0 # install the necessary packages RUN conda install -c conda-f...
Knifeedged asked 19/5, 2022 at 13:49

4

Solved

I have a swarm cluster with one manager and another normal node , when I create a swarm service I am creating with mount type ,mount source and mount target . It creates the volume with the same na...
Batts asked 24/11, 2016 at 18:11

© 2022 - 2024 — McMap. All rights reserved.