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

docker Unix syslog delivery error

I faced at syslog related error when executing the program with the docker. docker run -d -e SERVER_ADDR=127.0.0.1 --name go-agent1 go-agent:1.0 Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error DOCKERFILE FROM centos:latest RUN mkdir…
염경훈
  • 11
  • 2
1
vote
0 answers

How to direct HTTPS traffic from nginx proxy container to website container?

I'm having 2 docker containers running nginx. The first container acts as a reversed proxy which directs traffic to the second container. The second container is where the website files reside. The proxy container has port 80 and 443 exposed to…
xenon
  • 311
  • 2
  • 6
  • 11
1
vote
1 answer

Can't turn SSL on a docker's nginx container

I'm new to docker and try to build an image based on Alpine to take care of my websites with HTTPS connexions. Currently i'm at the step to make it work from the container so i'm not finished yet with my Dockerfile my Dockerfile : FROM alpine RUN…
idiocrate
  • 23
  • 5
1
vote
1 answer

Rolling updates without downtime using kubernetes

Scenario: I got 3 replicas of a service running I want to update its version This is whats happening: The new container will be created As soon the container are switching their status from ContainerCreation to Running kubernetes will start…
elp
  • 167
  • 1
  • 1
  • 11
1
vote
1 answer

Should I remove Nginx from all docker applications if I were adding a traefik reverse proxy?

I wish to significant reduce number of public exposed ports, which currently used by many docker applications. Each docker application consists of at least a Nginx and a Python Flask, which is a pretty common setup technique -…
1
vote
1 answer

Unable to set network mode host in azure container

I'm trying to set up network_mode: host in my docker-compose file in scope of my azure web app for container. But it looks like this setting is ignored according to logs. There is no --network parameter passed in "docker run" command created…
Sergey K
  • 11
  • 1
1
vote
1 answer

Understanding docker resource limitations

I got the following ressource limits in my docker engine: 4 CPUs 4096 MB Memory 2048 MB Swap 64 GB Disk size The docker container are running with default resource distribution. Now I was investigating the container ressource usage using docker…
elp
  • 167
  • 1
  • 1
  • 11
1
vote
0 answers

Docker compose sometimes fails to bring up a docker container

I have an automated test that brings up a RabbitMQ container which occasionally fails because the container is stuck in ‘Created’ with no ports exposed. This can be reproduced, but not every time. Reproducing the failure relies on running a set of…
user1013341
  • 111
  • 3
1
vote
0 answers

How to access a docker container on linux box from any computer on the network

I have a docker container hosted on a linux box.I need to access it from any computer on my local network. From the answer obtained from this question , https://stackoverflow.com/questions/42083546/docker-macvlan-network-unable-to-access-internet ,…
Mayero
  • 11
  • 1
1
vote
1 answer

How to make custom docker image for Gitlab CI

I have CI on Gitlab for creating of my android application. This is example of my .gitlab-ci.yml: image: openjdk:8-jdk variables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ANDROID_SDK_TOOLS: "4333796" before_script: -…
Piduna
  • 541
  • 4
  • 12
  • 25
1
vote
2 answers

Bind mount ZFS backed host directory in Docker container

I have Docker 18.06.1-ce running on Ubuntu 18.04. Docker is running on a ext4 file system. I have a raid array for big storage running ZFS. I would like to mount a directory from the ZFS array into a container. However, when attempting this, I get…
Will K
  • 21
  • 4
1
vote
0 answers

Expose each docker instans with it's own ip-number

I have a server on my network and I would like to use that one to pretend to be many different servers. The physical pc is running a Ubuntu server and when connected to the network the dhcp server gives that server ip number 192.168.1.10. Then…
Johan
  • 805
  • 2
  • 8
  • 13
1
vote
1 answer

Issue insulating docker containers

I have a question, I have the following iptables config: [root@nd01 ~]# iptables -L INPUT --line-numbers -n Chain INPUT (policy DROP) num target prot opt source destination 1 ACCEPT all -- 0.0.0.0/0 …
1
vote
1 answer

how to access external mysql from docker

I have an springboot java app inside docker that needs to access an external mysql. How can I configure this? Is it possible to define it inside Dockerfile? I am now to docker so I assume this should be a simple and common task :) When I run the…
simonC
  • 195
  • 2
  • 12
1
vote
0 answers

Packer Works Locallly but fails in Gitlab CI/CD w/ executable file not found in $PATH

Here is a snippet of my JSON file for packer. Pretty much running packer build example.json via adhoc - it works smoothly and builds the AMI out in AWS. When i execute this in my GitLabCI Pipeline, it fails with the following error: Errors…
user509226
  • 11
  • 2