Questions tagged [docker]

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

196 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
3answers
43 views

Debug Docker caching issues

I am trying to improve CI/CD performance and part of that is improving the caching behaviour of Docker builds. I find myself trying to debug what exactly invalidates the cache. Are there any ways to ...
3
votes
0answers
17 views

Store named volumes on another drive

I'm really familiar with Docker on Linux but my company's IT department uses Windows. They're interested in converting VM-based services over to Docker so I'm trying to get them set up with a good ...
3
votes
1answer
127 views

Process auditing in containers

I've read numerous articles on this going back to 2013, but what I wasn't able to ascertain is whether a reliable method has yet been devised for auditing processes inside a container. This question ...
3
votes
1answer
41 views

Docker Persisting Data During Build

I am trying to create a custom container which also contains MongoDB (hence not using the official MongoDB container). I am trying to add authentication to the database, and I think I am having an ...
3
votes
0answers
306 views

SSL error when deploying from gitlab runner (GitLab-CI) to remote docker host

I am trying to deploy an docker image, which is located inside the gitlab.com registry, to an external docker host. The docker host was created using docker-machine. I am using a shared runner and ...
3
votes
0answers
47 views

After deployment, one Rancher load balanced RESTful app instance returns 404 while other returns results

I have setup a CI/CD pipeline which triggers builds, packages, and deploys tasks that execute on Gitlab online whenever a Spring boot RESTful service app is checked in. The three stages and tasks run ...
3
votes
0answers
2k views

Issues with COPY when using multistage Dockerfile builds — no such file or directory

I'm trying to convert my project to use multi-stage builds. However, the final step always fails with an error: Step 11/13 : COPY --from=build /bin/grafana-server /bin/grafana-server COPY failed: ...
3
votes
1answer
453 views

Globally configuring Gitlab with Jenkins in docker container environment

I have Jenkins users authenticated by OpenLDAP and also gitlab CE instance authenticated by the same OpenLDAP. And all the three are running in three different docker containers in the same network. ...
2
votes
1answer
72 views

Best practice for Jenkins docker to deploy to other container

I'm currently experimenting with docker with the potential of using it in future professional projects and am a bit confused about best practices. In my experimental setup I have three docker ...
2
votes
1answer
287 views

running a phpUnit test within a docker container

i want to run a specific version of phpUnit WITHIN a docker container. This container will use a specific version of php. i.e php:5.6-apache Its a lareval application. i have install phpunit via ...
2
votes
1answer
63 views

Is there an alternative to setting up the whole project workspace in a Jenkinsfile

I have a ROS project for which I'm looking to use Jenkins to set up a CI system. The project has a large number of dependencies which take a long time to build (they can't be installed on the build ...
2
votes
3answers
135 views

How to structure a IaC for production, and development?

We have a typical multi layered web application: a balancer, 2 web server 2 db server. I feel we strongly need to start using a kind of Infrastructure As Code in order to replicate easily ...
2
votes
1answer
25 views

How to create a preemptable docker container?

Is there any way by which I can set a lifetime for a container after that much of time it should be stopped automatically and only awake when someone send a request. I wanted something like ...
2
votes
0answers
45 views

How to deploy large web app in container minimal data transfer?

In current deployment of a web app we are using svn to deploy a specific revision from a repository. The amount of data transferred is just the diff between the currently deployed revision and the ...
2
votes
3answers
55 views

Cross region replication of Redis Docker container data

I am looking for some help with figuring out a way to take a Redis Docker image and then do near real time replication of the data to another server maybe over an SSH tunnnel. I need this to be able ...
2
votes
0answers
243 views

Should I use systemd or docker-compose to replace Upstart for keeping Docker containers running on my systems?

We are talking about Docker containers as sysdig, consul, fluentd, mesos-slave, etc. that we are running on almost all machines. Currently we are using Ubuntu's Upstart and CoreOS's Fleetctl. We're ...
2
votes
1answer
46 views

Built codebase doesnt appear after deploying

I'm packaging and shipping a custom code base of Wordpress with a Dockerfile in to my private container registry. Dockerfile: FROM wordpress:latest ADD . /var/www/html Then on the deployment ...
2
votes
0answers
212 views

Stuck! using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what ...
2
votes
0answers
762 views

Can not find save handler 'redis' - session startup failed - for PHP

I am getting this error while loading index.php file. Warning: session_start(): Cannot find save handler 'redis' - session startup failed in /var/www/html/index.php on line 2 My index.php code ...
2
votes
0answers
155 views

What is the preferred method of using feature flags in Flask?

I wanted to ask what the preferred tool, method or framework is when using feature flags with Flask applications. The main problem is that the most relevant result has not seen an update since 3 years,...
2
votes
0answers
70 views

What integration test framework has the best docker support?

We need integration testing framework - pass a url pass requests to that url and get responses and evaluate repsonses. Requirements: 1. We want a tool that can easily implement into a CICD pipeline ...
2
votes
0answers
36 views

Which volume solutions are the most convenient when building Docker & microservices based application?

My application consists of few microservices and web (React) frontend. Basically I have auth microservice, application backend service, various data processing services and frontend rendering server. ...
2
votes
0answers
46 views

How do I get Openshift to let Tomcat retain it's hosted site's changes

I have a pod in Redhat Openshift running Tomcat and inside Tomcat I have Ozone Widget Framework, my site hosted in Tomcat. I have executed the oc command to use my existing configuration so that my ...
2
votes
0answers
1k views

Windows Service installation on Docker Container

I am trying to port one of our Tomcat based Windows application to Windows Nano Server Container. The installation process includes two Windows Service installations - an ActiveMQ service and another ...
2
votes
0answers
325 views

Elastic Beanstalk: Setting parameters from a .config file in the application bundle

I am using the Elastic Beanstalk web UI to create an environment, for a single Docker container. I would like to put all the environment options into a .config file in the application bundle. I'm ...
1
vote
0answers
8 views

Anonymous “Agents can connect” Jenkins health check url?

I have a situation where I would like to spin up a distributed Jenkins build server with docker-compose (as part of local testing before deploying to OpenShift). Unfortunately the agents spin up, ...
1
vote
1answer
30 views

CI pipelines, concurrency and build results possibly overwriting each-other

I'm currently using gitlab-ci to generate docker images for some repositories, however i dont feel as though this solution is as reliable as it should be. I can forsee a issue with multiple builds ...
1
vote
0answers
15 views

How to parse command output (docker log) through goaccess?

How to parse docker logs output / tail output through goaccess? When I do: docker container logs mycontainer > logs and then goaccess -f logs it works perfectly, but if I do docker logs --tail ...
1
vote
0answers
11 views

Docker, binded volume track/log synching

So I have common lamp stack for drupal development built with docker, volumes are bind mounted, it is all on Mac OSx which has well known problems/slowdowns of file synching between host and container....
1
vote
2answers
32 views

How to clean up old images in docker registry with jenkins

I have a jenkins multi branch project, that builds on every commit and pushes the image to our private registry: docker-reg:5000/<project>/<branch>:latest docker-reg:5000/<project>/&...
1
vote
0answers
12 views

Docker Compose for Multicontainer WordPress

I'm trying to create a simple project template for WordPress sites, which includes a global nginx proxy and n WP sites, each with their own mySQL server. I'd like to be able to git clone this template,...
1
vote
0answers
26 views

Google cloud container running 40x slower then on aws

i have a flask api tunning a pytorch predict inside a kubernetes cluster. I deployed it on AWS and got good results. I have tried on GKE and had good results, but when im deploying my pods on a high ...
1
vote
0answers
19 views

Run Docker Containers without having a logged in User on Windows

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service ...
1
vote
0answers
25 views

Problem with build jenkins on Dokcer Container with Ubuntu

I Have this Dockerfile and I want build container (based on Ubuntu) and install on him Jenkins. FROM ubuntu:18.04 RUN apt-get update RUN apt-get install -y --no-install-recommends \ gnupg2 \ vim ...
1
vote
0answers
73 views

Accessing TPM from inside a Docker Container

I want to implement Vault as part of the DevOps build pipeline to store all the secrets like passwords and certificates. I understand that Vault keeps the data encrypted but I have been asked me to ...
1
vote
0answers
15 views

Mounting ssh keys on ephemeral container from a Windows host

I'm working on a container that uses Git to interact with some git repositories. But, to use Git it has to use the SSH keys that are stored on the Windows host machine. I tried two of the ways I could ...
1
vote
0answers
83 views

Docker-compose for tomcat, nginx and node webapp does not connect to backend

I have made a docker-compose.yml file where I use 4 images to create a tomcat backend with postgress database and a frontend website using nginx. The backend exposes a rest-api that the frontend uses ...
1
vote
0answers
12 views

How to launch a docker container from within a GitLab Shell runner?

Situation My CI pipeline needs to do the following: log into a VM and have access to a bash terminal run a bash script that launches a Docker container with parameters (e.g. -it mode or providing ...
1
vote
0answers
33 views

Deis Workflow Alternative

We're looking to build an internal Heroku-like PaaS that supports clustering and a DFS. We found Deis Workflow that seems to do exactly what we're looking for, but the project has since been ...
1
vote
0answers
83 views

chromdriver issue docker and ruby on rails with selenium/standalone-chrome-debug

I have setup docker using a book tutorial, everything working fine, but when I setup selenium_chrome it is giving me error one test is passing and another is failing. Following entry is in docker-...
1
vote
1answer
58 views

How to deploy my Express/React app to server with docker-compose and Dockerfiles

Hi, I'm trying to deploy my app to production with Docker, but I struggle a lot. Here is the structure from the root folder : a server folder : runs with Express on port 4000 a web folder : a ...
1
vote
0answers
153 views

Docker - Mount a volume from a container to an other (equivalent volumes_from) in docker-compose 3

I've two containers : nginx & angular. The angular container contains the code and is automatically pulled from the registry when there is a new version (with watchtower). I set up a Shared ...
1
vote
0answers
40 views

Docker image labels in fargate are not applied to containers

I'm running code in docker containers through AWS ECS on the fargate engine. The problem that I'm running into is that my docker image labels are not being applied to the docker container as I would ...
1
vote
1answer
32 views

How to secure persistent user data with docker on client location?

everyone! I'm working on a system where a dockerized application must run on client side machines (Ubuntu PC), with some sensitive data that must persist between runs that we want to limit access to. ...
1
vote
0answers
193 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage?

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
1
vote
0answers
739 views

Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job

I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication ...
1
vote
0answers
20 views

Docker Containers fails to DNS resolve on subnet 10.0.2.0/24

The ultimate problem I am facing is this: [root@527eb70c04c9 my-service]# ping google.com ping: google.com: Name or service not known Inside my container, I can't resolve public domains, although ...
1
vote
0answers
15 views

How to handle Webhook Endpoint that is behind an OAuth Redirect?

ers! I am trying to connect a webhook from GitLab (external standalone) to Jenkins (a pod on Openshift) However, when anyone tries to log onto Jenkins, they are redirected to Openshift first, asked ...
1
vote
0answers
15 views

Flow for Confluent Plugins on Kubernetes

Our team is developing Confluent/Kafka Source Connector-plugins. Do you have any ideas on how to install/upgrade the plugins? How is the flow (git -> Jenkins -> running Source Connector) supposed to ...
1
vote
1answer
116 views

Tfs octopus migration to k8s and docker

My current client uses .net and .net core, tfs and deploys via octopus. They want to use helm, k8s and docker. With all of the environments, env variables are already in octopus. I am thinking to ...