Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Docker images, containers, hub, and everything related to the containerization platform

0
votes
0answers
6 views

Error running Team City build step in Docker image: "ENOENT: no such file or directory, lstat 'C:\ContainerMappedDirectories'

I'm running a Team City build that runs a command line step in a Docker image (stefanscherer/node-windows:8.11.2-nanoserver). The step is simply this: npm install Note that Team City allows you to ...
0
votes
0answers
6 views

Rancher 2.0 Node Scheduling Priority Settings

Does anyone have experience with Rancher 2.0 priority scheduling? I would like to make sure certain containers are running over others. If I add scheduler, priority and priority class name, nothing ...
1
vote
1answer
22 views

why can't map local path to docker's inside?

I want to build private docker hub. and I did it with: docker run -it --restart=always -p 7901:5000 -v /data/registry:/tmp/registry registry /bash/bin And my disk informations as below: [root@10-...
0
votes
1answer
22 views

Docker exec environment different to container shell

I have a docker image that looks something like this: FROM ubuntu:16.04 # Install packages for building ruby RUN apt-get update && \ apt-get -y install build-essential git curl wget net-...
0
votes
1answer
18 views

Docker won't create a bridge network without being given an explicit subnet

The problem The problem is that this happens: $ docker network create alpine4 Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign ...
0
votes
0answers
8 views

Filter layers of base image

I need to obtain only the layers of my image (without the layers of the base image). Now, I using the registry API to get the manifest of the image and the manifest of an image gives the layers of the ...
1
vote
0answers
14 views

Set container registry auth key via command line/env variable

I'm trying to set up Jenkins CI pipeline which will be used to build docker images. I have my auth key stored in Jenkins credentials and I want it to be loaded on start in placed in some environment ...
0
votes
0answers
8 views

Docker build not picking up built jar?

I am new to the DevOps world but I am trying to build a pipeline using Jenkins and Docker. I have Jenkins building the docker image by: docker build -f Dockerfile --build-arg jenkins_jar_file=${...
1
vote
0answers
6 views

After deployment, one Rancher load balanced RESTful app instance returns 404 while other returns results

I have setup a CI/CD pipeline which triggers builds, packages, and deploys tasks that execute on Gitlab online whenever a Spring boot RESTful service app is checked in. The three stages and tasks run ...
1
vote
1answer
26 views

Docker: strategy-advise for a rookie

I am VERY new to Docker and I looking for a confirmation of my views and my usage of Docker in my use-cases. I'll try it with examples: I have a T3 application. Every tier is a basic requirement (...
-1
votes
1answer
29 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

My CD pipeline: Get docker image (created and pushed during CI stage) Copy docker-compose .yml template to target server Run the app Let's go straight to the 3rd point. I can run the app using ...
1
vote
0answers
7 views

Dedicated physical network interface to containers in an isolated way?

I haven't found what I want to do though it seems basic architecture. On my host I have multiple physical interfaces and docker0 by default (that is connected to which interface?!) One interface ...
1
vote
1answer
14 views

What are the correct volume maps for zabbix running on Docker?

I want to run zabbix inside Docker and there are images for MySQL, Nginx and zabbix server ready to go. I know that to keep the containers stateless I need to map a volume on the host to the ...
5
votes
3answers
43 views

Continuous Deployment best practices for managing application configuration

My CD pipeline: Get Docker image (created and pushed during CI stage). Copy docker-compose .yml template to target server. Run the app. Let's go straight to the 3rd point. I can run the app using ...
1
vote
1answer
14 views

How to update pods if version hasn't changed?

During development we are continually building a Docker image with the same version (say 0.0.1-development) as there is no need to bump for each minor change. We do eventually bump when additional ...
1
vote
1answer
20 views

How to implement the Load Balancing in Openshift ?

I have deployed my application on cloud using Openshift. I tried few blogs but could not find out the best ways to implement the Load Balancing . Please help.
1
vote
0answers
24 views

Kubernets docker registry behind nginx-ingress

I try to setup docker-registry in Kubernetes cluster behind the nginx-ingress controller. The issue is, when I try to push the image into private registry, it tells me: Get https://registry.local/...
0
votes
0answers
12 views

Jenkins Custom Configxml

I'm building a custom Jenkins docker images , so I need some custom configuration at config.xml of Jenkins master . For example ; <docker-registry-url> <url>https://registry....
0
votes
0answers
10 views

Any docker images that let me run R scripts in directories?

Hi there I'm currently trying to find a premade docker image that is compatible with R. I have tried rocker/r-base and rocker/rstudio. The problem is that these immediately start R. I am looking for a ...
0
votes
0answers
10 views

Facing issues with configuring Elasticsearch on docker contianer on a private server

I am trying to configure the elasticsearch inside a contianer in a Private instance , logstash and kibana is on public instance , so i have ran the below command to get the elasticsearch up and ...
0
votes
1answer
18 views

In a Database Per Service model - should i include the database in the service container?

I am implementing a simple setup with two micro services and would like each of them to have their own DB - each service is running in it's own container. Should i include the DB's in each service ...
0
votes
1answer
17 views

Docker hostnames are not resolved in a custom network

I have the following configuration in my docker-composer.yml file. version: '3.3' services: service-1: container_name: 'service-1' build: './service-1' depends_on: - 'mongo' ...
2
votes
2answers
47 views

Is Docker compose installation required everytime I start a new session on docker CLI

I have downloaded docker toolbox to learn docker and I have started with docker compose topic. I had run few docker-compose command and next time when I restart the docker CLI(here docker quickstart ...
6
votes
2answers
58 views

How to deploy multiple dependent micro services

We want to deploy multiple microservices on AWS ECS. The issue that we need to solve is how to deploy them in an atomic way: Let says we have the front-end services which requires the user service ...
1
vote
0answers
21 views

How to pass a /dev/disk device on macOS into Linux Docker?

I've connected external HDD via USD on macOS, and I'm running Ubuntu's Docker container as: docker run -it --device=/dev/disk3 --privileged ubuntu bash but the device is not present in the container:...
0
votes
2answers
15 views

Can a cross platform app be run as a container on both Linux and windows hosts?

I have read (and seen several online videos) that Linux containers can’t be run on windows and visa versa. It is my understanding that this is due to the fact that the container doesn’t contain a ...
4
votes
1answer
31 views

Multi platform test on Travis-CI using Docker

I am trying to write my .travis.yml to perform multi platform test on Travis-CI using Docker. The platforms I want to test on: Ubuntu 14.04 Ubuntu 16.04 Debian 8 Debian 9 The whole concept in a ...
0
votes
1answer
36 views

How to change the owner of VOLUME directory in Dockerfile?

I've got the following Dockerfile: FROM ubuntu:xenial RUN useradd -d /home/ubuntu -ms /bin/bash -g root -G sudo -p ubuntu ubuntu WORKDIR /home/ubuntu USER ubuntu VOLUME /opt/myvolume Which I built ...
0
votes
0answers
23 views

Enabling Docker containers to connect to Internet from laptop while running only on WiFi

These are the network interfaces I have on my Debian Linux Stretch laptop ~$ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:...
0
votes
0answers
22 views

Load Balacing Nodejs application using Nginx and Docker

I am following this YouTube tutorial on how to configure Nginx Server on Docker /docker_compose.yml version: '3' services: nodecluster: build: nodecluster ports: - "49160:...
3
votes
1answer
36 views

Internal network between container Docker Compose with outgoing connection

I am a newbie to Docker. I am trying to run my application containing from multiple containers Here is my docker-compose.yml file version: '3.3' services: php-service: container_name: 'php-...
0
votes
0answers
10 views

Using IPTable to restrict traffic to a Docker container

I've spun up a web server that listens on port 8080 like this: # docker run --rm -p 8080:8080 python:3.6 sh -c "cd tmp && python -m http.server 8080" I want to dynamically adjust iptables ...
0
votes
0answers
10 views

Preparation Failed Error on Centos

I'm trying to use Gitlab-Runner with Docker running on Centos to do some CI shenanigans, but I keep getting the error ERROR: Preparation failed: error during connect: Get http://%2F%2F.%2Fpipe%...
1
vote
2answers
156 views

What's the best complete DevOps setup?

I'm curious what everyone recommends. Vagrant is for setting up test environments right? Ansible/Chef etc. seem good for servers you own, but what about cloud? Docker... great for standardizing app, ...
0
votes
2answers
54 views

Dockerfile base image

I have a Python application that I want to containerize with Docker. Should I use FROM python:3 or FROM python:3.7? Does the python:3 tag automatically use the latest minor version of Python? Would ...
2
votes
0answers
59 views

Handling request based on source ip with traefik in k8s

I have a k8s cluster (three vms on my own hardware; no aws, google cloud, ...) that uses traefik (https://traefik.io/) as a reverse proxy to address services/deployments in the background. For this I ...
2
votes
2answers
94 views

Applying ansible playbook to a docker container on a remote host

I have automated the setup of several docker containers with ansible. This works pretty well but there are certain recurring tasks that have to be executed within the docker containers. It is ...
1
vote
1answer
48 views

docker volumes on cifs share cause permission disaster

I have a small vm running docker it only has a 20gig SSD which is more than enough for the OS + SWAP + Docker and the container images. But now I want to run a nextcloud docker image on that host. ...
0
votes
0answers
41 views

Should CDN upload be part of my Docker build?

I've set up a Docker container that builds and executes a web application. That container gets built on a CI as a service, then pushed to a private Docker registry to be run from my servers. I want ...
1
vote
0answers
31 views

Stuck! using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what ...
3
votes
1answer
37 views

Mysql with Kubernetes

I am converting a webapp from monolithic to kubernetes based architecture. But how can mysql be persistent with data when we have 2 mysql pods in each of 2 differnet nodes? I think we can mount a ...
2
votes
1answer
57 views

Diagnosing large delay in file sync to Docker for Mac

Preface: I understand that Docker for Mac has file syncing performance issues, but everything I've read about the issues is related to slow read access. I don't really have a problem with slow read ...
3
votes
1answer
69 views

Using docker-compose, what's the recommended way to handle different sets of containers for dev and prod?

I'm creating a webapp with a python backend, Nginx as the server, and Vue as my frontend web framework. When deploying to production, I build an nginx container that, on build, compiles all my ...
0
votes
0answers
10 views

Saving core dumps when AWS restarts a docker container

I have a Java Spring application running in a Docker container on AWS. When the Spring process is dead, the AWS is configured to automatically restart the Dockercontainer. This deletes any heap dump ...
4
votes
1answer
65 views

What methods are available for connecting many-to-many containers?

I have two containers (Docker): TensorFlow container NodeJS container used as a frontend to the TensorFlow container. Both containers have TCP listeners on a port specified using environment ...
6
votes
5answers
134 views

Cheapest and easiest way to run a periodic Docker process

I have a dockerized Python process that a client would like to run once or twice a month. It calls a number of Google APIs and stores the results in a Google Sheet. It does not accept network requests....
1
vote
2answers
103 views

Does building a Docker image require the Docker daemon to be running?

I am trying to get my feet wet with Docker/containers. I started with this tutorial: Getting Started · Spring Boot with Docker It works fine, but I was surprised it is necessary to have the "dockerd"...
0
votes
0answers
30 views

How create ftp and ssh access for users and keep overall environment safe

//edit In practice I would like to create a shared web hosting and I wonder how create ftp and ssh access for users and keep overall environment safe. Docker will be ok for this purpose? How use ...
0
votes
0answers
29 views

Docker pull fs hanging while trying to download mysql image(see below screenshot)

Every time I try to pull mysql dAocker image some or other fs pull gets stuck. Repeated ten times already. Need help to resolve this.
0
votes
0answers
10 views

Payara container uses container id instead IP address

When I deploy an application on Payara server (Docker container) it changes the IP address with the container id. how can I change that behavior?