Questions tagged [docker]

Docker is an open source project that automates the deployment of applications inside software containers.

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

Grafana local CORS bypass using nginx

I'm trying to work with a grafana server in an environment I can't change. I need CORS to be enabled to develop locally. I'm trying to start a local docker nginx server to solve it when developing ...
0
votes
0answers
7 views

How do you set up a custom “log table” for CloudWatch so that you can see the output of tabular data?

I'd like to create a widget on the AWS dashboard which contains the output of docker service ls and ideally a way of drilling down so I can see the docker service ps of a specific service. I see there'...
0
votes
0answers
6 views

Error when trying to connect to mongo docker image locally

I have a locally running mongo docker container. However I cannot connect to it for some reason. It says I can connect and the port is correct etc but the authorization is wrong. Docker FROM mongo:4.4....
2
votes
1answer
25 views

Deploying minimal OS for running Powershell scheduled tasks?

I need your suggestion and guidance in deploying minimal Operating System to run multiple Powershell Scheduled tasks on my OnPremise Hypervisor VMware v6.7 Typically, I am installing these modules ...
1
vote
2answers
2k views

automatic iptables rules inside docker container

I am trying to set specific iptables rules inside a container but so far i have no luck. So far i tried to enter (exec bash) the container and add manually the rules, then, export the running ...
0
votes
1answer
18 views

Docker NGINX + PHP-FPM : Error 502 Bad Gateway

nginx site conf: server { listen 80; listen [::]:80; server_name example.com www.example.com; root /var/www/example.com; location / { index index.php index.html; } ...
0
votes
0answers
11 views

How to make wordpress page site.com/content as location for main site.com that is worked on nuxt.js+node?

here are 2 containers with sites: on nuxt.js on wordpress They work in the same environment, that is, they are visible to each other. It is necessary in the 3rd container with Nginx to display the ...
0
votes
0answers
34 views

Attribute a static public ip for a pod in kubernetes

In my data center, I implemented a Kubernetes infrastructure with 3 workers and one master node. I'm looking to build 5 pods running postfix mail server, but because of risking to be blacklisted, I'm ...
1
vote
1answer
1k views

Docker cant resolve DNS-Names outside of docker network. Receiving “read from DNS server failed”

I have deployed an Adguard Home docker container which i want to use as my DNS server/proxy. DNS resolution is working fine when i'm making an nslookup from a machine (as well as the docker host) on ...
4
votes
2answers
4k views

Kubernetes: detect and auto-update deployment on image update

We're running multiple, globally distributed Kubernetes clusters that need to run the same software. When we release an update to this software (as a Docker image uploaded to a private Docker repo), ...
0
votes
1answer
1k views

Docker dns issue for a centos 7 container on ubuntu 16.04 Host

I saw many questions on the topic, but none solved my issue : I have an Ubuntu 16.04 host, On my brand new Centos 7 docker container, the system is not able to resolve any name: In the container, ...
0
votes
1answer
26 views

What tools do you use to manage your Linux Server?

I'm a starter, just started using a VPS (headless Ubuntu server 20.04), I was wondering what tools are the most relevant for configuring, managing, monitoring Linux Servers. And maybe also some Tools ...
0
votes
0answers
13 views

Write new Docker data to a different location

I've created a Virtual Machine image which I used to start up my Docker service with various docker images pre-cached in the /var/lib/docker directory. I now want to write any new data to a faster ...
1
vote
0answers
23 views

Enforce tunneling SSH user directly into docker container

We want to setup a gitlab installation with their official docker images. To support connection to git repositories via SSH we see two options. Bind container port 22 to host port 22 Bind container ...
0
votes
0answers
12 views

Docker Compose ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

I have docker running on a centOS VM. All of a sudden my docker stopped working. When running docker-compose up, I get the following error every time: Creating network "nginx-php" with the ...
0
votes
0answers
15 views

Docker in docker volume mount doesn't work

I have the below command in my Jenkinsfile: docker run --rm -v "${WORKSPACE}":/var/cache/de --entrypoint=/usr/local/bin/pytest ${IMAGE_NAME}:${IMAGE_VERSION} -m "not require_dss" -...
1
vote
1answer
2k views

Is the attack surface of Docker vs. LXC/systemd-nspawn significantly different?

One decision point in choosing between and application container solution versus an OS container solution is security. I'm not knowledgeable enough to be able to compare and contrast the two. I assume ...
0
votes
1answer
3k views

How to serve static contents through Traefik

I currently have a docker setup in which one nginx container serves static contents for a number of wordpress sites and proxies dynamic requests to the respective php-apache containers. When I deploy ...
0
votes
1answer
54 views

MariaDB chokes on lock file after forced docker restart

I have a docker compose setup for running Nextcloud alongside a MariaDB container and a reverse proxy etc. Recently, I had to force a manual restart of the docker daemon because some containers were ...
0
votes
0answers
29 views

How to configure Wireguard to allow Internet access?

I have an Ubuntu 20.04.1 LTS to host a linuxserver/wireguard Docker container. Clients can successfully connect to the Wireguard server, but I'm unable browse Internet websites on the clients while ...
0
votes
1answer
1k views

Using nginx with dockerized fast cgi - root path

I have a docker container that runs a php fastcgi application on port 9000. The root path is mounted at /var/www/my_app and contains all assets like images and javascript. I want to use nginx as a ...
0
votes
1answer
2k views

Nginx: Proxypass to a docker image that handles ssl connections and letsencrypt certificate renewal

I found this docker solution for my email server https://mailcow.email/. This solution has a web panel and certbot in it. What I want to to is to proxypass both http and https connections into the ...
1
vote
1answer
5k views

Docker renaming network interfaces

I am trying to rename the network interfaces inside a docker container. Right now they are eth0, eth1, eth2, etc. I would like them to have different names. I know how to do it in Ubuntu with ...
0
votes
1answer
29 views

Hosting docker images on multiple registries but reference them the same way e.g. in a k8s deployment

Since I started with docker there is one question that follows me and I could not get a good answer so far. Let's assume I have a .yaml file specifying a k8s deployment. We are building our docker ...
0
votes
0answers
21 views

Docker + nginx to bypass CORS

I'd like to use nginx locally to bypass CORS in browser. I'm having trouble with getting the request back out of nginx. How would I get it to call an address back in my own pc's environment/context ...
-1
votes
0answers
9 views

Debug NodeJS API behind nginx reverse proxy in docker container using PHPStorm

So, at all I'm wondering if this is possible at all. The setup is: -nginx container which servers as reverse proxy for nodeJS container. Nginx accepts connection through both 80 and 9229 ports. -...
0
votes
0answers
15 views

Possible to VNC/RDP into Docker Windows Containers with GPU passthrough?

Use-case: Automated QA of video games Within the past 6 months it seems Microsoft and Docker have put a lot of effort to enable GPU passthrough for docker windows containers. GPU Acceleration. GPU ...
0
votes
0answers
24 views

docker run ffmpeg arguments with spaces

I have a script that uses docker linuxserver/ffmpeg to convert files, but it only works without spaces in the file name. Here is the command as logged after a set -x : docker run --rm -v /input:/input ...
0
votes
0answers
14 views

Docker host from container and vice versa via default bridge

Problem description Docker bridge is not working as per expectation Host not reachable from docker container and vice versa Steps to reproduce docker network ls NETWORK ID NAME ...
0
votes
0answers
46 views

Intermittent 504 Error in Apache Web Server in Docker

I am hosting a mapping web site on Apache 2.4 web server sitting in a docker container on an AWS EC2 instance. The website utilises PHP. Ever since I moved the Postgres database off the EC2 instance ...
-1
votes
1answer
37 views

Docker is bound to public interface but is not responding

Aside: Noticed some downvotes, happy to migrate this to another SO subforum if one's more appropriate. Pretty standard setup. Running pi-hole on a Raspbian Linux 10: root@raspberrypi:/etc/init.d# ...
0
votes
2answers
1k views

Docker documentation for external load balancer to docker hosts in swarm mode (why?)

In reading the documentation for Docker Swarm 1.12 there is a section describe how to configure HAProxy to load balance traffic to swarm hosts. https://docs.docker.com/engine/swarm/ingress/#/...
1
vote
0answers
9 views

UFW - making rules on host to only allow traffic from guest docker containers?

Situation: host running pgsql app in container on host want app to connect to database via TCP want to configure UFW so only containers on machine can connect to pgsql What's the best way to do this?...
0
votes
0answers
18 views

After rebooting docker node, it will ask to join or init swarm

I have once server with docker as follows. docker-ce-19.03.13-3.el7.x86_64 docker-ce-cli-19.03.13-3.el7.x86_64 containerd.io-1.3.7-3.1.el7.x86_64 CentOS 7.8 minimal I run docker swarm init command ...
0
votes
0answers
45 views

Powershell module import not persisting in docker container image

I installed powershell in the php debian docker image and now I am installing PowerCLI module in the docker image to access the vsphere info and display using laravel. The issue is with the PowerCLI ...
0
votes
1answer
2k views

Docker compose errror when mounting the volumes

In order to see changes in your working directory inside docker, as far as I understand on the docker-compose.yml you need to map the volume to the directory you are going to work. currently I have ...
0
votes
1answer
1k views

Properly manage iptables rules on Docker host

I am using Gentoo and Docker. I have bunch of own iptables rules, and keep them in /var/lib/iptables/rules-save. Docker adding bunch of own rules when start. It seems that iptables is auto-saving ...
2
votes
1answer
1k views

Prepare docker installation for “offline” environment

We're going to deploy our codebase in an environment with no outbound internet access - using docker. However - we do not seem to be able to pre-build the entire thing so we don't have to pull images ...
-1
votes
1answer
17 views

Dockerfor security for webrowsers [closed]

If I would run a app like a browser inside a dock, would that make my system less susceptible for malicious scripts and other application based attacks ?
0
votes
0answers
34 views

laravel docker-compose root in a wrong path

I'm working on a new project where I want a folder called api and one called client where api it's a Laravel app used as an API and the client a Nuxt.js application. I've managed to get the Laravel ...
0
votes
1answer
33 views

GLPI appending :80 to CAS Callback URL

Problem: GLPI is appending :80 to the callback URL for CAS authentication using Keycloak. After logging in successfully on Keycloak, user gets redirected to the GLPI URL which containers :80 in the ...
0
votes
1answer
23 views

docker - Move files from one volume bind to another

I have some docker containers with volumes bound to directories on the host, all on the same hard drive. But from example when I run mv /input/test /output/test, where input and output are both ...
3
votes
1answer
4k views

Azure Web App (Linux): “Error: Container didn't respond to HTTP pings on port: 8080” - when using: “start”: “pm2 start server.js”

My App Service Linux instance crashes if my node app is using the start script: "start": "pm2 start server.js": 2019-04-15 11:36:34.432 ERROR - Container crime-digest__6ea5_0 for site crime-...
0
votes
0answers
17 views

How to run Gatsby Docker with Docker Compose

I am trying to setup Gatsby which will eventually be placed in a devcontainer in VS Code. Before doing that, I'm trying to get Gatsby to run in Docker with docker-compose locally. I found a ...
0
votes
0answers
15 views

Networking not working on Docker / Centos 7.9

I'm running Docker on Centos 7.9.2009 and have a very strange issue. The containers do not have network access and cannot be accessed from the host. I've searched for potential solutions, a lot of ...
1
vote
2answers
52 views

Dockerfile & Kubernetes - COPY function doesn't seem to work (files not in Pod on deployment)

So I am running a local kubernetes cluster on my macOS using Docker for Desktop. I am setting up a Kubernetes cluster that I'd like to test locally, but I have some issues copying other my local ...
0
votes
1answer
25 views

Rancher on K8s (not helm) permission issues

I'm trying to teach myself K8s and am running into some issues that I've been unsuccessfully googleing / stack searching. I'm trying to setup Rancher without using helm. Here's my deployment manifest: ...
1
vote
1answer
14 views

How I can migrate my already built docker images with custom tags from dockerhub to amazon ECR?

Due to rate limiting of Dockerhub I migrated from dockerHub to AmazonECR. I managed to push new images to docker ECR but I want to migrate existing tags from dockerhub to Amazon ECR. Do you know how I ...
-2
votes
1answer
1k views

docker cockpit error after redirecting with nginx

Distro: Arch Linux, service app: systemctl, (cockpit is a web based system administration and docker container manager). I recently installed cockpit on a VPS and is working great on IP:9090, later i ...
0
votes
0answers
37 views

Run docker containers on Windows Server 2019

Currently I have a Windows Server 2019 with Hyper-V. I have a cupule of VMs. One are running Ubuntu with Docker CE and a Nginx container. This is a nested virtualization. Is it a way to move the Nginx ...

1
2 3 4 5
64