docker Questions
5
Solved
I have a war file that uses the MySQL database in the backend.
I have deployed my war file in a docker container and I am able to ping this from my browser.
I want to connect my app with the MySQL ...
2
Solved
I am deploying some services using Docker Compose. I want to check that my containers are healthy using healthcheck (see Docker Compose documentation here).
Let's consider the following code. It wo...
Precedential asked 24/7, 2023 at 23:1
6
I am trying to docker exec a container that is built from scratch (say, a NATS container). Seems pretty straight-forward, but since it is built from scratch, I am unable to access /bin/bash, /bin/s...
Antakiya asked 16/2, 2019 at 7:23
5
Solved
We have a new terraform script that is pushing a docker image to an AWS Lambda. The script works well and correctly connects the fresh image to the Lambda. I can confirm this by checking the Image ...
Leveret asked 22/11, 2022 at 18:13
3
Lets say I have an EKS cluster, an EC2 instance and my local machine, I can pull images from my private ECR without any issues. But when I pull a generic image like nginx, it will come from Docker ...
Chasidychasing asked 11/3, 2021 at 17:33
3
Currently I'm using the following command to start a container with a predefined mac address:
docker run -d --lxc-conf="lxc.network.hwaddr=00:50:56:8E:8B:77:00:00" --name=my_container my_image
...
Cherimoya asked 16/3, 2015 at 10:36
3
I have a Next.Js application that I will deploy with docker. I am passing my environment variables in docker file and docker-compose.yaml. Next version: 12.1.6
Dockerfile
# Install dependencies onl...
Krein asked 7/8, 2022 at 19:57
3
Solved
Suppose you have some Dockerfile. What needs to be added to that file such that a string (ie "Hello World") is printed to the console during build?
docker build .
Surgeon asked 14/5, 2021 at 21:7
2
I have a python package that I want to install inside a docker file.
pyproject.toml looks like:
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_me...
Melia asked 7/11, 2022 at 23:11
2
I am trying to use NestJs inside Docker. For the first run 'docker compose up --build' it works good, all changes in files force application to rebuild. But if I stop docker with 'docker compose do...
3
I am trying to run a .Net Core based Azure Function inside a Docker container on a M1 Macbook without success so far.
Originally I used the Azure Function Core Tools CLI to create the function with...
Stanislaus asked 17/4, 2021 at 11:4
4
Solved
Docker running on Ubuntu is taking 18G of disk space (on a partition of 20G), causing server crashes. Commands below show that there is a serious mismatch between "official" image, container and vo...
Landin asked 17/12, 2019 at 11:18
3
Solved
I'm running a Java program from within a Docker container (started with Docker Compose) and it's throwing a bunch of errors caused by UTF-8 characters (as they can't be mapped to the ASCII charset)...
Presbyterian asked 1/7, 2018 at 6:16
4
This has already been asked, but none of the answers have helped me. This is my configuration. Im running docker-compose with two services, a web app in django and the database in mariadb. I can co...
Audiophile asked 24/10, 2019 at 18:21
3
Solved
To get a node version - I expect to run the following:
node --version
I'm running the following with docker:
docker run node:4-onbuild -v
I get this:
docker: Error response from daemon: Cont...
4
I have a VPN client in my Docker container (ubuntu:18.04).
The client must do the following:
mv /etc/resolv.conf /etc/resolv.conf.orig
Then the client should create new /etc/resolv.conf with their...
3
Solved
After reinstall of Kubuntu 18 I run my docker project with command to run my first project:
docker-compose up -d --build
and got long output (it worked more 1 hour I suppose) and errors at end :...
Bicorn asked 12/10, 2019 at 15:38
2
DISCLAIMER: This question has been asked in different forms on Stackoverflow and other venues, but I could get none to work. So I hope someone can help me figure this out once and for all.
I need ...
Mayers asked 4/2, 2019 at 21:43
2
Solved
I am seeing what I would consider a weird docker build issue. It seems to be pretty specific to my PC as I have seen this build properly on other machines. It looks like a docker build is failing w...
Sniperscope asked 19/6, 2023 at 16:30
2
So far I have build the image and deployed it to AWS EC2. But I want to use
serve -s build
to serve the app in production mode.
I did it locally and apparently everything seems to be fine..I get t...
Discount asked 23/8, 2020 at 17:20
4
Using apache + php-fpm containers in docker-compose, I can't get the php-fpm container to display any errors.
docker-compose.yml
version: '3'
services:
php:
build:
context: ./php
ports:
- 9...
Forrestforrester asked 21/11, 2018 at 17:25
9
This is driving me absolutely crazy and preventing me from being able to do local dev/test.
I have a flask app that uses authlib (client capabilities only). When a user hits my home page, my flask...
1
Is it possible to log individual shell commands executed after login to pod via kubectl exec? If auditing shell commands is possible, how to configure kubernetes auditing for that?
Satisfactory asked 4/3, 2020 at 14:16
3
When I'm trying to connect to mongo-express I'm getting a connection issue, kind of error
version: "3"
services:
mongodb:
image: mongo
ports:
- "27017:27017"
environment:
...
Nefen asked 21/1 at 7:56
8
Im running AWS SAM and using sam build --use-container then get the following error.
Starting Build inside a container Building function 'SamTutorialFunction Build Failed Error: Docker is unreachab...
Ringo asked 24/7, 2020 at 2:41
© 2022 - 2024 — McMap. All rights reserved.