Questions tagged [docker]

Docker images, containers, hub, and everything related to the containerization platform

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

How to run PowerShell in Windows docker image [closed]

I have short experience in docker, then I do not have any pratice to run external Powershell script files on Windows Docker image; I read some articles, for example Microsoft Docs, but I need the Best ...
0
votes
0answers
15 views

Error while mounting CIFS volume invalid argument [closed]

I am trying to mount a CIFS volume for downloading documents, if I config it with the IP works fine... The problem is that when I try to config it with the domain name it doesn't work due to invalid ...
0
votes
0answers
18 views

minimal VM image for running docker

I'm looking for a minimal VM to build docker images in a self-hosted (gitlab-)CI environment. For security reasons, i don't want to enable DinD on my normal build nodes. Instead, I want to use a ...
0
votes
0answers
7 views

Get a static hostname for container without ELB

I've been using compose-cli's cloud functionality to deploy my web app to AWS. It works very well. I have an Nginx image with port 80 open (not publically accessible though). Compose-cli will create ...
0
votes
0answers
12 views

How to build a docker container of Apache-httpd web server with PHP7.4?

I am trying to build a docker container image of apache web server along with PHP 7.4 (all of packages.) I hav picked source httpd:2.4 and installing php7.4 and its other packages. FROM httpd:2.4 ...
0
votes
1answer
19 views

How can I get logs in real time from a docker container hosted on Digital Ocean

I have a docker container in which I am running Flask and Scrapy. I noticed that when I run and build my container on my local machine I get logs in real time. However, on an Ubuntu instance hosted on ...
0
votes
1answer
12 views

Run docker with bind-mount pointing to non-existent host folder: Where is the data?

I run a docker image with a bind-mount pointing to a non-existing host directory. The docker image then created data into that volume, wherever it may be. The data is accessible on every docker run. ...
5
votes
0answers
41 views
+50

How would you build docker images in Kubernetes while distributing its layer caching among all pod builders at scale?

We are using Azure DevOps as our CICD platform. We have our own self hosted Linux agents which we integrated into our CICD Azure Kubernetes Cluster . We use these agents to build our Docker images ...
0
votes
1answer
65 views

How to configure single nginx ingress with letsencrypt and multiple bitnami wordpress containers?

I'm using bitnami/wordpress helm chart to create many websites which should run on different domains. I'd like to auto secure them and use a single ingress to route traffic. I'm using this tutorial ...
0
votes
0answers
14 views

Using Docker containers to update files in another docker container

I'm having trouble managing CI/CD for a online psychology experiment platform. I'm running a docker container for the experiment platform that serves static webpages. The container requires files to ...
0
votes
1answer
37 views

Difference between Docker container with Debian vs VM with Debian?

What is the difference between running a Docker container with Debian (eg. https://hub.docker.com/_/debian/) and then running a virtual machine with Debian? And why is it still an advantage if any? I'...
0
votes
0answers
19 views

Manage environments with Github and Google Kubernetes Engine

I have a Github repo with 2 branches on it, develop and main. The first is the "test" environment and the other is the "production" environment. I am working with Google Kubernetes ...
0
votes
1answer
14 views

How to setup custom authentication and authorization in Istio/K8?

As I am new to istio world. I am having difficulty understanding how that technology's auth system work. Let's say, I have a project that has 8 pods(services). I understand that authentication and ...
1
vote
2answers
35 views

How to resolve a problem “certificate signed by unknown authority” in GKE on pulling image (a private registry) when a pod is created?

I generated a CA certificate, then issued a certificate based on it for a private registry, that located in the same GKE cluster. Put the server certificates to the private registry and the CA ...
1
vote
1answer
18 views

OIDC token invalid when put into kubeconfig

I can connect to the Kubernetes API from a container running inside the cluster with an OIDC token like so: kubectl —token $token get pod I would now like to prepare a kubeconfig such that other ...
0
votes
0answers
6 views

Can I develop using a Python distribution which is inside a docker container on a remote machine using Visual Studio Code?

I would like to develop Python code on Visual Studio Code. However, I want to develop it with autocomplete and linting based on the Python distribution which is inside a Docker container on a remote ...
0
votes
0answers
9 views

Docker: How to download & verify a publisher's root key (out-of-band, distinct-domain cryptographic verification, WoT)

For a given publisher of docker images on Docker Hub (let's say debian), how do I download their root release/image signing key and verify its authenticity from multiple sources out-of-band from each-...
1
vote
1answer
16 views

How to pin public root key when downloading an image with docker pull (Docker Content Trust)?

How can I execute docker pull (with Docker Content Trust enabled) such that it fails if the image doesn't have a valid signature using the private key corresponding to (or subordinate to) the public ...
0
votes
0answers
28 views

docker push/pull works with insecure registry, but kubectl fails with ImagePullBackOff

I am using docker version - 18.09 with kubectl version v1.21.1 on Ubuntu 18.04.5 LTS. I am trying to work with a private insecure docker registry at 10.106.58.220:5000 Modified /etc/docker/daemon.json:...
0
votes
0answers
25 views

Getting network connection error when trying to build docker container

I am trying to build a docker container but getting network connection error : # docker build -t zhaochang/flaskarm64:1 . Sending build context to Docker daemon 161.3kB Step 1/9 : FROM arm64v8/alpine ...
0
votes
0answers
22 views

kube-apiserver container failed to start after upgrade vm

The k8s cluster that I monitor got a problem when update VM host. At first I got connection refused on xxxxxx:6443 when I try to kubectl get no. Then I check kubelet log by journalctl -xeu kubelet and ...
0
votes
0answers
19 views

How to configure docker volume mounted to external storage that is likely to fail? Detecting drive fail and automatic recovery

I've created container whose purpose is to act as network storage (samba). This storage is actually an external drive, with its own (independent of server, so possibly likely to fail) power supply. ...
2
votes
2answers
45 views

Log/Data rotation in Docker Container

My question is more on the concept or best practices to follow. I have two docker containers running InfluxDB and Grafana (monitoring applications). I have mounted external volume to each. now, the ...
0
votes
0answers
20 views

How to properly set up a VPN connection inside a kubernetes pod?

Working on a script which involves querying a PostgreSQL db. This db is on a host which is behind an f5 VPN. I'm pretty new to the concept of VPNs, and particularly with f5's products. Ideally, I'd ...
0
votes
0answers
15 views

How do I install GitWeb onto k8s-Gerrit? (itself installed through Helm chart)

My team uses Gerrit for code review, and has it installed on Kubernetes via Helm chart. We want to be able to see our code changes, and so we wanted to integrate Gitweb with Gerrit. This begins with ...
0
votes
1answer
64 views

Docker compose up, Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use

I'm trying to a gitlab/gitlab-ce image up and running with docker-compose on macOS (Big Sur) (docker-compose up -d). I'm using docker-machine with the virtualBox driver. However, when starting the ...
0
votes
1answer
24 views

Which container will be targeted when replicas larger than 1

Below is a simplified version of my docker-compose.yml file. I can understand or find any resources to tell me which container of the 5 django replicas the nginx container will target if i reference ...
0
votes
1answer
21 views

Docker image file location

I run Docker on Windows 10 machine with WSL 2 support. I would like to know where docker image files are located in this situation? Where docker image files are located in case when no WSL 2 is ...
0
votes
0answers
9 views

OpenShift - identify request to pod with the service that sent it

I have several services running on OpenShift that are interacting with each other. Right now one of the services is crushing as a result of too many requests, and I want to know which one of the ...
0
votes
1answer
20 views

How to change ownership of folder inside the container after build?

I have this service in my docker-compose.yml php-fpm: container_name: php_app restart: always build: context: . dockerfile: ./docker/php-fpm/Dockerfile volumes: - ./src:/var/www/html that take ...
2
votes
1answer
35 views

Best Kubernetes storage option

I know there are several options, I’ve heard everything from SSHFS, NFS, object storage all the way to storage OS, my issue is I need something fast and reliable to serve a media website built on ...
0
votes
2answers
81 views

Reaching a Docker environment running in VMware from LAN

Here is my setup: I have a Ubuntu 20.04.2 LTS machine running in VMware (vSphere client). On this machine, I have a local Drupal website running in Docker using Wodby Docker4Drupal https://github.com/...
0
votes
1answer
29 views

ArgoCD Autosync based off of Docker Image `latest` Tag

Using ArgoCD, I'd like to have the App AutoSync Update/Reploy when the docker image is updated on a specific tag such as latest or stable. For example, if I have a deployment in my git repo like this: ...
0
votes
1answer
31 views

Docker compose to ECS, two services in one task

I'm using this method to deploy my docker-compose project to AWS ECS. A simplified version of my docker-compose.yml looks like this: version: '3' services: web: image: .dkr.ecr.eu-west-3....
0
votes
0answers
12 views

Docker run command inside jenkins pipeline produces error

Background I have a Jenkins pipeline that I use for building my application. Actual building of software is done using a container. I just mount the source code to container and run container with a ...
0
votes
1answer
33 views

yarn server with docker-compose

So I am trying to start up an server that has: a mongodb container a backend container a client container Both server containers require me to run yarn start at the end. However, when I run this in ...
0
votes
1answer
55 views

AWS ECS Update with new docker image

I've setup a cluster on AWS ECS, it's hosting nginx and a webapp. I've used these commands to create my resources aws ecr create-repository --repository-name <repo-name> ecs-cli configure --...
0
votes
1answer
48 views

Continuous Deployment with jenkins

I am a beginner in DevOps. I created a continuous integration cycle using jenkins(docker image) and bitbucket. I used a simple spring boot hello-world project and after CI i got an executable Jar. I ...
-1
votes
0answers
40 views

Error while building Docker image

I tried to build the Docker image using the command "docker build --no-cache -t cytools .", but got the following error: => ERROR [27/30] RUN tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar....
-1
votes
0answers
12 views

ssl on wordpress docker image

When using https links for siteurl and home my docker wordpress stops responding (getting connection refused errors). Its a known issue (https://github.com/docker-library/wordpress/issues/46) and the ...
-1
votes
0answers
17 views

Cannot execute two phpmyadmin instances in different containers

I trying to run multiple instances of phpmyadmin and MySQL. So I have actually 2 docker-compose.yml files, which contains this database: container_name: boilerplate_db restart: always ...
0
votes
1answer
74 views

Minikube for Ubuntu 20.04 WSL stuck on 'Restarting existing docker container for “minikube” …' after minikube start and 'StartHost failed' error

I've come across the following problem where my minikube cluster doesn't start and the command line becomes stagnant in the following way: $ minikube start �😄 minikube v1.17.1 on Ubuntu 20.04 �🆕 ...
0
votes
0answers
19 views

What is the effect of setting up CPU limits on docker containers according to run time of the process

Let's say I have a Linux machine with 10 CPUs (1000%) and a docker container that at its peak consumes 500% of the CPU and the process takes 10 hours to complete (let's say it runs most of the time at ...
1
vote
0answers
22 views

How to add one downloaded images layer to Docker without using Docker? [closed]

I am already downloaded docker images by other tools. it is possiable to add one images layer to docker? direct copy it to /var/lib/docker/overlay2 ? dowload file example: > docker_pull.py node ......
1
vote
1answer
28 views

Testing docker image builds when low level libraries change

Background In our organization we have many small repos for shared libraries used among our applications. Particularly, we have many Python libraries and Python applications. We have a structures like:...
1
vote
0answers
75 views

Connection Refused to Unix socket in Docker container from host

I have a service running in Docker that listens on a Unix Domain Socket, and a client running on the Docker host (a Mac). The client gets a "Connection Refused" error trying to connect. I'm ...
0
votes
1answer
189 views

How to build, package and deploy a react-native-web app in a Docker container?

Given there is a react-native-web solution, what needs to be done to build it and run inside a Docker container? What is the build environment/toolchain? Which environment is required to run? From ...
0
votes
0answers
17 views

How to tell “docker push” command to print out the progress in way that is suitable for CI

Is it possible to call docker push command and tell it to show the overall progress but turn off the animations so that it would be useful in CI pipeline. Currently I can not see any progress info ...
0
votes
0answers
27 views

Docker | Multiple ways to build Docker Image

I'm just getting into DevOps, trying to learn as I go. One thing I don't understand is this. When I was trying to automate my docker image build, I noticed that there are multiple ways to accomplish ...
0
votes
1answer
101 views

mysqld: [ERROR] Found option without preceding group in config file /root/.my.cnf at line 1!

I'm trying to create a .my.cnf file for my MySQL docker-container that would allow me to prefill the user and password for the MySQL client. To achieve this I created the following dockerfile: FROM ...

1
2 3 4 5
19