Questions tagged [docker]

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

2
votes
3answers
94 views

How to structure a IaC for production, and development?

We have a typical multi layered web application: a balancer, 2 web server 2 db server. I feel we strongly need to start using a kind of Infrastructure As Code in order to replicate easily ...
2
votes
3answers
45 views

Cross region replication of Redis Docker container data

I am looking for some help with figuring out a way to take a Redis Docker image and then do near real time replication of the data to another server maybe over an SSH tunnnel. I need this to be able ...
0
votes
3answers
79 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 ...
1
vote
2answers
83 views

Manage Docker images and their child images in a pipeline

I have various Jenkins agents images and I am trying to add automation to it. I have a base java image called agent-base and those who inherit from that one. Eg: agent-ansible, agent-terraform and so ...
1
vote
2answers
465 views

Join a Linux Docker swarm with a local Windows Docker for test purposes

I'm currenlty trying to connect/join a Linux Docker Swarm cluster with my Windows machine in order to test a stack without sending the stack over and over to my test cluster under Linux. My problem is ...
0
votes
2answers
16 views

How do i specify the path of a Dockerfile using Blue Ocean

I want my pipeline created using Blue Ocean (Jenkins) to build with a dockerfile that is not in the root of the git repo. How do I achieve this? Our git repo is a collection of sub-projects with each ...
0
votes
2answers
94 views

How to run multiple containers with port expose

I have 2 images on my docker toolbox, for jenkins and for artifactory. I can use the command "run" for each to create a running container, jenkins on port 8080 and artifactory on oprt 8081, using the -...
0
votes
2answers
383 views

Jenkins Dockerfile declarative pipelines: getting the built image tag

I'm trying to get the image tag generated with the help of the dockerfile agent in Jenkins declarative pipelines. This Jenkinsfile is incomplete though, because I still need the deployment steps. ...
0
votes
2answers
27 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
2answers
43 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
1answer
33 views

How can I change Docker Image Repo Path in Docker Registry?

I pushed 10+ images in local-registry, but I pushed them with the wrong path. The wrong repo path: local-repo:5000/docker-local/sla/sla/actuator:0.0.1 It should have been path: local-repo:5000/...
0
votes
1answer
63 views

What is the difference between dockerd and com.docker.service in Docker for Windows?

What is the difference between dockerd and com.docker.service in Docker for Windows? Or rather I should ask: why do I need (if I need) com.docker.service running? Intention: I want to use Docker only ...
0
votes
1answer
391 views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
0
votes
1answer
38 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
0
votes
1answer
841 views

Using volumes on AWS fargate

I am new to fargate and even dockers. But I have used dockers for a couple of months. Only now, I am using fargate. I create a particular docker instance as follows: docker run -v localHostFolder/...
0
votes
1answer
296 views

Very slow network when serve container content via Nginx after published Docker port

What I have created is: I have a Docker container that is published the port "3000:3000". If I'm accessing the container in this way: http://example.com:3000 everything is working great. The ...
0
votes
1answer
60 views

Install MDB2 in docker container while PEAR is down

While pear is down, the following instruction in my dockerfile is failing: RUN pear install -o --alldeps MDB2-beta && \ I've searched on the internet how to install MDB2 without pear, ...
0
votes
1answer
57 views

PHP-FPM with Nginx in different containers (share init.d response between)

I have a Docker setup for my project with PHP-FPM, Nginx and many other services required by the application, but inside the PHP app I've to check the init.d/nginx configtest for new dynamic Vhosts (...
0
votes
1answer
66 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
1answer
45 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
1answer
256 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
1answer
175 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 ...
-1
votes
1answer
218 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 ...