Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 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,...
1
vote
1answer
29 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
14 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
14 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
30 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
0answers
37 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
22 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
40 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
29 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
69 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 ...
0
votes
0answers
13 views

Azure Application Gateway 502 issue

I have a prod environment in Azure. The application gateway serves two apps. One is a PHP web application on running in docker exposed on port 80. The second PHP web application in is exposed via ...
0
votes
0answers
1 view

How to use custom apparmor profile for container with dockerode api using Nodejs

I was wondering how I can use apprmor profile for docker containers using dockerode (docker api) under Nodejs Visit this project I found something called "SecurityOpt": [ ], In official ...
5
votes
1answer
65 views

Can I remove a docker image and still keep the container?

Trying to save space on the server, and I've noticed that the running containers are much smaller in size than the images I've had to pull to create the containers. I was wondering about the ...
2
votes
1answer
122 views

how to run Docker/Jenkins behind a proxy

For the past few days I’ve been scratching my head trying to get the Jenkins docker image to work The issue appears to be a proxy issue. OS: Ubuntu 16.04 LTS Running behind work proxy ...
0
votes
0answers
20 views

Docker fails to mount files inside volume from local WSL

Trying to run docker locally inside Visual Code WSL terminal on Windows Pro - using Docker ( version 19.03.8 ) for Windows. It seems to be mounting the folders correctly but the folder is empty in the ...
0
votes
0answers
6 views

What is the default routing rule for traefik in docker-compose?

I want to use traefik in docker-compose and automatically expose the services using the default routing rule. However when I use the docker-compose.yaml below, both whoami.localhost and whoami.docker....
0
votes
1answer
15 views

Strange behaviour with docker-py

Consider the following setup. Precondition: have a healthy image i.e. service starts up. E.g. docker run -d IMAGE Then, with the Python plugin docker-py, consider the following code which should ...
0
votes
0answers
7 views

docker sshfs to other machine but don't want to open ssh server to the public internet

i'm a little new on the docker / docker-compose front, but essentially I need to mount a filesystem for my docker-compose setup and for that im using sshfs. The thing is that, it can't reach my local ...
1
vote
1answer
11 views

Default StorageClass set up for Docker EE Kubernetes

We're using Docker EE Kubernetes on-prem set up and noticed that cluster(s) don't have default StorageClass set up. To the best of my knowledge this is supposed to be set up during install/set up, but ...
0
votes
0answers
24 views

How to deploy docker images on a remote Docker daemon without rebuilding the image

I want to deploy docker images that are built on our GitLab CI runner to a server. I would very much like to avoid rebuilding the images on the server, as the build is very time-consuming. I have ...
0
votes
0answers
15 views

How can I make a docker swarm stack service that uses a “host” network to be defined in traefik through traefik's docker provider?

I have the following docker-compose-yaml file: version: '3.7' services: web: image: nginxdemos/nginx-hello:plain-text deploy: endpoint_mode: dnsrr labels: - "traefik....
0
votes
0answers
7 views

How to issue and automatically renew let's encrypt certificate in other container

In a testing environment, I would like to make container like certbot issue and automatically renew a certificate in other containers from dockerhub which includes nginx. each with a different PHP ...
2
votes
1answer
18 views

How can I load multiple paths into the workspace during docker run?

My datasets and codes are in different folders and they don't have immediate parent folder. I want my codes to access my datasets while using docker run. Is there a way to load both codes and ...
3
votes
1answer
27 views

Using DevOps pipelines to create distribution bundles of applications

We want to create bundles of our applications in order to distribute to clients etc. An application can have more than one component. Ex: an application can have a spring server and a scheduler so in ...
1
vote
1answer
27 views

Accessing remote servers through a VPN tunnel from within docker container

My laptop has an IPsec VPN tunnel set up to access a remote site (with my side being the VPN client). As an experiment, I started up a simple docker container on my laptop using docker run --rm -it ...
0
votes
2answers
43 views

Healthcheck: CMD vs CMD-SHELL

It's not clear to me what are the differences between CMD and CMD-SHELL in Docker Compose healthcheck. What are the benefits of using CMD-SHELL compared to CMD? What are the use cases for CMD and CMD-...
1
vote
0answers
26 views

secret id in docker terraform file

what value secret_id variable is referring in below main.tf and terraform.tfstate code There is no variable called "id" in my secrets.tf file main.tf resource "docker_service" "mysql-service" {...
1
vote
3answers
79 views

Terraform syntax error after V0.12 upgrade

I have just upgraded from terraform v0.11 to v0.12 But i am facing lot of error complete code @ https://github.com/sivatest82/Terraform1/tree/master/secretsv12 especially in the block secrets = [ ...
0
votes
0answers
8 views

Docker Desktop WSL2 based engine: log file location

I am looking for the log files of the docker desktop engine when using the WSL2 based engine (under Windows). So far I had no luck in the Windows Event viewer, maybe someone here can help me.
0
votes
0answers
11 views

Docker Volume File permission

I am going through the articles about docker volumes and understood there are different types like bind mounts and volumes etc .. https://docs.docker.com/storage/ When it comes to the underlying ...
1
vote
1answer
32 views

Grant access permission to file when mounting from host

Below is except of my docker-compose.yml file I am trying to mount from host file inside the container, which works i.e. able to mount but then I need to give it permission (my clumsy chown command, ...
1
vote
2answers
42 views

Restart docker container from another container

I'm in a planning phase for a little tool for myself. I have to say that I have close to 0 experience with docker. My setup 1 x Nodejs App in a Container (lets call it App) n x Instances/Containers ...
0
votes
0answers
20 views

How to uninstall VirtualBox and reinstall at least version 5.0.12

After typing: docker-machine create -d virtualbox default gots the following message: Creating a new host-only adapter produced an error: (default) This is a known VirtualBox bug. Let’s try to ...
0
votes
0answers
12 views

Setting up a coredns DOcker container in WIndows 10

I am testing a web app which uses slugs (a single-component "prefix") in the host name. So for example if the basic hostname is 'surveys.com' there can be others, such as 'admin.surveys.com' or '...
0
votes
0answers
9 views

Can Docker user namespace be configured to use actual used id instead of subordinate user id?

Using "userns-remap": "testuser" parameter for Docker daemon will make Docker impersonate a UID subordinate to "testuser" as it is specified in "/etc/subuid". Is it possible to instead make the daemon ...
0
votes
0answers
12 views

Why doesn't Docker's reported “MemTotal” match what I configured?

I'm developing an app. It's mostly a front-end for Docker, for developers using our platform to try out our apps. It pulls and runs images with compatible settings so that multiple containers can ...
1
vote
1answer
25 views

Question on NGINX reverse proxy when there are services on the host and on containers

I have the following architecture, which consists of an nginx server on the host machine, and 3 urls, app1.com, app2.com, app3.com: app1 and app2 are both in the host machine, lets say they are an ...
2
votes
1answer
22 views

How to locally resolve host name starting with variable slug?

An app, running on my laptop in development mode, comprises several Docker containers, one of which runs a Django web app. This web app expects to receive HTTP requests using a hostname with a ...
0
votes
0answers
6 views

MacOS - delegated volume configuration - no performance improvement?

The following command writes 10,000 blocks of zeros to a file, and outputs the time taken. time dd if=/dev/zero of=speedtest bs=1024 count=10000 Running that on the host Mac OS takes 0.075 seconds (...
0
votes
0answers
16 views

Starting a secondary container from post start

I'm using Docker & Kubernetes for my project. Here's a doubt that I was unable to get clarified from elsewhere: I have two docker images let's call them x1,x2. Two jobs j1,j2 will have to be run ...
0
votes
0answers
9 views

Why are there duplicate files in my docker container that end in /lib?

I have a docker container and within it are multiple conda environments which support different versions of tensorflow. To do this, I have to have multiple versions of cudatoolkit and cudnn, etc. But ...
0
votes
0answers
34 views

NFS server in Ubuntu official docker images

I noticed that Kernel NFS server does not seem to work in the official Docker Hub Ubuntu images. My Docker file contains the following lines: FROM ubuntu:bionic RUN apt-get update ... RUN apt-get ...
0
votes
0answers
10 views

Jenkins in Docker can't deploy to JBoss: Unknown host

I'm running Jenkins inside a Docker container and trying to deploy to a legacy JBoss 6.1 server (different machine, not in a container) using Codehaus Cargo deployer plugin. It undeploys fine, but ...
0
votes
0answers
22 views

Is there a way to automatically get latest docker with

I have a shell script like so: docker run -dit --name my_container mydockerhubname/mycontainer:stable_v4 In the above command I am pulling version 4 of the stable build, but I would like to ...
0
votes
1answer
22 views

Referencing locally built Docker images in Terraform

Is it possible to use docker images in Terraform that are not hosted in a registry but in the local Docker storage? I'd like to have a resource like the following where no pull is performed on the ...
0
votes
0answers
21 views

Sharing files between nginx and php-fpm tasks in a Docker swarm

I have a PHP application that also includes some static files (images, scripts, etc.). I want to deploy this application to a Docker swarm – how do I ensure that the nginx tasks have access to the ...
0
votes
0answers
11 views

Microservices with Class Library. How do I build the structure in this case?

Based on this repository (Fork): https://github.com/mmacneil/AngularASPNETCoreOAuth It is a solution with three projects and a class library. one of the projects is the frontend with angular. While ...
1
vote
2answers
27 views

docker-compose multiple services in a loop

Trying to optimize definition of multiple services with docker-compose.yml Here is the original, "dumb" variant of the docker-compose.yml: version: '3' services: s1: build: . ports: - "...
1
vote
1answer
22 views

creating private registry, id and password with -Bbn option

Any one knows what does Bbn stands for in the below command I am aware that,If the bbn option is not provided its not possible to write in the htpasswd file,but what is the meaning of it docker run -...
2
votes
1answer
36 views

How can I monitor docker volume usage?

I'm planning to automate docker activities using python. However, I couldn't find any efficient command for monitoring docker volume. So now I wish to use shell commands for that and later it can be ...

1
2 3 4 5
15