docker Questions
4
Solved
I tried to use KinD as an alternative of Minikube to bootstrap a K8S cluster in my local machine.
The cluster is created successfully.
But when I tried to create some pods/deployments from images, ...
Chace asked 30/8, 2020 at 12:28
5
Solved
So I'm working on a docker compose file to deploy my Go web server. My server uses mongo, so I added a data volume container and the mongo service in docker compose.
Then I wrote a Dockerfile in or...
3
Solved
I'm pretty new to docker and, although I've read lots of articles, tutorials and watched YouTube videos, I'm still finding that my image size is in excess of 1 GB when the alpine image for Python i...
Chlamydate asked 5/8, 2021 at 0:7
3
Solved
While trying to build docker image to my application, somehow I accidentally create 2 containers with status Created.
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
597a3d22...
Zug asked 4/4, 2018 at 5:45
5
Solved
I am in the process of converting my Spring Boot application to a native image using Spring Native and GraalVM. My application uses MongoDB, and I am encountering a MappingException when the applic...
Centriole asked 5/11, 2023 at 22:17
4
I have Docker Desktop running with WSL 2 backend. I also have Ubuntu 20.04 installed as my default WSL2 Linux distro.
The problem I am facing is that if I launch C:\Windows\System32\wsl.exe when Do...
Nuri asked 15/6, 2020 at 19:56
2
When building my windows dockerfile (.net core nano)...
docker build -f *** -t ***:*** --build-arg ARG1=foo --build-arg ARG2=bar .
I'm getting an error during the build that occurs in response to m...
Franglais asked 23/6, 2023 at 17:37
2
Solved
Problem
I decided to learn Docker and followed the official installation guide, specifically for ubuntu.
After downloading some images and making some containers to test how everything works, using...
12
I'd like to build docker image via gitlab CI with project's version as a tag:
docker build -t dockerimage:VERSION-IN-POM .
In jenkins' pipeline i'm getting the version like that:
${pom.version...
3
Solved
I want to run a Jenkins instance in a docker container.
I want Jenkins itself to be able to spin up docker containers as slaves to run tests in.
It seems the best way to do this is to use
docke...
Describe asked 23/3, 2016 at 17:36
2
I am trying to build a dotnet docker image for linux/amd64 architecture on my Apple Silicon. It works for other architectures but it get stuck at "RUN dotnet restore" when building for li...
3
Solved
In the past I could simply do something like this:
Dockerfile:
FROM ubuntu
RUN echo "test"
which would output test to my shell. I used this as a way of debugging my builds.
In the latest...
Loireatlantique asked 5/1, 2021 at 13:43
2
I installed Wkhtmltopdf on Alpine Docker with the following command:
apk add --no-cache wkhtmltopdf
However when I try to run wkhtmltopdf I get:
/usr/bin/wkhtmltopdf "test.html" "test.pdf"
Canno...
Fonz asked 3/6, 2019 at 11:4
3
Solved
I am using the "plain" postgresql:alpine docker image, but have to schedule a database backup daily. I think this is a pretty common task.
I created a script backupand stored in the container in /...
Chico asked 2/3, 2018 at 17:37
10
Solved
I'm trying to run a docker image with PostgreSQL that has a volume configured for persisting data.
docker-compose.yml
version: '3.1'
services:
db:
image: postgres
restart: always
volumes:
-...
Somnolent asked 17/5, 2019 at 14:32
12
Solved
I'd like to instruct Docker to COPY my certificates from the local /etc/ folder on my Ubuntu machine.
I get the error:
COPY failed: file not found in build context or excluded by
.dockerignore: st...
5
Solved
Attempting to connect database from within the microservice, failing to the connect the database
Error: connect ECONNREFUSED 172.18.0.2:3306
service/index.js
var http = require('http');
//crea...
Pluck asked 22/5, 2019 at 11:3
11
Solved
I am new to Docker. I created a Web API using ASP.Net Core using Visual Studio 2019 as well as in VS Code. It works fine. Then I added docker support and added Dockerfile with default values.
When ...
Strawboard asked 3/4, 2021 at 17:22
3
To make development easier for a project, I've put a couple of services it depends on in docker containers. This makes 'localhost' in the project's config mean something different when it is ...
4
I have an AngularJS application that does an ajax call but it results in a chromium error:
net::ERR_NETWORK_CHANGED
I tried to disable any adapters that I don't need. I have multiple ones and mu...
Nahshon asked 21/6, 2017 at 13:55
3
I'm trying to build a new image with docker, but when I enter the build command:
docker image build -t vue-app .
I get this error:
[+] Building 0.2s (2/2) FINISHED
=> [internal] load build defi...
Bor asked 27/5, 2023 at 20:7
12
Solved
When I am trying to build the docker image I am getting out of disk space error and after investigating I find the following:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 4G 3.8G 0 1...
Eremite asked 9/7, 2018 at 5:46
1
I need to launch Puppeteer headfull (headless false) inside docker with Chrome and I get the same error: "can't launch chrome".
I install all dependencies but it's falls anytime
Error: Failed to ...
Kira asked 18/10, 2018 at 15:3
8
Solved
I'm using https://hub.docker.com/_/mongo mongo image in my local docker environment, but I'm getting Authentication failed error. In docker-compose I add it like:
my-mongo:
image: mongo
restart...
4
Solved
Is it possible to install PHP7.4 on stock Alpine 3.12 Docker image?
I have seen this repo and its dockerfile which is using bintray cert and repository path, but I was wondering if there is a more ...
Incorporating asked 10/7, 2020 at 14:48
© 2022 - 2024 — McMap. All rights reserved.