Questions tagged [docker]

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

182 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
11 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
84 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
40 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
264 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
45 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
1answer
602 views

How to change Xmx settings for sonar runner?

This Question has been answered on Stackoverflow, the below answer is partly correct but cannot be accepted due to a pending review. I have a Sonarqube instance running as a docker container. Since I ...
3
votes
0answers
1k 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
443 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
3answers
103 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
24 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
44 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
46 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
228 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
42 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
194 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
692 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
137 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
68 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
35 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
45 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
317 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
12 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
18 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
14 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
14 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
35 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
10 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
20 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
32 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
49 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
63 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
26 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
30 views

Is it allowed to remove mounted directory from inside Docker container?

I have a container which is based on tomcat image and I have mounted 'webapps' folder to hosted machine directory '/app/webapps'. Now for some updations I want to remove this webapps folder from ...
1
vote
1answer
51 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 ...
1
vote
1answer
98 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 ...
1
vote
0answers
68 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
1answer
47 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 ...
1
vote
0answers
597 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
18 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
105 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 ...
1
vote
1answer
32 views

How to install docker in Raspbian Virtual Machine

I first installed docker in raspberry pi using: https://iotbytes.wordpress.com/setting-up-docker-on-raspberry-pi-and-running-hello-world-container/ which successfully did. I tried doing the same with ...
1
vote
0answers
732 views

How do I fix a “heartbeat failure” in Docker Swarm?

My cluster is currently located in a single data center. I've been trying to change that by adding a single worker node from another data center, but so far it hasn't worked. I'm able to make this ...
1
vote
2answers
85 views

Manage Docker images and their child images in a pipeline

I have various Jenkins agents images and I am trying to add automation to it. I have a base java image called agent-base and those who inherit from that one. Eg: agent-ansible, agent-terraform and so ...
1
vote
0answers
166 views

Error running Team City build step in Docker image: "ENOENT: no such file or directory, lstat 'C:\ContainerMappedDirectories'

I'm running a Team City build that runs a command line step in a Docker image (stefanscherer/node-windows:8.11.2-nanoserver). The step is simply this: npm install Note that Team City allows you to ...
1
vote
1answer
26 views

Set container registry auth key via command line/env variable

I'm trying to set up Jenkins CI pipeline which will be used to build docker images. I have my auth key stored in Jenkins credentials and I want it to be loaded on start in placed in some environment ...
1
vote
0answers
68 views

Dedicated physical network interface to containers in an isolated way?

I haven't found what I want to do though it seems basic architecture. On my host I have multiple physical interfaces and docker0 by default (that is connected to which interface?!) One interface ...
1
vote
0answers
137 views

Using IPTable to restrict traffic to a Docker container

I've spun up a web server that listens on port 8080 like this: # docker run --rm -p 8080:8080 python:3.6 sh -c "cd tmp && python -m http.server 8080" I want to dynamically adjust iptables ...