Questions tagged [docker]

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

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

Problem with kong's keep alive (api gateway)

I have 5 k8s worker nodes that each of them run a kong instance. I also have 24 upstream servers. One month ago the number of my threads on the upstream servers increased dramatically, therefore, I ...
0
votes
2answers
22 views

Automate starting and stopping of multiple containers on single production server

I am doing a project for my university where I have the following requirements: I want to start and stop (docker) containers with different apps I have a singe (university) server to my disposal I ...
0
votes
0answers
6 views

Tools for "scanning" container (hardening) vulnerabilities vs tools for "performing" the hardening

Container hardening is the process of fixing the vulnerabilities. CIS has published a list of container vulnerabilities which should be addressed to complete the hardening process. Q1. Are there ...
2
votes
1answer
17 views

CentOS Docker Container running Libero SoC: Unable to to connect to X Server [closed]

I am running Libero SoC on a CentOS Docker Container (CentOS Linux release 7.9.2009 (Core)). This container will be used to build FPGA code within a CI/CD pipeline. When I attempt to execute a script (...
1
vote
1answer
43 views

How to migrate away from `docker-machine create`?

I have an old script that uses docker-machine create to create an number of Hyper-V VMs and run a server application inside each one, using docker. It was done this way because the application ...
0
votes
0answers
12 views

Access application that is behind a vpn container

I created the following setup: Docker host: machine at home network that runs the docker containers. openvpn - A container that uses openvpn to establish a VPN connection to my vpn provider. nzbget -...
2
votes
1answer
33 views

Deliver docker container on the server with no internet

I have a project which is written in Python. After I push it's going to be pulled by another team and after that they are going to deliver the project to windows server machine wich has no internet. ...
0
votes
1answer
23 views

Can one run a docker container with systemd from a jenkins pipeline?

I have been unsuccessful running a docker container with systemd from a jenkins pipeline without getting the following error message: ERROR: The container started but didn't run the expected command. ...
1
vote
2answers
32 views

How to start start applications one after another with a shell script?

I'd like to automatically start all of the following applications after the system startup. However, they need to be started in a specific order and when the previous application is done booting. The ...
0
votes
0answers
16 views

Сontrol Windows-containers from Ansible directly through "docker" connection-plugin

Is it possible to control Windows-containers from Ansible with "docker" connection-plugin? I.e. with ansible_connection=docker in inventory-file? My current environment: Running dockerd -H ...
0
votes
1answer
30 views

Execute python file existing inside image with Jenkins

I have an Image A, which has a python file "main.py". I want to know how I can use Jenkins to run that file from a different pipeline. I want to use Jenkins to go inside that image and then ...
0
votes
0answers
42 views

Hosting Wiki.js using nginx-proxy

I am having difficulty getting Wiki.js hosted on a server. My current setup is using docker-compose utilising a reverse proxy with the eventual aim to host some services. I have successfully managed ...
0
votes
0answers
8 views

Reduce build time in GitOps by using Docker image layers from previous build with Azure Registry

I'm building a Docker Image on Pull Requests in my GitOps setup. The images are built and pushed to Azure Registry. Often, it's only a small update in the code, and if I could reuse the layers from ...
1
vote
1answer
25 views

How to ensure data protection on remote server?

We have sensitive data from a customer and need to train a Neural Network for our customers. However we have no severs to train the Neural Networks, so we want to rent GPU servers. There are many ...
1
vote
2answers
47 views

How to expose a service ( Experssjs Api ) deployed on minikube ( 192.168.49.2 ) to be able to access it from another device in the same network?

I've created a service inside minikube (expressjs API) running on my local machine, so when I launch the service using minikube service wedeliverapi --url i can access it from my browser with ...
0
votes
0answers
7 views

How Public facing haproxy node can see on premise haproxy container?

I have internet facing node running haproxy and openvpn server which is connected to a container which is running openvpn client and to that container I have connected another container running ...
0
votes
1answer
25 views

cap_add and device options not working in docker stack file

I am trying to start docker container on the rockpix node with cap_add and device options but docker stack errors saying $ docker stack deploy -c docker-stack.yml vpnproxy services.vpn_proxy.deploy ...
0
votes
0answers
12 views

cni0 already has an ip address

I've got a k8s (on-premise) cluster with 1 master and 3 workers, all ubuntu, latest LTS version. 2 workers are running fine, but pods getting scheduled to one stay in the ContainerCreating state with ...
1
vote
2answers
104 views

DNS resolution fails when container is started via docker-compose

I recently decided to try out windows containers and i am using my private minecraft server for that purpose (as a hobby project). I have an image prepared, based on Windows Server Core 2022. When i ...
1
vote
0answers
25 views

Keepalived docker container crashing

This is my new experience with using keepalived, I am trying to start docker container of keepalived but it is crashing the error log doesn't explain much: *** Running /container/run/process/...
0
votes
0answers
8 views

MS SQL 2019 operator in k8s is ready for production?

ITNOA I am searching about MS SQL Server 2019 K8s operator very much, but I don't find any comprehensive documentations or help pages I just found Availability Groups on Kubernetes in SQL Server 2019 ...
0
votes
0answers
13 views

How to load several environment variables without giving env and args only giving settings.env file in the Dockerfile?

NOTE: Here we don't use docker run command and docker-compose.yml only using dockerfile and settings.env how can we can achieve this requirement.
0
votes
0answers
15 views

how do you access a docker image from R studio?

Im trying touse a program called "r-peer" which is a program with ready made ability to plug in to R. It looks for hidden signal in data and creates covariates that capture this signal. ...
0
votes
1answer
14 views

Docker Swarm set which service goes to which machine

Docker Swarm set which service goes to which machine. Is there any way to set which service or service replicas goes to which worker machine ?
1
vote
0answers
18 views

calling shell commands on host from container

I've created a daemonset which adds a systemd unit and timer file to every host in the cluster. apiVersion: apps/v1 kind: DaemonSet metadata: name: logclean-updater spec: selector: matchLabels:...
1
vote
0answers
29 views

Building docker image of nuxt application using github actions fails (heap memory size exceeded)

I am trying to setup Github Actions workflow to automatically build and push docker image of my nuxt app, When the workflow finishes and I pull the image and run it, the web application doesn't load ...
0
votes
1answer
44 views

CICD with dockerized web app

I am having troubles understanding the following DevOps concept. I have developed a dockerized web app using docker-compose. It is in my local and I can upload it to any cloud service I want and it ...
0
votes
0answers
13 views

How to test/validate a custom build of Python

I have various docker images that I build that include stages that download the Python source, build and install it in the images. When the builds run, I see occasional error or warning messages that ...
1
vote
0answers
72 views

Pipeline could not pull repo in GitLab CI/CD

I have a the repo with test CI pipeline, which is the following: # .gitlab-ci.yml image: name: gcc build: stage: build script: - echo 123 And it fails: Running with gitlab-runner 14.3.1 (...
0
votes
0answers
11 views

Move Windows Docker containers volumes to WSL storage

My Windows dockers are working slow. Previously I was getting the warning that this is because container files are located in Windows drives (probably /mnt/wsl/docker-desktop-data/). I'm not getting ...
0
votes
1answer
246 views

Access docker container by host name instead of localhost:port

Windows 10, docker for windows, simple webapp using nginx and ssl. Simple thing when using VMs. I have three virtual machines. Every machine has static ip assigned by router. In hosts files I can map ...
0
votes
0answers
352 views

Gitlab runner fails with connection timeout , connectivity works fine

Same question was asked by myself before. But now I registered runner with sudo. Yet I get following error in pipeline Getting source from Git repository Fetching changes with git depth set to 50... ...
1
vote
1answer
33 views

windows docker location of file env.conf

I found that on linux you can configure some settings inside file: /etc/systemd/system/docker.service.d/env.conf . I am wondering where I can find it in windows wsl?- purpose is to set those two ...
1
vote
2answers
593 views

docker ... invalid mount config for type "bind": bind source path does not exist: but the source path does exist

I have a data set stashed in /vms1/thoth/new_maplab_shared, but when I $ docker run -it --mount type=bind,source=/vms1/thoth/new_maplab_shared,target=/new_maplab_shared edd5afa10b5f docker: Error ...
1
vote
0answers
32 views

Deployment with Docker tensorflow/serving fails when training the model on another machine

I'm following the Coursera TensorFlow Serving with Docker for Model Deployment course. You have to train a simple Tensorflow model and export it in Protobuf. tf.saved_model.save(model, path) Then you ...
0
votes
1answer
16 views

Why my docker container is running on swarm manager node instead of worker?

This is my docker-stackk.yaml file. # cat docker-stack.yml version: "3.4" services: redis: image: redis:alpine ports: - "6379" networks: - frontend ...
0
votes
0answers
34 views

WARNING: bridge-nf-call-iptables (bridge-nf-call-ip6tables) is disabled

I used the following commands to install docker in rootless mode. curl -sSL https://get.docker.com/rootless | sh systemctl --user start docker.service systemctl --user enable docker.service sudo ...
1
vote
0answers
147 views

How to boot the system in cgroup v2 mode?

I used the following commands to install docker in rootless mode. curl -sSL https://get.docker.com/rootless | sh systemctl --user start docker.service systemctl --user enable docker.service sudo ...
2
votes
2answers
37 views

How to structure/combine the installation of helm + deployment files

I have a Wordpress Helm chart, and a seperate ingress definition to go along with it, which I specified in a wordpress-deployment.yaml file. My workflow for installing would be: Install the helm ...
0
votes
1answer
95 views

How can I get client IP on apache insted of Docker container IP?

I've deployed a Matomo application using the official docker image. I'm trying to activate geolocalization (using a plugin) and it's not working. I can see that Matomo (apache) only gets the docker ...
2
votes
2answers
58 views

How do developers handle developing large scaled dockerized applications locally?

I am currently working on a fairly large scale project (upwards of 250 docker containers), which has complexe dependencies on multiple APIs and front-end applications. The staging and production ...
0
votes
0answers
5 views

pg_dump from Celery container differs from pg_dump everywhere else in other container

I can't understand where pg_dump version is coming from. I forced everywhere postrgresql-client-13 to be installed. /usr/bin/pg_dump --version Celery Beat and Celery pg_dump (PostgreSQL) 11.12 (...
3
votes
1answer
45 views

Point docker container DNS to specific port?

I was wondering if it was possible to assign the DNS server a docker container is querying (via docker run --dns, or otherwise) to be on a specific port, something other than 53? I had built a custom ...
1
vote
1answer
95 views

Building a docker container with multiple conda envs

As a novice to the technology I have only a basic knowledge regarding how to build and deploy a docker so i was hoping someone could provide some help. The situation is the following: I need to create ...
0
votes
0answers
39 views

Docker and Docker-Compose: Problem with InvalidVersion and API Version

My issue is that a docker-compose project (builds three docker images) works on a server A (ubuntu 18.04) but not on server B (ubuntu 14.04). The error I get on server B is the following: Traceback (...
0
votes
1answer
28 views

connection refused from webserver in container

I've got a simple python http server running on port 8080. class Handler(BaseHTTPRequestHandler): def do_GET(self): print(self.path) self.wfile.write(b'\n') return class ...
3
votes
1answer
131 views

How to create network connection into remote docker stack?

I am struggling to set this up correctly. I am trying to run an app with docker stack deploy on a remote machine. The following app works, when I deploy it with docker swarm deploy on my windows ...
1
vote
2answers
53 views

k8s pods not load balanced

I've got a service running in an on premise k8s environment. It is basically an nginx image, and a call takes like 10 seconds. replicas is two and of course two pods are running. But almost if not ...
1
vote
0answers
79 views

Where does the string docker.example.com in my GitLab CI job come from?

I am trying to have a Docker image deployed to my server by GitLab CI, but it only worked once¹ and then dies with the error message below. Here is the .gitlab-ci.yml snippet: deploy-image: image: ...
1
vote
1answer
31 views

A better way to not use dockerhub - permanent config within docker?

I've searched the documentation for docker if this is possible and come up blank, but thought I'd pose the question here before shelving this. Is there a way to just tell Docker to use something other ...

1
2 3 4 5
19