Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

How to run Dockerfile agent on a Jenkins Slave Node?

I have an issue with Running Dockerfile in Jenkins Pipeline on a Slave Node server. Have posted in main StackOverflow portal. happy to see this DevOps Stackexachange portal. just linking the ticket ...
0
votes
0answers
2 views

Printing all existing windows on a windows container

I wrote a simple cpp console app that prints all the open windows titles: Printf("hello\n"); for (HWND hwnd = GetTopWindow(NULL); hwnd != NULL; hwnd = GetNextWindow(hwnd, GW_HWNDNEXT)) { ...
0
votes
0answers
7 views

nomenclature in connecting to a BaseX database running in a docker container

The directions specify: You can use the BaseX client to connect to the database in the container: docker exec -ti basexhttp basexclient but isn't that a bash command? How do I connect to the ...
0
votes
0answers
15 views

How to create Jenkins build which pack the project to tgz file and push it to artifacotry

I'm trying to practice on dockers, and as part of it, I created 3 containers: Jenkins, Bitbucket, and Artifactory. I'm trying to create a Jenkins job that for every change in a specific project in BB, ...
0
votes
0answers
11 views

Kubernetes deployment - specify multiple options for image pull as a fallback?

We have had image pull issues at one time or another with all of our possible docker registries including Artifactory, AWS ECR, and GitLab. Even DockerHub occasionally has issues. Is there a way in ...
0
votes
0answers
14 views

What is the workflow to deploy a hello world war file to a Jetty docker image?

I'm just getting started with docker and jetty -- looking to use reasonable techniques for running both. This question is largely a sanity check that I'm at least headed in the right direction. ...
1
vote
1answer
36 views

Why is Docker best practice to minimise the number of layers in an image?

I see here that Docker best practices says .. minimise the number of layers in our images The tips given are to chain multiple lines in the dockerfile with \ so as to combine many lines of code into ...
0
votes
0answers
2 views

Running a command as System on windows container

I have a simple app that searches for a window and prints the output to the console and into a log file. I want that app to run on a windows container. When I run: myapp.exe It doesn't do anything - ...
-1
votes
0answers
24 views

Do I need to install kubectl after installing docker? [closed]

Do I need to install kubectl after installing docker? Yet docker comes with its own version of kubeCtl? I was watching this tutorial and I saw that kubectl was installed after installing docker. Even ...
0
votes
0answers
8 views

Secrets in Docker without Swarm

I am using Docker, but not Swarm (or any other orchestration) for a project. Is there a way to leverage Docker Secrets without Swarm?
0
votes
0answers
13 views

How to Obtain Windows Server 2016 Docker Container

I have a Windows Server 2016 machine (10.0.14393) that is air-gapped from the internet. I have installed Docker to this machine, but now need to download Windows images on an internet connected ...
0
votes
0answers
10 views

Graylog - docker swarm fields

I have a Docker swarm with a configured Graylog server and the rest of its stack, along with a Logspout service with a replica in all of the swarm's nodes As you might know, docker swarm is composed ...
0
votes
1answer
28 views

docker-compose healthcheck for rabbitMQ

I'm trying to run rabbitMQ using docker-compose, but the service is always starting or unhealthy. rabbit is running fine, so I suspect there is something wrong with my health check. Running the ...
2
votes
1answer
35 views

How to prune all but two most recent docker images?

I'm building images on a small server and spinning them up with docker-compose. When it's disk gets full I run docker prune -a so all the stopped containers, dangling image are cleaned out. But I'd ...
0
votes
0answers
18 views

HAProxy container, created with Ansible, is not responding although container is running

I have a playbook which deploys one HAProxy container and 2 Apache containers. Moreover, I also mapped ports and volumes in order to distribute client requests with HAProxy to Apache servers, but ...
0
votes
0answers
8 views

How to configure the logging driver to fluentd as the default logging driver on VMware vSAN VIC VCH

I am runing VCHs on a VMware vSAN VIC, and I would like to set the default logging driver to use fluentd so that I dont have to configure each container individually; how c/an that be done? Note: ...
7
votes
3answers
89 views

Who should write Docker files?

Once again company debate rages on who should write Docker files (including compose, interchangeable for this post). The scenario is common in my work (developer and consultant) and I wanted to know ...
1
vote
1answer
21 views

GitLab keeps loading and finally fails when deploying a dockerized node.js app

GitLab Job Log [0KRunning with gitlab-runner 13.2.0-rc2 (45f2b4ec) [0;m[0K on docker-auto-scale fa6cab46 [0;msection_start:1595233272:prepare_executor [0K[0K[36;1mPreparing the "docker+machine&...
0
votes
0answers
8 views

Docker containers cannot resolve hostnames in VMware VIC VCH

I have followed the official guide here, in the section Add Containers to a New Bridge Network, but I cannot replicate the results promised in the guide; I cannot get two containers on a bridge ...
-2
votes
0answers
29 views

Tool for project managment

I am looking for web tool that will run automation once the request is accepted by employ. for exmaple I want to start up new VM, so I would like a website that will have several stages for this ...
1
vote
1answer
30 views

Sending HTTP requests to private EC2 DNS from other EC2 host works, but not from container on EC2 host

I want to make a container hosted on one EC2 host communicate with another container hosted on another EC2 host. Currently, if I send an HTTP request from host A to host B using host B's private DNS ...
0
votes
2answers
40 views

Jenkins - docker login doesn't seem to persist: docker pull won't work but docker-compose can pull without problems

I am setting up a new Jenkins as our old one is based on a deprecated base image. Dockerfile is: FROM jenkins/jenkins:lts-centos7 USER root RUN yum -y install docker \ && yum clean all ...
0
votes
0answers
7 views

Confluent Kafka Helm Chart - how to choose a different Zookeeper version

According to provider documentation for Helm Release for example 5.5.0 there is a wide range of Zookeeper version that can be utilized, how can I choose that, I can't find any info about it or example,...
3
votes
3answers
75 views

Accessing a AWS docker instance via localhost only?

Suppose I have two apps launched via the AWS ECS cluster (using Docker containers). I want to expose one app to the world via a public IP (and I do it via the AWS load balancer) but the other one I ...
1
vote
0answers
26 views

How can i deploy docker image into kubernetes cluster using Jenkins single job run

Certificate will be generated by a tool Jenkins instance installed. Need to automate certificate renewal process for kubernetes cluster.
0
votes
1answer
47 views

Gitlab CI push to docker-registry fails

I have GitLab server and a separate docker-registry. I have created a testuser with a testpassword. My .gitlab-ci.yml image: docker:latest services: - docker:18.09.7-dind variables: ...
4
votes
1answer
75 views

How not expose my backend

I'm studying Docker and how to properly publish my containers coding a very simple web application. It has only two containers, backend and frontend. I've published the source code here: https://...
1
vote
1answer
37 views

What do I need to do as to prevent docker from downloading when I `run`?

If I don’t want anything to download when I run docker run -ti --rm \ -v /home/sable/heudiconvTest/BIDS:ro \ -v /home/sable/heudiconvTest/qsipOutput:/out \ pennbbl/...
1
vote
1answer
23 views

How to create a second IP just for dockers

Problem: my server is already using port 80 and I would like launch another service that uses port 80 on another address (I don't want to remember ports or force my wife to use non-default ports). I'...
0
votes
1answer
25 views

How does Kubernetes terminate an instance after helm upgrade

I have a node.js application that is running on a Kubernetes cluster, I am using helm to manage it currently. I have ran into a bit of an issue, when the application starts it connects to a service ...
1
vote
1answer
19 views

Can I use AWS Step Functions to launch many different fargate 'runs'?

I am building a service that has two independent steps. The first step is a data transformation step that has to happen and is common to all downstream processes, then the second is starting a few ...
0
votes
0answers
12 views

Clean old docker images from nexus

Is there any way to automatize cleanup of docker images on nexus. I know that nexus-cli exists. But it unfortunately does'n work, because it always show me Total images: 0.
1
vote
3answers
60 views

Trick a docker containers DNS to resolve a different url

I am not sure I know the terminology to describe this correctly, my apologies. But for a contrived example. Say I have a docker container that runs code that accesses "google.com". But I want all ...
2
votes
0answers
49 views

Remote connection from Docker container by FTP

I built my docker image and run it: docker run --rm -P -d test:latest Then I entered the command and opened connection: ftp open XXX I successfully connected and entered user data. After that I ...
1
vote
0answers
14 views

“fake” drive inflation for a VM for development of dockers

For this question, I am a bit lost. One problem is google gets confused and can't figure out what I mean by "docker files on VM drive" -- It constantly points me to "pros/cons of docker vs VM". ...
0
votes
0answers
23 views

Gitlab AutoDevops: Integrate pipeline with EKS and ECR registry

I'm new to GitLab auto devOps and I'm trying to publish a NodeJs project (Gitlab example). I've an EKS Kubernetes cluster, correctly integrated in my Gitlab instance, and an ECR as container registry. ...
1
vote
0answers
11 views

Is it possible to share Kerbeos ticket from host system with Docker container

I'm trying to make a PoC. Host OS gets Kerberos ticket. There is a Docker container running on host OS. Docker container needs to get/hijack this ticket somehow it order to call some external services ...
0
votes
0answers
7 views

Docker orchestration for running third party containers in a zero trust network

I am prototyping a SaaS solution where users are able to upload and run their containers in our cloud, and connect them to our API and services. Each user must be able to run their containers in an ...
2
votes
1answer
53 views

Docker calls to detect app crashing inside it

Is there a way to know if an app has crashed inside docker using maybe bash script or API call from host container, am implementing CI/CD using Jenkins and will be deploying the built app via ssh to ...
1
vote
1answer
32 views

Should I clean up my local machine before installing Docker?

This is a basic question for which I didn’t see anything on in the docs or forum searches. I have a development machine which has all kinds of stuff installed to do machine learning, like anaconda, ...
1
vote
1answer
35 views

How do I setup ssh from jenkinsci/blueocean docker to remote?

I am running jenkinsci/blueocean docker locally as per the instructions of running jenkins using a docker on jenkins.io. Everything seems to be working correctly but when I docker exec into the docker,...
2
votes
1answer
39 views

Jenkins Docker Behind Reverse Proxy Adds “:80” to the URL

The Jenkins container redirects to URL:80, which is causing an error. When I remove the :80, everything is working as it should. I have tried the proxy with a simple web app and there were no issues. ...
2
votes
0answers
16 views

How can I allow admins to run Django Admin CLI commands against a Django application deployed live as part of a Docker Swarm cluster?

Specifically, I want them to run the following: https://django-q.readthedocs.io/en/latest/monitor.html I am looking to write a minimal wrapper-script which would simply allow them to run a single ...
1
vote
0answers
21 views

Pattern(s) to scale node.js based ETL

I have a node.js ETL application that transforms data from 1..n locations and from each location there will be 0..m transactions. The application is started via cron on a configurable interval, ...
3
votes
1answer
38 views

Porting a docker container to a different Linux host OS

I'm new to Docker. I have looked at many tutorials, however, this is still not clear to me : For example, If I create a docker image on a system which is using Ubuntu as the host OS. Can I then later ...
4
votes
1answer
52 views

How can I unify my distributed build environments using Jenkins and Docker?

I have recently taken over the CI management for a medium-sized team of developers. Currently, we have one Jenkins server instance as well as six other instances of Jenkins agents to build upon. We ...
1
vote
1answer
49 views

Docker convenience script stuck after “Scanning linux images”

I have a Raspberry Pi 2B and a fresh install of Raspbian. I am trying to install Docker, and following the instructions on the site (https://docs.docker.com/engine/install/debian/#install-using-the-...
2
votes
1answer
49 views

Create pull request for docker dependency package if outdated

Platform: GitHub CI/CD: GitHub Actions Additional technologies: Docker with Ubuntu base image I'm creating a Dockerfile and I need to install a package (such as Terraform). Every time the '...
1
vote
1answer
49 views

Failure to build with docker-compose: Invalid signal: SIGQUIT

PS D:\>docker-compose up Building app Step 1/7 : FROM php:7.4-fpm-alpine —> 5ae58b49885c Step 2/7 : RUN apk add --no-cache autoconf curl dpkg-dev dpkg freetype-dev file g++ gcc giticu-dev jpeg-...
4
votes
2answers
179 views

Stress testing for docker container

I want my container to die under high pressure to check monitoring and alerting as well as compose autorestarts. What is best way to simulate heavy load within docker container. I've tried so far ...

1
2 3 4 5
16