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
7 views

Overview of Gitlab CI/CD process for multi-project SOA application. Releasing and Versioning

I have a SOA-application. Each service is a separate project in Gitlab with its own Dockerfile. So, in terms of structure it looks as follows \UserService Dockerfile \src \OrderService ...
0
votes
0answers
5 views

How to run/deploy devilbox (Docker image) docker-compose on GCP without a Dockerfile?

Devilbox comes with a docker-compose file to run a docker container: https://github.com/cytopia/devilbox However, on the GCP Kubernetes Engine it is only possible to start up a new container via a ...
1
vote
1answer
33 views

How to deploy my Express/React app to server with docker-compose and Dockerfiles

Hi, I'm trying to deploy my app to production with Docker, but I struggle a lot. Here is the structure from the root folder : a server folder : runs with Express on port 4000 a web folder : a ...
0
votes
0answers
14 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
16 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 ...
1
vote
0answers
8 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 ...
0
votes
0answers
26 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
1answer
27 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. ...
1
vote
0answers
12 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 ...
0
votes
1answer
42 views

How should I deploy my projects using Docker, Git and VPS?

I have a VPS and am able to connect trough ssh using Terminal. Every project I have are dockerized and have github repositories. Since I am new to deployments so far my deployment process is manual: $...
0
votes
1answer
17 views

How do I create a Docker container which just waits to be shelled into?

I'm testing a Docker container for development. And at the moment I just want to provision it with some libraries. After which I want to connect to it and test that I have all the libraries I need. ...
0
votes
0answers
8 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 ...
1
vote
1answer
36 views

How to connect to host during a Docker build?

I have a Dockerfile which I want to run some tests inside of as part of a multistage build. The tests attempt to make a connection to localhost, however it appears that they're not able to connect to ...
0
votes
0answers
21 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
1answer
16 views

What is DOCKER_CONTENT_TRUST flag?

I am trying to understand this flag DOCKER_CONTENT_TRUST=1 but not able to figure it out. How does it effect pushing images and pulling images, let's say from docker hub?
0
votes
1answer
21 views

How to secure persistent user data with docker on client location?

everyone! I'm working on a system where a dockerized application must run on client side machines (Ubuntu PC), with some sensitive data that must persist between runs that we want to limit access to. ...
-1
votes
0answers
66 views

standard_init_linux:go:207 exec user process caused “exec format error”

I am running Ubuntu 16.04 in a VMWare Pro virtual machine. I am attempting to build a docker file for a raspberry pi. The Docker File is FROM resin/raspberrypi3-debian:stretch WORKDIR /app RUN apt-...
0
votes
0answers
13 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 ...
1
vote
1answer
19 views

Is it allowed to remove mounted directory from inside Docker container?

I have a container which is based on tomcat image and I have mounted 'webapps' folder to hosted machine directory '/app/webapps'. Now for some updations I want to remove this webapps folder from ...
1
vote
1answer
27 views

Best practice for Jenkins docker to deploy to other container

I'm currently experimenting with docker with the potential of using it in future professional projects and am a bit confused about best practices. In my experimental setup I have three docker ...
1
vote
1answer
34 views

Docker Hub to VPS

Note: I am a .NET Developer that is dabbling in DevOps. I want to learn. Current Situation: I have my .NET Core project dockerised. It sits on GitHub and is Open Source. Using Travis CI; as soon as ...
0
votes
0answers
40 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
25 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
24 views

running a phpUnit test within a docker container

i want to run a specific version of phpUnit WITHIN a docker container. This container will use a specific version of php. i.e php:5.6-apache Its a lareval application. i have install phpunit via ...
0
votes
1answer
32 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
0answers
15 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
23 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
1answer
15 views

TravisCI build continues to fail even after changing alpine version

So I ran my Docker build with TravisCI and I got a failure like so: FAIL src/App.test.js ● Test suite failed to run TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' ...
1
vote
0answers
13 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 ...
2
votes
1answer
22 views

Google Cloud Registry and multiple projects

Is it possible to pull images from the same GCR from multiple GCP projects without making the registry public? I want to do this so I do not have to upload multiple times the same image to multiple ...
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 ...
2
votes
2answers
70 views

One Jenkinsfile or multiple?

So I have a Jenkinsfile defining a build pipeline and then a Jenkins job (not pipeline) with a very simple deployment script for our Docker stacks. Seeing that Jenkinsfiles can become as complex and ...
0
votes
1answer
11 views

Nginx routing setup within Docker container, request timing out with 502

I have a React application where a user can enter in some number, there is an algorithm that runs some calculation and spits out a result, but before we get there, Nginx is looking at the request and ...
0
votes
2answers
43 views

How to run a Windows container inside Windows Subsystem for Linux (WSL)?

I have managed to install docker on Windows, and I can run docker from my Ubuntu bash prompt of the WSL. But when I try to pull or run a Windows image from docker hub, I get the following error: root@...
0
votes
1answer
35 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
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
1answer
15 views

What is the difference between Container Engine Software and Container Management Software

What is the difference between Container Engine Software and Container Management Software ?. Docker/kubernetes are managements softwares whereas Apache Mesos/Rocket are Container Engine softwares. ...
1
vote
1answer
111 views

Prometheus alert CPUThrottlingHigh raised but monitoring does not show it

I have installed Prometheus to monitor my installation and it is frequently raising alerts about CPU throttling. The Prometheus alert rules to identify this alert is : alert: CPUThrottlingHigh expr: ...
2
votes
1answer
31 views

Where is it said I can safely the same local volume to multiple docker containers?

According to that StackOverflow answer: Yes you can add same location as a volume to many docker containers. But I read the Docker Volume documention and I can't find where it is said a local ...
0
votes
1answer
117 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 ...
1
vote
1answer
28 views

Why `docker diff` does not see some file changes?

I know when you create a container the Docker engine adds a thin writable layer on top of the image layers. And all filesystem changes are recorded in that writable layer. I know I can use the docker ...
0
votes
0answers
22 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
5 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 ...
5
votes
4answers
70 views

How do you monitor status of multiple docker containers?

My home server has about 15 distinct services running, each represented by a Docker container. Depending on how the developers implemented the Dockerfile, some services have health checks, but most do ...
2
votes
1answer
53 views

Process auditing in containers

I've read numerous articles on this going back to 2013, but what I wasn't able to ascertain is whether a reliable method has yet been devised for auditing processes inside a container. This question ...
0
votes
0answers
10 views

With containers & ECS -> do I need tools like puppet? [duplicate]

With containers -> do I need tools like puppet? We're thinking of migrating code to the cloud and thinking through the tools we're gonna use. Tentatively settled on ECS. Could someone advise (high-...
1
vote
3answers
68 views

How to stop a container dying at the end of an execution?

I'm running git-all-secrets over our organisation to ensure we have nothing exposed. I'm doing this using: sudo docker run --rm -it abhartiya/tools_gitallsecrets -org <org> -output /root/output....
0
votes
1answer
28 views

How to build windows image on azure dev ops hosted agent

The host agent pool on azure-devops to build windows container, Hosted Windows Container is running Windows Server version 1803. But I want to deploy on Windows Server 2019, so instead of using ...
1
vote
1answer
25 views

Do I need an orchestration tool to autoscale/scale on demand my web service?

I have a stateless web service running in a Docker container. The web service is single threaded. We would like to span new instances of the service when the load reaches a given threshold. Is that a ...
3
votes
2answers
75 views

Best practice for installing new jenkins server

When creating a fresh new Jenkins server is it better to install it on a VM or Docker? I know that for most situations when you want just one bit of software on a server the answer would be Docker. ...