Questions tagged [docker]

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

Docker is an open source project that automates the deployment of applications inside software containers. Docker extends a common container format called Linux Containers (LXC), with a high-level API providing a lightweight virtualization solution that runs processes in isolation. Docker utilizes LXC, cgroups, and the Linux kernel itself. Unlike traditional virtual machines, a Docker container does not include a separate operating system, instead it relies on the operating system’s functionality provided by the underlying infrastructure.

4147 questions
2
votes
1 answer

Jupyter notebook on kubernetes not being able to connect to outside docker service

Im running a kubernetes (kubeflow + k8s) pod with a jupyter notebook and a docker service outside of the kubernetes server, im currently trying to connect to a sql service but it keeps getting ConnectionResetError, both firewall and docker are…
2
votes
1 answer

Apache - environment variable in workers.properties

I'm trying to run apache in a container and I need to set the tomcat server in a variable since tomcat container runs in a different namespace. I've set the variable like this but it doesn't work. I've ensured that the variable is present by echoing…
user630702
  • 495
  • 10
  • 32
2
votes
2 answers

How can I make synology reverse proxy work inside my local / private network and/or over VPN (and do I need to?)?

I have a Synology NAS accessible inside by local network over direct IP and URL: https://192.168.5.10 https://cloud.local I have docker running inside my synology NAS with some applications working on different ports. For example, when inside my…
BMM
  • 191
  • 5
  • 10
2
votes
1 answer

Fail2Ban iptables entries to reject HTTPS not stopping requests to Docker container on Amazon Linux 2

I've set up Fail2Ban on Amazon Linux 2, enabling the built-in nginx-http-auth jail with this override config: [nginx-http-auth] enabled = true action = iptables[name=HTTPS, port=https, protocol=tcp] logpath = /logs/*error*.log findtime =…
Graham Lea
  • 201
  • 1
  • 9
2
votes
1 answer

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 Active Directory VMware PowerCLI, Microsoft 365…
2
votes
2 answers

nginx proxy_pass return 502 Bad Gateway

I'm building nginx for reverse_proxy with Spring and Docker Here is my configuration. nginx.conf user proxy; worker_processes auto; error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; pid …
nkhcode
  • 21
  • 1
  • 1
  • 3
2
votes
0 answers

Override error_log from /etc/php-fpm.conf in /etc/php-fpm.d/www.conf

I need to configure the file for PHP's error_log in /etc/php-fpm.d/www.conf. Everything works perfectly fine when using: /etc/php-fpm.conf: ;error_log = /var/log/wrong-file.log /etc/php-fpm.d/www.conf error_log = /var/log/correct-file.log But…
2
votes
0 answers

Frozen/dropped TCP connections in AWS

We have a number of AWS EC2 instances within the same AZ that transmit large amounts of network traffic to each other. In a small fraction of the connections, when a client on host A connects to a server on host B and sends a large amount of data…
Alex
  • 471
  • 7
  • 18
2
votes
1 answer

how to stop MySQL container from initializing at start

For testing purposes I want to build a MySQL container that has a dataset bootstrapped into it. I know that mounting is possible and that you can place sql scripts into the init directory to run the import at start, but thats not what we want. So I…
2
votes
0 answers

Docker port forwarding bridge - "no route to host"

Basic Docker port forwarding is not working though bridge on Centos7. Changing network to "host" solves the issue, but I need to run multiple instances of the same container binding them to different ports - leading to port conflicts. docker…
2
votes
1 answer

Container can't reach internet on Ubuntu 20.04

I'm trying to update packages from an ubuntu container; however, updating fails and I've noticed I can't connect anywhere, am able to lookup dns names thought. I'm using nicolaka/netshoot container in order to test network. I've used "tcpdump"…
Nicolas
  • 121
  • 4
2
votes
1 answer

Backing up volumes from host vs from the inside of the container

The official docker documentation suggests as a good practice to backup the entire docker volume as it is. When you need to back up, restore, or migrate data from one Docker host to another, volumes are a better choice. You can stop…
Kolyunya
  • 217
  • 1
  • 3
  • 9
2
votes
1 answer

Cron is not running from docker container... failed

I am trying create cron a task in docker container. Everything are configured according to the @VonC 's answer My dockerfile looks like this FROM python:3.6.9 WORKDIR usr/src/mydir COPY requirements.txt . # Add crontab file in the cron…
Shokan Iliyas
  • 21
  • 1
  • 3
2
votes
3 answers

systemctl --user cannot start docker containers on Ubuntu 20.04

I am in the process of migrating some services from Ubuntu 18.04 to 20.04. In 18.04 I run these services under a non-root user. All these services start a docker container, and they're working just fine. Under Ubuntu 20.04 these services no longer…
ovidiu
  • 121
  • 1
  • 4
2
votes
1 answer

How to use Windows Kerberos ticket in WSL and/or Docker

I don't know much about Kerberos authentication, I just have some basic experience with configuration and usage. Recently I noticed that Windows has a built-in Kerberos implementation that is configured. So when I run klist in PowerShell, I get a…
SchLx
  • 129
  • 1
  • 4