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
1
vote
1 answer

Errors while restoring mariadb/mysql dump in docker

I'm running mariadb in a docker container. I want to backup and restore using a sql dump. I created the database for use with wordpress, and created just one test page. I installed phpmyadmin to the same database. I created a backup like…
lonix
  • 896
  • 10
  • 23
1
vote
0 answers

Apache Ignite on Kubernetes with NFS storage - should I choose a different storage?

I am experimenting with deploying Apache Ignite on a test Kubernetes cluster that uses Docker CE as its container engine, that has a nfs-client-provisioner providing volumes to any PVCs a dynamic app may require. Used this instruction to create the…
Vesper
  • 794
  • 1
  • 9
  • 32
1
vote
1 answer

Proxy to portainer via nginx

I use nginx to reverse proxy to multiple dockerized apps, which work. But I can't get portainer working. My nginx config includes: location ^~ /apps/portainer { proxy_http_version 1.1; proxy_set_header Connection ""; set …
lonix
  • 896
  • 10
  • 23
1
vote
0 answers

Docker Swarm/Traefik/OpenVPN Setup: restrict traefik frontend access to VPN

I have the following setup: AWS VPC with multiple subnets Docker Swarm single node on EC2 instance AWS Load Balancer that routes HTTP/HTTPS traffic to various servers (including the EC2 instance) OpenVPN Docker Container (bridge network, binds the…
n1ru4l
  • 111
  • 4
1
vote
1 answer

How can I configure unix:///var/run/docker.sock to point to a remote host?

I know I can build and run a container on a remote host with Docker Machine, but some tools I'm using have built-in reliance on unix:///var/run/docker.sock, so even if I run eval $(docker-machine env my_remote_machine) first, the fool fails with the…
hamx0r
  • 171
  • 1
  • 7
1
vote
1 answer

Unable to mount NFS to a container

I need to set up an NFS server for my k8s cluster. I can set it up and mount it to a client running on bare-metal ubuntu but when I try to mount the NFS to a container (the client is an ubuntu 18.04 container) it fails with this error: $ mount…
AVarf
  • 449
  • 1
  • 6
  • 18
1
vote
1 answer

nginx as reverse proxy for multiple apps

I want to use nginx as a reverse proxy for multiple apps (in docker). They exist in separate directories in the nginx container: /var/www/app1, /var/www/app2, etc. My default.conf: resolver 127.0.0.11 valid=15s; server { listen 80; server_name…
lonix
  • 896
  • 10
  • 23
1
vote
2 answers

Route Traefik to subfolder

Is it possible to route subfolders to different containers? For example http://localhost/wordpress would load Wordpress and http://localhost/drupal would load, well, Drupal. I know I could get away with using subdomain. But here, it's for a testing…
Axiol
  • 173
  • 1
  • 2
  • 8
1
vote
0 answers

Overlay network in docker swarm not working

This is my setup: https://github.com/czpo/docker-reverse-proxy So there is a simple nginx/php stack called "site1" on the worker, and when I put a reverse proxy on the worker node it will load that site in the browser. But if I put the RP on a…
1
vote
1 answer

Traefik Wordpress Redirecting

I have a Docker Swarm setup running Traefik 2.0. We have A LOT of wordpress sites running currently on multiple servers and we'd like to dockerize them. We have a Traefik instance running fine on Docker with a file provider to those physical…
Phonic
  • 53
  • 8
1
vote
1 answer

Bitwarden docker with apache reverse proxy

I have an Apache2 server for my cloud and Collabora_online(with Apache reverse proxy) and now I've tried to install Bitwarden on my server(self-hosted) but there is one problem, in the Bitwarden docker is already Nginx as webserver and if I will…
lucki1000
  • 23
  • 2
  • 6
1
vote
0 answers

Debugging a basic nginx upstream issue

people of serverfault. Started dabbling in docker with nginx and nodejs, and I'm having a bit of trouble figuring out how to debug my issue here. I'm running 3x nodejs containers and 1x nginx load balancer in front of them. I can spin up the…
remus2232
  • 11
  • 1
1
vote
1 answer

Nginx path reverse proxy to another webserver always returning root

I have a docker setup of two containers connected to the same network. I have a Nginx reverse proxy on one of the containers that looks like this: location /some/directory/ { resolver 127.0.0.11 valid=30s; set $upstream_server foobar:1337; …
Nexrem
  • 11
  • 2
1
vote
2 answers

How to find out which docker image is used by which docker container

I am trying to write a script or one liner to find out docker image is used by which docker container eg: Let say I have a docker image 9f38484d220f, now I need to find out which container is created using this image. I know docker inspect…
Prashant Lakhera
  • 713
  • 2
  • 10
  • 25
1
vote
0 answers

Nginx proxy serves content from wrong subdomain

I'm using jwilder's nginx proxy (https://github.com/jwilder/nginx-proxy) to route traffic for several dockerized applications. Each docker application runs its own Nginx server with PHP, MySQL database and has SSL certificate configured via Let's…
Jakub Filo
  • 11
  • 1