Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker]

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

3
votes
0answers
219 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
34 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 ...
2
votes
0answers
41 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
0answers
196 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
0answers
178 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
597 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
122 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
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: ...
2
votes
0answers
63 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
44 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
977 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
294 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
3 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
9 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
20 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
15 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
0answers
26 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
347 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
17 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
14 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
14 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
0answers
33 views

Docker: subnet clients can't ping other subnet

Two containers are created with this Dockerfile: FROM ubuntu:18.04 RUN apt update && apt upgrade -y && apt install -y vim iputils-ping net-tools tcpdump iproute* iptables traceroute ...
1
vote
0answers
530 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
0answers
137 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
0answers
56 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
115 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 ...
1
vote
0answers
398 views

Docker container is losing network connectivity regularly

I have a docker container that runs on a Debian instance in the cloud. Everything runs ok, but after approximately one day, container loses connectivity and docker info returns a warning about ...
1
vote
0answers
55 views

How to avoid running on the same docker swarm node when healthcheck fails x times

Let's say I have the following setup: swarm-00: Manager swarm-01: Worker swarm-02: Worker Now I start a new nginx service docker service create --replicas 2 --health-cmd /check.sh --restart-max-...
1
vote
0answers
93 views

How can I make my clients (host) use my Squid proxy inside Docker container?

As an Example, I have 1 client (IP: 192.168.0.200) and 1 host (IP: 192.168.0.15). If client want to connect to the internet, then in host will be created container which contains squid proxy (I pull ...
1
vote
0answers
495 views

Understanding Docker swarm networking and ports accessibility on the host

Given the simplest example, the test swarm consists just of one node so all containers run in one place. The stack is setup to run in a custom Docker network; the containers are not directly mapped ...
1
vote
0answers
38 views

Docker for Windows - How to increase verbosity when doing a `docker build`

I find that when I'm building Docker containers in Windows I find myself waiting a lot with little information. By contrast, builds in Linux show lots of useful information. How can I get verbose, ...
1
vote
0answers
492 views

How to write Apache airflow dag for file watcher

Problem statement- New files arrive on NFS and looking for a solution (using Apache airflow) to perform continuous NFS scan (for new file arrival) and unzip & copy file to another repository (on ...
1
vote
0answers
33 views

How To Access Docker Client From Cloud Cluster

I am trying to create a Kubernetes Deployment out of a third party library related to my other question. This library requires pre-pulled docker images and will temporarily launch the containers as ...
1
vote
0answers
102 views

Running MySQLite3 with PHP PDO in a Docker Container

I'm currently trying to build a site in a Docker container running in an Ubuntu VM, which has Apache and PHP installed already. I want to be able to access Sqlite3 features with PHP using PDO. ...
1
vote
0answers
237 views

How to get eth1 ENI on AWS Instance to Respond to NodePort Requests?

Kubernetes 1.5 cluster running in AWS. Node1 (worker) has an additional network interface assigned to it with a static IP, so if you run "ip addr show" on the node you see eth0, eth1, and the gang of ...
0
votes
0answers
3 views

Inspecting UDP GELF traffic with tshark

I am trying to troubleshoot docker container that should send logs to Kibana using GELF log driver. The container is configured with docker-compose.yml below. services: app: ... logging: ...
0
votes
0answers
11 views

Build custom Linux distro ISOs with Docker?

Is it actually possible to use Docker containers as build environments for popular Linux distros like Ubuntu, Debian, CentOS, CoreOS or will be there some limitations? That is, output would be an ...
0
votes
0answers
8 views

Does Docker Swarm have anything comparable to StatefulSets?

Our company uses Docker Swarm and we need to create a task id registry in order to horizontally scale numerous high memory model service replicas across our computer cluster and subsequently control ...
0
votes
0answers
14 views

Restart service in a docker container

I'm building a docker container with a service X. I would like to restart service X programmatically from other micro-service in other container. At the moment, we developed a small Flask app that is ...
0
votes
0answers
20 views

helm - cannot get resource “namespaces” in API group

I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it $ helm install stable/kubernetes-dashboard --name ...
0
votes
0answers
12 views

How does Joyent ContainerPilot stand vs Kubernetes?

We are at the point of laying out a major healthcare interoperability project based on docker. Think of this as hundreds of systems (of the same type, but different versions), sending hundreds of ...
0
votes
0answers
21 views

how to install docker-php-ext-install mssql

I have a legacy query that uses @mssql_connect. $this->_linkIdentifier = @mssql_connect($this->_host, $this->_username, $this->_password); var_dump($this->_linkIdentifier);die(); I ...
0
votes
0answers
5 views

Docker Hub Build triggers with POST URL

Docker Hub used to have a nice system for build triggers with a URL which would be called with curl using POST and a bit of json. Their new setup also has 'Build triggers' which offers to 'Trigger ...
0
votes
0answers
7 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-...
0
votes
0answers
18 views

Container unable to connect to external Oracle DB only on specific host!

I have built an image based on the corporate JDK image for our Java application, which needs to connect to Oracle DB. I deployed it using docker stack on TWO other servers in another availability ...
0
votes
0answers
18 views

Environment variables inside the container during use “exec”

I want to run a command outside the container through "exec", which would be executed respectively inside the container. The command runs cmake, which uses environment variables that are already ...
0
votes
0answers
14 views

Where to get the --generic-ssh-key for the docker-machine create --driver generic command?

I've created a docker-machine on AWS EC2 using: $ docker-machine create --driver amazonec2 aws01 in the terminal of my Ubuntu desktop computer. Now I want to reconnect/reattach myself to this ...
0
votes
0answers
25 views

Building ASP.NET core app with dockerfile in Jenkins

I have a GitHub Enterprise repository which contains an ASP.NET Core WebAPI sample project with just ValueController. I also have access to Jenkins instance most probably running on Docker somewhere ...
0
votes
0answers
18 views

Can I contact another service during the build phase of docker-compose?

I have a web application image (web) and a database image (db) that needs to be run using docker-compose. Since my web app needs a content management system to be installed as well, I would like to ...