Stack Exchange Network

Stack Exchange network consists of 174 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
5 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 ...
0
votes
0answers
5 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. ...
-1
votes
0answers
3 views

Jupyter Notebook classroom tooling

we are a group of students looking to design a better tool for the use and sharing of Jupyter Notebooks in the computer science classroom environment. For many of the beginning classrooms, it is a ...
0
votes
0answers
4 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 ...
1
vote
1answer
27 views

How to move a containerized application to a different host?

We have a forum application made of two containers: a container for the database, and another one for the bulletin board application itself. Both containers are running on the same host for quite some ...
0
votes
0answers
28 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
0answers
10 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 ...
1
vote
0answers
18 views

Is there an alternative to setting up the whole project workspace in a Jenkinsfile

I have a ROS project for which I'm looking to use Jenkins to set up a CI system. The project has a large number of dependencies which take a long time to build (they can't be installed on the build ...
0
votes
1answer
12 views

Listing filesystem differences between a Docker image and one of its ancestors

I asked a similar question a few minutes ago, and I found the docker diff command that shows the differences in the file system between a container and its base image. But I realized afterward my need ...
1
vote
1answer
19 views

Is there a way to know which files have changed in a docker container compared to its base image?

Is there a way to know which files have changed in a docker container compared to its base image? I am looking both for file creation/modification/deletion, but also for metadata change like file ...
0
votes
1answer
16 views

Jenkins is running as a docker image in a kubernetes cluster and won't come up due to plugin version incompatibility

We are running Jenkins as a docker image in a kubernetes cluster. However it does not come up any more because of some plugin version incompatibility. How can we upgrade the plugins, or disable them ...
0
votes
0answers
22 views

Zero downtime deployments for multiple api backends

Question: How can I achieve a zero downtime deployment of my php application to my two backend servers, that are sitting behind a nginx load balancer? Reason The application powers an API for a ...
2
votes
1answer
31 views

Docker image two-steps build

I have a third party PHP application to install in a container. The application is shipped without its dependencies. There is a provided script to automate dependency installation, but it relies on a ...
0
votes
2answers
55 views

Connecting GitHub to Jenkins running on docker toolbox

Started to learn DevOps 3 days ago, so I have a lot to learn! I have a jenkins running on docker toolbox container and I can access it via 192.168.99.100:8080. I configured a job and managed to use "...
1
vote
1answer
18 views

Dockerized MySql slower in Wifi than ethernet

When I try to connect to a MySQL server that runs in a docker container(in System A) through my application(Running in system B) via wifi, it takes at least 4X amount of time than it would when both ...
3
votes
1answer
15 views

When would I use docker-compose's “--service-ports” flag?

Docker-compose's run reference includes the "--service-ports" flag. --service-ports Run command with the service's ports enabled and mapped to the host. Source: https://...
2
votes
1answer
99 views

How do I use docker command's “--format” option?

I can't seem to find any good documentation on how to use the docker command's "--format" option in real life. I know how to use Go templates. But specific to docker, how do I know what placeholders ...
0
votes
1answer
15 views

Any suggestion for a provider to deploy a first Dockerized application?

To conclude my Docker course, I would like to make my students deploying an app on some cloud provider. A priori, the deployment will be on a single host using docker-compose (i.e., no swarm, no ...
0
votes
1answer
17 views

why docker image name is displayed as docker.io/ubuntu and not ubuntu?

I installed docker in Centos-7 and pulled image "ubuntu" in it. But when i am using "docker images" command, it displays image name as docker.io/ubuntu instead only ubuntu. whats docker.io here. if ...
0
votes
1answer
19 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
15 views

Troubles with mapping ports on a very simple Docker container

I'm new to Docker and following a tutorial on Udemy.com. The turtorial has me setting and running a very simple container. Docker File # Specify a base image FROM node:alpine # Putting files into a ...
1
vote
2answers
44 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 ...
3
votes
3answers
56 views

How to raise awareness about the security risk involved with running Docker?

I'm in the process of preparing a Docker course for students with little to no familiarities with containers, the underlying OS mechanisms involved, and their implied limitations. In many Docker ...
0
votes
1answer
24 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 ...
1
vote
0answers
31 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 ...
0
votes
2answers
26 views

CIS Benchmark for Docker and Docker Bench for Security: why, how and when?

I just learned about Docker Bench for Security and CIS Benchmark for Docker Community Edition. Why, how and when am I supposed to use these tools?
1
vote
2answers
37 views

What are the differences between application virtualization, emulation layer, and container virtualization?

What are the differences and relations between application virtualization (such as Flatpak), emulation layer (such as wine, cygwin), and container virtualization (such as Docker)? I have been trying ...
2
votes
2answers
20 views

Why `docker stack` needs Docker to run in swarm mode? What are the implications when working on a single node?

I am experimenting with docker stack as a replacement to docker-compose. But I had the following message on my first deploy attempt: sudo docker stack deploy --compose-file stack/app-stack.yml app-...
4
votes
1answer
40 views

Has `docker-compose` to be phased out in favor of `docker stack`?

According to the August 2017 article the core functionalities of docker-compose were integrated into the new docker stack command. At the end of the article, the author also assumes docker-compose ...
2
votes
1answer
22 views

How to attach two (or more) networks to a container so they are available when the container starts?

I noticed if you try to attach a container to two networks, the following syntax does not cause an error, but effectively attach the container only on the network specified by the last --network: ...
2
votes
1answer
19 views

What are the benefits of spreading the various services of a multi-tiers application over several user-define bridges?

I have a simple system made of a database backend, several instances of a web application and a load balancer. Each service is running in its own Docker container, all of them being hosted on the same ...
2
votes
1answer
15 views

How to list the containers attached to a given user-defined network?

I'm reworking a bunch of scripts using the deprecated docker run --link option in favor of user-defined bridges. By searching in the doc, I didn't find any command to list all containers attached to ...
1
vote
1answer
33 views

Docker stack deploy doesn't pull images

I'm launching through Ansible (just SSH basically) a docker stack deploy, the issue is also true when launching directly from a manager: docker stack deploy --prune --with-registry-auth -c /docker/...
1
vote
0answers
11 views

Docker Containers fails to DNS resolve on subnet 10.0.2.0/24

The ultimate problem I am facing is this: [root@527eb70c04c9 my-service]# ping google.com ping: google.com: Name or service not known Inside my container, I can't resolve public domains, although ...
3
votes
1answer
28 views

How to kill all Docker containers based on a given image?

How to kill all Docker containers based on a given image? As an example: sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
0
votes
1answer
27 views

How to create a MariaDB/MySQL image using utf8 instead of the default latin1 charset?

I noticed when running a stock MariaDB Docker image in a container, the default character set is latin1: CID=$(sudo docker run -d --rm -e MYSQL_ROOT_PASSWORD=p mariadb:10.3) echo "show variables like ...
0
votes
0answers
13 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
31 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
26 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
0answers
16 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
1answer
27 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
0answers
21 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> <...
4
votes
2answers
79 views

If we are using containers do we still need to worry about configuration management at an infrastructure level?

We are about to begin our journey with containers and I am wondering if we still need to utilize something like Chef, Ansible, Terraform, etc. to ensure that our infrastructure is properly maintained? ...
1
vote
0answers
14 views

How to handle Webhook Endpoint that is behind an OAuth Redirect?

ers! I am trying to connect a webhook from GitLab (external standalone) to Jenkins (a pod on Openshift) However, when anyone tries to log onto Jenkins, they are redirected to Openshift first, asked ...
1
vote
0answers
12 views

Flow for Confluent Plugins on Kubernetes

Our team is developing Confluent/Kafka Source Connector-plugins. Do you have any ideas on how to install/upgrade the plugins? How is the flow (git -> Jenkins -> running Source Connector) supposed to ...
0
votes
0answers
7 views

R Shiny app on AWS instance blocking API requests to Google Geocoding API [closed]

I have an R Shiny app hosted on AWS ec2 instance and part of the app is it makes API requests to Google geocoding API. This works fine locally but I have the app dockered and up on the instance and ...
2
votes
3answers
51 views

In a Dockerfile, is there a way to avoid copying files to make them accessible to the RUN command?

I need to build a Docker image containing a pre-populate a database. For now, I am using the following commands in our Dockerfile: COPY db-dump.gz /tmp RUN zcat /tmp/db-dump.gz | mysql But is there ...
0
votes
0answers
13 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
15 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
4 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 ...