Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [docker]

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

166 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
3answers
57 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
1answer
147 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
48 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
319 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
51 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
456 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
7 views

Tunnel docker traffic though VPN or SSH, during build stage

Well, the title says all. I have no success trying to route docker's network traffic through an active VPN connection (openconnect) or SSH tunnel (sshuttle). Docker creates a virtual network interface ...
2
votes
0answers
13 views

Can you use docker-machine from Bitbucket Pipelines?

I have some servers where I have nginx installed on the base system in reverse proxy mode, and then use Docker deployments to push out containers where just the local HTTP port is exposed. We don't ...
2
votes
0answers
11 views

Issue building deb package using Docker/Windows

I am trying to create a way for our developers to be able to build deb packages from their Windows machines. We would like to reuse what we have for *nix so I've written a few batch scripts which are ...
2
votes
0answers
11 views

Access private DockerHub repo in Docker Swarm

I am trying to deploy a docker swarm using Digital Ocean's docker-machine driver. This is currently a single node that contains several public DockerHub images, and one private. I am having ...
2
votes
0answers
25 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 ...
2
votes
1answer
93 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
432 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
0answers
262 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 ...
2
votes
1answer
66 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
167 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
28 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
46 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
247 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
47 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
221 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
800 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
159 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
333 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
34 views

Trying to migrate CI/CD process from Jenkins to Gitlab Runner + Docker on Windows

I need to improve the CI process of my projects, which is basically composed of the following things: a Linux server, that contains a Jenkins master a VM with Windows 10, with a Jenkins slave, ...
1
vote
0answers
36 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
36 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
18 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
37 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
28 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
27 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
140 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
1answer
24 views

Ruby and Rest service in Docker

I am new to DevOps on the Ruby stack. I have Ruby on Rails application. It uses several Rest based service. Each of the services is deployed with Docker. There are no DevOps efforts now. We use Gitlab ...
1
vote
0answers
16 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
107 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
16 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
39 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
123 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
667 views

How do I make NFS volumes reliable in Docker?

I host various docker containers on my Ubuntu 18 machine. A few of them require storing their data on my Synology NAS. At first, I was using the host machine's /etc/fstab to control NFS mounts, which ...
1
vote
1answer
67 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
208 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
49 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 ...