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

0
votes
0answers
13 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
12 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
25 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
127 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
14 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
25 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
11 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
17 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
21 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
15 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
27 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 ...
0
votes
0answers
33 views

Trying to install MySQL on Docker

I have the weirdest case I have ever seen. It's my first time trying Docker and I know some stuff I do are not the best patterns but basically I'm trying to create a Docker container that contains all ...
0
votes
0answers
47 views

Can I configure a swarm node to automatically pull latest images and restart containers?

Right now I'm using Docker Compose to host 15-20 services for my home lab. All of these are running on a single machine which is physically in my house. I have no interest in scalability (i.e. ...
0
votes
0answers
10 views

Possible to preferably route incoming traffic to local task(s)/container(s) on worker in a swarm cluster?

I know the mesh networking and ingress load balancing is a great thing about swarm, but I was wondering if there a possibility that when a swarm worker receive a request, it always forwards it ...
0
votes
0answers
22 views

POST larger than 400 Kilobytes payload to a container in Kubernetes fails

I'm using EKS (Kubernetes) in AWS and I have problems with posting a payload at around 400 Kilobytes to any web server that runs in a container in that Kubernetes. I hit some kind of limit but it's ...
0
votes
0answers
23 views

App engine Flexible environment - Readiness check not working properly

I am deploying a django application to Google Cloud App engine flexible environment due to the need of a third party non-python library. However, I have trouble starting it properly. If I just choose ...
0
votes
0answers
80 views

Using application config file kubernetes configmap for mongodb failed when pod is deployed

Using helm to create my own chart to deploy an instance of mongodb on kubernetes cluster, I am using a custom configmap for having my own mongo configuration. My config map is looking like this: {{- ...
0
votes
0answers
28 views

Can't access docker container from outside

I'm trying to connect to a container in a CentOS machine and after searching for a solution on the internet, I still can't do it. In fact, I have two CentOS machines and on both I have the same ...
0
votes
0answers
16 views

Can't reach by REST API one site from another which are both on the same docker container

I have a docker that works through docker-compose.yml On one container there is an Nginx and several virtualhosts on it with sites I'm trying to get to one site from another by REST API When I make ...
0
votes
0answers
26 views

Remote Maven build server

Is there any way how to remotely build maven projects. I want to use remote maven container for this, but the problem is with caching of the downloaded dependencies (as it is not always easy to ...
0
votes
0answers
19 views

Docker disk space required using over 100 gigs

I currently followed a tutorial to install Docker on an external drive and it quickly sucked up a bunch of the disk space. I'm running over 100 gigs for docker. It seems to be an exaggerated about ...
0
votes
0answers
25 views

Regarding changing IP address configured in xml files of JENKINS_HOME directory based on container IP address

I have jenkins installed and running in a remote machine. Planned to move this complete setup to container environment, so took the complete backup of JENKINS_HOME directory of the remote machine to ...
0
votes
0answers
14 views

Interface from systemd-machined.service to container and VM managers

machinectl(1) states the following: systemd-machined.service(8) also interfaces with a variety of other container and VM managers, systemd-nspawn is just one implementation of it. What are the ...
0
votes
0answers
12 views

Is K8S dashboard recommended for production ready server?

I saw many tutorials show how to setup k8s dashboard UI for development which will be access from localhost. Can it be used for production server too? If yes, how to setup it on production master ...
0
votes
0answers
46 views

Golang, Jenkins and Kuberentes | Readiness probe failed on health check

I'm trying to deploy my buffalo golang app to Kubernetes over Jenkins. When I deploy the app it passes all phase but the pod isn't ready. I get the following error when I describe the pod: ...
0
votes
0answers
34 views

How to build docker image from git repository with root context and Dockerfile inside a subdirectory

In the docker documentation one can see that it is possible to build an image from git repository. It is even possible to make a build from the selected branch and directory. I have a repository with ...
0
votes
0answers
32 views

Do I need UCP layer 7 routing or can I configure this with nginx?

I have an application that I want to run in high availability and I am wondering if I need the Docker EE with UCP to configure the layer 7 routing or can I use nginx for this? I know I can use UCP, ...
0
votes
0answers
30 views

Harbor registry installation/upgrade

I recently started working with docker image registry called Harbor. I could not find any tags related to that. My scenario: In one of the servers at work, there is harbor installed, along with ...
0
votes
0answers
14 views

Failing at multi-command ReadinessProbe that I feel should work

Having a bit of trouble trying to get a readiness probe command working. Every external service / app of ours exposes an /up endpoint whose body contains the SHA of the current release. I’m trying to ...
0
votes
0answers
124 views

ucp-reconcile container exited with status code:

I am getting this error when trying to install UCP 3.1.1. The command used to run the UCP is : sudo docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp:3.1.2 ...
0
votes
0answers
115 views

Dockerfile: How can I input an enter when in interactive .sh installer?

I want to create a Docker image based on Ubuntu image FROM ubuntu:16.04, I have a program to install from a different vendor. It is an .sh interactive installer. It requires the button enter to be ...
0
votes
0answers
19 views

Docker DNSRR and windows ping

I have a .NET Core application in the linux container running on the linux host - 2 replicas. Additionally I have a container with nginx server as a load balancer (also on a linux). This load balancer ...
0
votes
0answers
38 views

Docker service host is not available inside container

I am trying to create a mongodb cluster based on this resource. The service host name is not available inside the container. I followed the following steps: Creating virtual machines: docker-...
0
votes
0answers
47 views

After pushing to registry Jenkin's settings are reset

I want to download Jenkins image from repository, configure it and push it to docker registry. But, when I push it to registry no changes are applied. I do following: docker pull jenkins/jenkins ...
0
votes
0answers
171 views

Permission issue with Persistent volume in postgres in Kubernetes

I know this question has been asked repeatedly but not fully answered. I have a postgres running in as root user in a container which is using the persistent volume. But it seems like there is ...
0
votes
0answers
21 views

How do I get Jenkins to work in a Docker container without modifying a directory on the Docker host?

I am using RHEL 7.x in AWS. I have Docker 1.13 installed. I checked a variety of ports and no firewall (or Security Group) seems to be blocking network connectivity on the EC-2 host. I tried this ...
0
votes
0answers
25 views

Retaining temporary job side containers with GitLab runner

If you run a specific GitLab runner (i.e. a CI build agent) as a Docker container, it would spawn temporary side containers and remove them after job exits. Is there a way to tell the runner to ...
0
votes
0answers
59 views

How to filter the ingress traffic to a docker container by changing IPtables in docker host machine

There is an apache server is started in a docker container and it acquires following IP address 172.21.0.3 The gateway IP and prefixlen is as follows 172.21.0.1/16 and the virtual interface attached ...
0
votes
0answers
28 views

Why do `docker info` and `docker df` show different amounts?

I’m using Docker with Amazon ECS, using Amazon’s default AMI. The Docker version is 18.06.1-ce The docker daemon is crashing, I think because it’s running out of thin pool space. When I run docker ...
0
votes
0answers
67 views

Zabbix on docker containers

I want to build highly available Zabbix service for my infrastructure. I am considering it on VMs or in containers. I already know the case of running Zabbix in VM, yet I am not aware of pros, and ...
0
votes
0answers
69 views

Docker for Win10 + Linux Containers + tmpfs

I've been using WSL as a GNU/Linux development and test environment for a couple months (love it), but I have just run into my first major snag while playing with nuster and seeing much slower than ...
0
votes
0answers
38 views

Is there a way to use Python library, pyjulia and Julia library PyCall (which inter-operate with each-other) using two containers rather than one?

I would like to base base off of the official language Dockerhub images of Julia and Python. The libraries of interest are Python library pyjulia and Julia library PyCall. I know I could install both ...
0
votes
0answers
167 views

How can I configure logstash-input-s3 in Dockerfile

I installed https://hub.docker.com/r/sebp/elk/ then looked at Installing Logstash plugins. I modified the example to install logstash-input-s3: FROM sebp/elk WORKDIR ${LOGSTASH_HOME} RUN gosu ...
0
votes
0answers
212 views

Docker windows server core images not available

I am running docker community edition on my Windows machine. It is windows 10 professional. I am trying to pull docker image for windows server 2016 using the following command: docker pull microsoft/...
0
votes
0answers
195 views

How to enable CORS in Geoserver on Docker?

I want to enable CORS in Geoserver (installed with Tomcat 8). The goal is to access Geoserver maps from Kibana. I made some changes in tomcat/conf/web.xml. But it only works when I install Geoserver + ...
0
votes
0answers
523 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 /...
0
votes
0answers
34 views

Pushing Docker application logs to Logentries

I see here some official docs for how to push a Docker container's logs to logentries. However, it is unclear whether this pushes application logs, or system logs internal to Docker. And if it does ...
0
votes
0answers
87 views

Using Composer when php-fpm and Nginx is in separate Docker containers

I'm setting up a pipeline for CI, and I have read about pros and cons of having php and Nginx in separate containers. Personally I like how tidy and maintainable it is when its separated, combined ...