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
236 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
38 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
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
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
0answers
208 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
183 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
630 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
126 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
64 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
303 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
10 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
24 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
11 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
28 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
20 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
48 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
470 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
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
626 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
149 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
59 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
131 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
428 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
56 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
95 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
506 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
505 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
36 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
105 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
245 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
4 views

How to build asp core 2.2 linux image on Hosted Windows 2019 with VS2019?

I'm currently redefining our build pipeline and build our sources by using the VM image windows-latest which currently resolves to Hosted Windows 2019 with VS2019. After calling publish I get my ...
0
votes
0answers
9 views

Harbor replication to docker.io

How do you configure Harbor to pull images from a 3rd party registry such as docker.io? I've setup a replication rule, and enabled it, but I can't pull any images. It looks more like replication wants ...
0
votes
0answers
4 views

Issues trying to run multiple php-fpm containers for different environments for the same application behind a traefik proxy

I am setting up a live and test environment for a website I am hosting. Currently, I am facing issues and I can't seem to figure out why it is happening. I am using a MySQL, Nginx and PHP-fpm ...
0
votes
0answers
16 views

Docker fails to mount volume inside Jenkins scripted pipeline

I'm working on a CI Jenkins build with scripted pipeline. From Jenkins on one machine, I'm connecting with already configured Jenkins slave on another machine (M2). I'm able to successfully execute ...
0
votes
0answers
12 views

Store Docker memory?

Docker daemon allows, use memory storage driver according to image documentation. I want to learn the experience of people who are using Docker daemon for daily business?
0
votes
0answers
15 views

Certbot installation fails inside Docker

What I'm trying to do, to create a Docker container with apt-mirror which also uses Cerbot for Letsencrypt with nginx. There is an image for nginx/certbot but it's based on Alpine Linux (=no ...
0
votes
0answers
7 views

No swap limit support - docker engine

Below command gives a warning of no swap limit support. $ docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 18.09.5 Storage Driver: overlay2 Backing Filesystem: ...
0
votes
0answers
4 views

WebPack 4 command hangs when deploying to GAE (Google App Engine Flexible)

We have a React/Node/WebPack application. We used to deploy it in GAE Flexible for the past 2 years or so. Recently we updated our libraries to React 16, WebPack 4, and Node 10. Since we merged the ...
0
votes
0answers
23 views

Increase Kubernetes Nginx Ingress limits for large images in Docker registry

When pushing images to a self hosted Docker registry installed using their official helm chart, this works for some images. But for one image, I'm not able to push two layers. Docker retry it several ...
0
votes
0answers
20 views

How do i configure my docker services to communicate with one another in a swarm?

I'm trying to fix service-2-service dns inside my swarm. I'm instantiating 3 docker swarm services using the docker remote api. They startup fine, and i can access their content from inside the ...
0
votes
0answers
13 views

Install and configure libreoffice online docker image on ubuntu 16

I have downloaded libre office online docker image from docker hub and type the necessary commands to run it.If I type docker ps I can see container is there.But I want to know how I can get the libre ...
0
votes
0answers
10 views

Why can I connect to my docker socket.io server with http but not directly to the socket?

I am following this tutorial on creating a docker/socket.io/aws app. Following the tutorial completely, the app works. However, if I try to access the socket from outside the self hosted client I can ...
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: ...