Questions tagged [docker]

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

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
1k views

How to 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 ...
2
votes
0answers
11 views

Spinnaker not showing images in pipeline trigger

I have a Spinnaker pipeline which I am trying to add an automated trigger from an ECR repo. Spinnaker lets me add the docker registry as per the following spinnaker doc link, however I am unable to ...
2
votes
1answer
330 views

EKS node cannot pull docker image from ECR: “no basic auth credentials”

Using the eksctl tool, I created an EKS cluster with 5 nodes. My application's docker images are stored in ECR registries in the same region. I deployed my kubernetes cluster and everything has been ...
2
votes
1answer
72 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
23 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
14 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
15 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
35 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
56 views

What are Deis Workflow Alternatives?

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 ...
2
votes
0answers
265 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
248 views

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
947 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 ...
1
vote
0answers
34 views

AWS ECS Overwrites Docker Entrypoint Command?

So I've built a docker image locally with packer. When running the image locally, everything is fine. But for my deployment I've uploaded the docker image to the ECR and started it on ECS. However ...
1
vote
0answers
21 views

No Such Host: Kubernetes/Docker cannot pull from private k8 registry

I have a private docker registry in k8 in the default namespace with tls at https://docker-registry.default:5000. By doing local port forwarding to it(at port 5000) and adding docker-registry.default ...
1
vote
0answers
17 views

Allowing all apps/users access to folder - S3FS-FUSE

I'm running an application on AWS EC2 Ubuntu instance, here's what I've done: - I've mounted S3 bucket as folder with s3fs-fuse using this command (unfortunately as root : sudo): sudo s3fs ...
1
vote
0answers
20 views

How can I use multiple docker images within one docker build of packer

I am using hashicorp packer , but I have one confusion . How can I use multiple docker images within one docker build json file of packer . In my build project if I need to use different docker ...
1
vote
2answers
37 views

Find most popular images with `zip` and `git` on Docker Hub

To speed up builds, I'd like to avoid install tools that I need on every commit with apt-get update -y && apt-get install -y git zip. Normal way is to create custom build image, register at ...
1
vote
0answers
24 views

Difference between linux/arm/v7 and linux/arm architectures on Docker

Looking at docker images on dockerhub under the official arm32v7 user, I noticed that there were some inconsistencies. Some image OS/Architectures show up as linux/arm, and others show up as linux/arm/...
1
vote
0answers
18 views

Issue connecting to Consul from inside container

I'm working on Dockerizing some applications and currently Consul runs locally on my laptop but eventually will be on Kubernetes. I have a Node.js application that even though I can connect and ...
1
vote
0answers
44 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
68 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
0answers
19 views

OpenVPN in Docker has weird networking

I have OpenVPN server alongside with DNS server and Nginx proxy. The problem is when I assign both networks to openvpn container, I'm only able to access dns network, not proxy network. I am able to ...
1
vote
0answers
81 views

Trying to start ELK APM container on AWS but no environment variables takes effect

I am trying to run ELK APM - application performance monitoring container on AWS. Image: docker.elastic.co/apm/apm-server:7.3.1 Port mapping 8200:8200 and setting Environment variables output....
1
vote
0answers
37 views

Problem with build jenkins on Docker 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
200 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
2answers
374 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
898 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
877 views

Docker compose curl healthcheck on official nginx image not working

We have the following DockerFile FROM nginx RUN apt-get update && apt-get install -y curl \ && rm -rf /var/lib/apt/lists/* COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 443 WORKDIR /...
1
vote
0answers
77 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-...
0
votes
0answers
7 views

Are there arguments against using “imagization" tools in the literature and if so, what are the main ones?

Although I never used an "imagization" tool (for example, Docker) I understand a container as an instantiated (running or stopped) image which in plural are simply put, a server environment and ...
0
votes
1answer
34 views

Does running kubernetes on a single machine make sense?

I have been using docker-compose before but now I am looking for an orchestration tool to handle deployment and management of docker containers. I have only a single Linux server and scaling is not ...
0
votes
0answers
18 views

Problem deploying Docker Container from ECR on EC2 with Ansible

So, This question is tightly related to my previous one, which turned out to be a consequence of a different issue. To ensure every confusion is cleared up, I decided it is better to make a new ...
0
votes
0answers
16 views

Bind Docker Volume append-only

Is there any possible way to mount an volume (or file of volume) in docker as append only? chattr +a <filename> seems to be ignored by docker containers (--cap-add LINUX_IMMUTABLE to make it ...
0
votes
0answers
8 views

Configuring Docker containers running Jira to communicate with one another over multicast

I am working on building out an Atlassian Jira Data Center deployment using Docker containers (provided by Atlassian) and running on ECS. My current challenge is that Jira uses Ehcache to sync ...
0
votes
0answers
11 views

docker-compose volumes issues with Docker Toolbox on Windows 10

I'm using Docker Toolbox on Windows 10 and have enabled Shared Folders settings with the correct custom paths in VirtualBox where the project is located: I have set up Dockerfile and docker-compose....
0
votes
1answer
68 views

Unable to get Helm to work with ECR

I'm using Helm v3 with AWS ECR on a Kubernetes cluster that was creating using Kops. I have checked and the role kops assigned to the nodes does have ECR permissions. When I deploy my helm chart I ...
0
votes
1answer
186 views

Kubernetes installation, configuration and verification in a local environment

I am a regular user of Docker since a few years and I have the Docker service installed and running locally on my Win10Pro host. It works well. Now I want to get started with Kubernetes so I used the ...
0
votes
0answers
13 views

Are there any multi-host container orchestration tools which allow USB device mapping? Or any production grade solutions/hacks?

Docker provides a --device flag for individual containers to map device ports (USB devices for example; ttyUSB0, ttyACM0) at run-time. This feature is great but seems to disappear when we abstract ...
0
votes
0answers
14 views

Scheduler for Machine Learning tasks

I have an application offering services where some of them depend on various machine learning/image classification libraries (PyTorch, Tensorflow and Keras). I'm looking for an architecture or ...
0
votes
0answers
54 views

GitLab runner not able to fetch AWS ECR images in the current AWS account

GitLab and GitLab runners are running on the same host (I know how bad it is). There is an IAM Role attached to the EC2 on which GitLab is running. This IAM Role gives the permission to perform some ...
0
votes
0answers
20 views

Gitlab CI: Curl to localhost slows down over time?

I've been trying to make a GitLab CI job work, but I am not allowed to change the basics (e.g. stages, starting image). The code is using Python/Flask API which accepts a POST request with CSV data, ...
0
votes
0answers
13 views

Azure ASP.Net deployment failing with error 503 for a Staging environment

I have an ASP.Net Core app that we're trying to deploy to azure with the hosting environment of Staging, but whenever we set this all we get from Azure is 503 (service unavailable) error messages. ...
0
votes
0answers
29 views

How to run an eclipse java application on Docker?

I have Dockerfile with this text: FROM java:8 COPY . /var/www/java WORKDIR /var/www/java RUN javac Sample.java CMD ["java", "Sample"] I am ok to build this Dockerfile and to run that image. But I ...
0
votes
0answers
18 views

Docker machine would give up to generate new CloudStack machines in GitLab autoscaling context?

How comes that GitLab gives up on generating new runners? We use an autoscaler setup with: Docker machine 0.16.1 Apache CloudStack driver One autoscaler works fine. But in the other region the ...
0
votes
1answer
34 views

Continuous integration using bitbucket pipelines failed for OpenEdx

I am trying to set up CI process using bitbucket pipelines for my Openedx site. The script that i am using in my bitbucket-pipelines.yml file is given below. I am trying to just set up the build ...