Questions tagged [docker]

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

192 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
90 views

Docker machine connection with https

I am new to Docker .I am install docker tool box on my window machine . Using pom.xml i want to generate docker image . pom.xml:- <plugin> <groupId>com.spotify</groupId> <...
0
votes
0answers
46 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
35 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
21 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
174 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
283 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
26 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
40 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
2answers
28 views

Is this okay to use double proxy-server setup (on host and in container) on one machine?

One nginx server on host machine with renewable certificate (via certbot). And another nginx server inside docker container. First one should redirect all traffic to the second one. Currently I have ...
0
votes
0answers
48 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
281 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
23 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
1answer
49 views

How can container user and host user both have access to same files in volume?

I'm using Docker namespaces in an effort to allow files created within a volume to be arbitrarily read and written to by both the container user and the host user (please let me know if this is even a ...
0
votes
3answers
97 views

How to get exposed ports from inside of container?

I want to know which port(s) are exposed when user run the image. docker run -p 1000:1234 myimagename I want to get 1234 value in container since I will use it for some configurations(IIS bindings ...
0
votes
0answers
29 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
74 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
34 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
97 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
1answer
324 views

packge.json not found while executing on Jenkins

My Dockerfile looks something like this. FROM mhart/alpine-node:8.11.3 RUN mkdir -p /app COPY ./ /app WORKDIR /app/build RUN yarn global add serve CMD ["serve", "-l", "3000"] EXPOSE 3000 And ...
0
votes
0answers
90 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
50 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
205 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
312 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
307 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
649 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
44 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
117 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 ...
0
votes
0answers
69 views

Login to docker registry using chef

We want to create a chef recipe which can able to login to docker registry and pull some images. I have tried using docker_registry resource as mentioned here https://github.com/chef-cookbooks/docker#...
0
votes
0answers
39 views

Not able to install Docker CE 17.x or 18.x on RHEL Linux

I am trying to install docker latest version using the below curl commands: $ curl -fsSL get.docker.com -o get-docker.sh $ sh get-docker.sh But this script is not working for my RHEL 7.x Error : ...
0
votes
0answers
114 views

How to intercept and redirect network communication inside docker containers?

I am fairly new to Docker-compose and have been tinkering around a bit. in the process, i came across a requirement where i need to close down external internet traffic, and redirect requests to ...
0
votes
0answers
443 views

Use Traefik with Jenkins don't work

I'm trying to use Traefik with a Jenkins container, but it does not work. This is my docker-compose.yml: version: '2' services: jenkins: image: bitnami/jenkins:latest # ports: # - '...
0
votes
0answers
85 views

Best alternative to deploy/update docker using Jenkins for CI/CD

I'm running Jenkins as a docker image, and I'm looking for the optimal way to deploy new (or update existing) docker images (example staging and prod environment). I've founded this example : https://...
0
votes
0answers
350 views

ECS task fails to start when deploying Docker multi container App in Elastic beanstalk

I have a beanstalk application environment that use multi container docker instances.I have also pushed an image(simple app running a simple node js) to my ECR repository.But whenever i try to ...
0
votes
0answers
69 views

How to detect exception occured in a Pod in Kubernetes?

I have a multinode kubernetes cluster. Multiple services are deployed as Pods. They communicate over each other via rabbitmq which also exists as Pod in the Cluster. Problem Scenario: Many time ...
0
votes
2answers
51 views

Docker build not picking up built jar?

I am new to the DevOps world but I am trying to build a pipeline using Jenkins and Docker. I have Jenkins building the docker image by: docker build -f Dockerfile --build-arg jenkins_jar_file=${...
0
votes
0answers
423 views

Enabling Docker containers to connect to Internet from laptop while running only on WiFi

These are the network interfaces I have on my Debian Linux Stretch laptop ~$ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:...
0
votes
0answers
18 views

Preparation Failed Error on Centos

I'm trying to use Gitlab-Runner with Docker running on Centos to do some CI shenanigans, but I keep getting the error ERROR: Preparation failed: error during connect: Get http://%2F%2F.%2Fpipe%...
0
votes
0answers
101 views

Saving core dumps when AWS restarts a docker container

I have a Java Spring application running in a Docker container on AWS. When the Spring process is dead, the AWS is configured to automatically restart the Dockercontainer. This deletes any heap dump ...
0
votes
1answer
240 views

Java ReST service running on docker but not accessible

I am new to Docker Docker version 18.03.0-ce, build 0520e24 running on RHEL 7. I created a simple ReST service using the Spring tutorial. The uber jar runs fine on my windows machine and I am able ...
0
votes
0answers
137 views

Connect to Container over local network from iPad to Windows 10

I am running a website using Docker for Windows on my Windows 10 machine but need to test on an iPad. This is easily done on my Macbook - just visit the ip of my Macbook on the network (I tether using ...
-1
votes
0answers
7 views

Definition of Vulnerability Severities DTR

Where can I find documentation on how vulnerabilities are categorized in DTR vulnerability scans? I have not been able to figure out exactly what Critical, Major, and Minor means.
-1
votes
1answer
242 views

Accessing container by domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...