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

Connection Refused Error Nginx Nodejs

I am following this YouTube tutorial on how to configure Nginx Server on Docker but I am getting the following error proxy_1 | 2018/07/14 22:18:24 [error] 5#5: *1 connect() failed (111: Connection refused) while connecting to upstream,…
Sachin Divakar
  • 111
  • 1
  • 5
1
vote
1 answer

2 Docker Containers 1 Image

I've been trying to get two containers of a single image started up, however when I am unable to attach to the second container. Here's what I've got so far. []#docker image ls gives me the one image I have, docker.io/centos []#docker container ls…
UpTide
  • 236
  • 1
  • 9
1
vote
0 answers

Docker cannot route OpenVPN clients to stack containers

I have a docker cluster with an OpenVPN container as an access server and a dns container as a forwarder. All containers are connected to a docker overlay network called vpn, but some run as a docker swarm stack and others are running independently…
Ammar Lakis
  • 176
  • 1
  • 1
  • 9
1
vote
1 answer

docker-compose response interactively to docker output

I have the following docker container: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ ruby ruby-dev \ curl wget \ gnupg \ git \ …
Mic
  • 11
  • 1
1
vote
2 answers

Glusterfs can't set xattr security.selinux

I'm currently trying to use Gluster as storage for docker volumes on Centos 7. The gluster version is 4.0.2. On creation of the volume the files from the container are copied to the new volume. The volume is stored in a gluster mounted directory…
rmmed
  • 11
  • 1
1
vote
1 answer

Forward forwarded port in Docker

I have some trouble forwarding ports that are LocalForward to the container via SSH Tunnel. The whole network looks like this: This is my Dockerfile for the GW Container: FROM ubuntu:latest RUN apt-get update \ && apt-get install -y ssh \ &&…
Jan Richter
  • 183
  • 1
  • 11
1
vote
1 answer

Docker Stack Deploy Does Not Work

i am trying to deploy a stack to my docker swarm but it does not work. i call the command sudo docker stack deploy -c docker-compose.yml server-test but it gives me the error unsupported Compose file version: 2 but when i run docker-compose up, it…
X0r0N
  • 245
  • 1
  • 3
  • 7
1
vote
1 answer

Why is my Docker Symfony project with Composer consuming so much memory?

Description I'm deploying my symfony project in prod. It works fine when I simply run docker-compose up. However I'm getting an issue with my deploy script and try accessing the web page in my navigator. Fatal error: Allowed memory size of…
kemicofa ghost
  • 133
  • 2
  • 7
1
vote
1 answer

Redirect a http request to a specific IP and port in a Docker Container

I am using a Docker container with an image based on python:2.7-alpine. I would like to have all the requests to ec2.us-west-2.amazonaws.com to be redirected to 127.0.0.1:3000. How can I achieve that? I am running a dummy AWS API endpoint locally in…
1
vote
2 answers

Install only docker client/cli binaries on centos

Is it possible to install the docker client/cli binaries only - i.e. without the deamon? I currently install docker-ce on centos using yum install docker-ce, as detailed here. However I can't find a package that only contains the client binaries. I…
stripybadger
  • 113
  • 1
  • 4
1
vote
1 answer

Suricata, Docker, and host networking: No non-docker traffic

I've created a docker container with Suricata and Evebox on it. On my host I start with: ifconfig enp2s0:1 192.168.0.111 netmask 255.255.255.0 up This sets up a new interface off my existing one. I then run the docker container like so: docker run…
Fmstrat
  • 237
  • 4
  • 15
1
vote
0 answers

What is the best way of testing million concurrent requests?

I have currently set up a Docker Swarm that has containers with node.js servers running in it. I am going to try different setups with different amount of node.js containers and see how long it takes to upload json data to servers. My purpose is to…
kaaleppi3
  • 11
  • 3
1
vote
1 answer

Why docker is not working with this config in iptables?

i have installed docker but standard policy is all open. I added this rules in iptables -N DOCKER-USER -I DOCKER-USER -p tcp --dport 80 -j ACCEPT -I DOCKER-USER -p tcp --dport 443 -j ACCEPT -A DOCKER-USER -i eth0 -j DROP but the result is…
1
vote
2 answers

How to allow standard, non-admin, Active Directory users access to Docker without making them sudoers?

I have a compute server with users that authenticate over AD. I want these users to be able to use Docker without making them sudoers. The official advice is to add users to the docker group, as "[w]hen the docker daemon starts, it makes the…
Louis Waweru
  • 755
  • 1
  • 9
  • 29
1
vote
1 answer

PHP-FPM 7.1 not accepting config parameters in Docker

I am getting this error on the end of php-fpm container initialization. This one and another with upload_max_filesize as unknown entry. [04-Jun-2018 13:07:59] ERROR: [/usr/local/etc/php-fpm.d/zz-docker.conf:4] unknown entry…
Jacek Krysztofik
  • 189
  • 1
  • 15
1 2 3
99
100