Questions tagged [docker]

Docker provides a high-level API to containerize processes and applications with some degree of isolation and repeatability across servers. Docker supports both Linux and Windows containers.

0
votes
0answers
5 views

Jenkins Pipeline Docker — Container is Not Running

I have Jenkins running on an EC2 Instance. I have the EC2 Plugin Configured in a Peered VPC, and when a job is tagged 'support_ubuntu_docker' it will spin up an Jenkins Slave, with Docker pre-...
0
votes
0answers
11 views

Could not resolve host: git

I've seen Gogs + Drone getsockopt: connection refused but I wonder whether something has changed. My docker-compose.yml git: image: gogs/gogs ports: - '8300:3000' - '443:443' ...
1
vote
1answer
9 views

Upgrading from MariaDB 10.2 to MariaDB 10.3 // docker-compose

i did an upgrade on my server for my Docker MARIADB with: docker-compose pull docker-compose up -d My version before: Server version: 10.2.14-MariaDB-10.2.14+maria~jessie mariadb.org binary ...
1
vote
0answers
13 views

Combining metrics of multiple docker containers of same service

Was wondering if this is possible. I have an Asp net core 2.1 app that is hosted in AWS as ec2 instance. There is an autoscale policy to bring it up to three instances if needed. In this service ...
2
votes
0answers
18 views

How to solve the import path “context” error in the docker

I'm installing a docker project from github and there are commands given in the repository and I'm just following them. The project is almost download but it gives an error while downloading the RUN ...
1
vote
1answer
16 views

ssh to docker container hosted on EC2

I want to run a docker container on EC2 and also I need to ssh into the container for debugging purposes. I have 2 ports open for ssh 22 and 8022 on my EC2 instance(security group applied). The ...
-1
votes
0answers
16 views

How to install dependencies and create project build of golang app using Docker?

I have created a Dockerfile , trying to run golang project using docker. Basically I am installing my dependencies, and create a build compile and run a app using docker. This is my Dockerfile:: # ...
1
vote
0answers
7 views

Traefik: Undefined backend for frontend

Facing an issue I can't really solve. New to Traefik and the load balancing world really. I have tried searching on the gh issues but haven't found any conclusive answers. https://gitlab.com/snippets/...
1
vote
0answers
5 views

Identityserver4 openid-configuration omits host port running nginx reverse proxy

I am setting up an Identity server4 behind Nginx reverse proxy using docker in Windows. it is running properly at myhost:5000. but when accessing http://myhost:5000/.well-known/openid-configuration ...
1
vote
0answers
6 views

Can't get traefik to work as reverse proxy on docker swarm

I set up a cluster of 3x Raspberry Pi 3 running Raspbian Stretch Lite and Docker 18.06.1-ce. Swarm is initialized and working fine so far. I read the docs on setting up traefik on docker swarm (1, 2 ) ...
1
vote
0answers
10 views

PhpStorm does not recognize remote debugger from docker(-compose)

My dockerfile FROM php:7.0-apache RUN pecl install -o -f redis RUN pecl install -o -f xdebug RUN docker-php-ext-enable redis RUN docker-php-ext-enable xdebug RUN docker-php-ext-install pdo pdo_mysql ...
4
votes
2answers
48 views

Do java flags Xms and Xmx overwrite flag XX:+UseCGroupMemoryLimitForHeap?

I'm running a containerized java application in Kubernetes. In order to make the jvm reserve memory according to the container specifications, the flags -XX:+UnlockExperimentalVMOptions -XX:+...
1
vote
1answer
21 views

Cors and database uri problem in scaling out architecture

I have react frontend and spring boot backend with mongodb behind. I have issues with setting 2 parameters in the spring boot service. First is address of the mongodb which is now set as localhost:...
0
votes
1answer
20 views

Docker Mac alternative to --net=host

According to the docker documentation here https://docs.docker.com/network/host/ The host networking driver only works on Linux hosts, and is not supported on Docker for Mac, Docker for Windows, ...
0
votes
1answer
7 views

Rancher exited after host machine power off and reboot

Can someone explain me why after host machine reboot all containers are exited?How can i find a way to restart containers specially rancher containers and everything be as before?
0
votes
1answer
8 views

Cannot access the docker path in docker toolbox /usr/share/nginx/html

I am using a Docker Toolbox on Windows 8 and trying to run angular application from nginx in Docker.I have nginx runnning on my system and rendering the default nginx page,but I want to render my ...
0
votes
0answers
12 views

Pycharm Docker Debugger Unable to Connect to DB in Docker

I am running a PyCharm 2018.2 version. I have my django code running on a docker instance and the Postgres running on another docker instance. My docker-compose.yml file is here version: "2.3" ...
-1
votes
1answer
17 views

Moving volume between containers docker-composer

I have image A (some_laravel_project) and B (laravel_module). Image A is a Laravel project that looks like this. app modules core Volume Image b here config As the list above suggests I want to ...
1
vote
0answers
17 views

Python urllib.urlretrieve() error in Docker

I recently developed a Python script to retrieve medical images from Open-I in Python. This script worked locally, but now that I have put this script in a Docker container the script errors when I ...
0
votes
0answers
11 views

Traefik + Swarm WITHOUT DOCKER

I want to deploy Traefik to redirect streams from wan to an internal docker lan. My problem is that my router where Traefik works is a bananapi R2 with openwrt, and Openwrt hasn't docker in repos. So ...
0
votes
0answers
7 views

How to configure Docker for Mac to use flannel?

Target Access docker container by its IP and port from host machine without exporting any port. Information Gathered Docker for Mac uses linux VM but not create network bridge on Mac. Other ...
0
votes
0answers
18 views

Docker application container cant connect mysql server MySQLNonTransientConnectionException

I need to run the application in docker(spring Application, MySQL). I download sample app spring application run application locally all works fine on tomcat server using MySQL DB. Docker for ...
-2
votes
0answers
14 views

getting started with prometheus and grafana

I am new to prometheus and grafana. So can anyone help me in -how to start with -what are they -from where I can get the study material and practice stuff etc.. -Also, I would like to know about the ...
0
votes
1answer
17 views

Docker remote interpreter not showing up in newest PhpStorm

PhpStorm 2018.2.3 I try to use xdebug with PhpStorm Dockerfile FROM php:7.0-apache RUN pecl install -o -f redis RUN pecl install -o -f xdebug RUN docker-php-ext-enable redis RUN docker-php-ext-...
1
vote
1answer
15 views

Running Integration Test project with dependencies on a parent project via Docker

I'm new to this site (although Ive used it many times for information!) And have decided to ask a question as me and my colleagues are stuck with Docker as were new to the tech. I have an ...
0
votes
0answers
11 views

Docker Container Store Data OUTSIDE Container/Image?

Please, just need some simple step-by-step instructions for someone completely foreign to docker, without all the fancy lingo and advance commands (and no explanations). Every time i look-up ...
-2
votes
0answers
15 views

Python Flask Kubernetes Deployment with Liveliness Probe

How can we deploy a flask application on Kubernetes which also has a probePath to check the liveliness of the application? Most of the tutorials/examples which I bumped into do not take care of it ...
1
vote
2answers
37 views

how can i know on which git branch I am when I do git clone from dockerfile

My dockerfile: WORKDIR /var/jenkins_home/workspace/[email protected]/xxxxx RUN apt-get -y install git RUN git clone https://Team:[email protected]/MinoxTeam/xxxxx.git /xxxxx && \ cd /xxxxx ...
0
votes
0answers
18 views

How to access database from the web application which running on docker Windows Container

Here i m getting below error message wile run the container. Error: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host *(my database server ip address), port *(...
0
votes
1answer
15 views

Easy way for read docker logs without ssh access

Is there a way to read docker logs from a container if i don't have ssh access to the host machine? Could i for example map the docker log command to a http port So i could read the docker logs ...
0
votes
1answer
36 views

Avoid repopulation of django database

I have a population script which must run the first time that the application is started. Only the first time. The application is running as a docker container. The way I am doing this at the moment ...
0
votes
0answers
10 views

How can i plot totpology of microservices by instrumenting the request headers

After a long searching,I came to know that to plot top0logy of multiple micro-services (like a service topology to show graphically ho the different micro-services are communicating with each other) ...
1
vote
2answers
25 views

How could I build docker images without other image?

I have some docker experience already, but all images I build were based on other images. I still don't know where did the first docker image come from? In another word, what if I need a perticular ...
1
vote
1answer
27 views

Docker step results to log file - Jenkins

The Dockerfile contains several steps to build and create a docker image. E.g. RUN dotnet restore, RUN dotnet build and RUN dotnet publish. Is it possible to export the results/logging of each step ...
0
votes
0answers
14 views

Where can I get the ONLY “docker engine for Windows”?

The Docker Store provides the "Docker for Windows" exe installer, with a lot of tools in it. But what I need is to run some Windows containers, and I don't need the management GUI(I can config it ...
0
votes
0answers
12 views

Challenges i can face in containers running OL7 but the docker host is RHEL 7.5

I have been asked to dockerize applications which require more or less whole Oracle FMW suit along with oracle DB. Preferably, the docker host should be running on the oracle engineered systems i.e. ...
0
votes
1answer
22 views

How to delete parent image after committing to a child image in docker?

I installed a docker image with OS of about a GB in my system and then I updated and installed additional software which pushed the size to almost 2 GB. I used this container to create a new child ...
1
vote
0answers
22 views

MySQL Connection access denied, but only 50% of the time, in Docker with Nginx-Proxy

I'm trying to get a local development environment running with multiple projects. After some heavy tinkering I stumbled across this project , and started adapting it to my own projects. Each project ...
0
votes
0answers
17 views

Docker (or Python) - arguments passed to container are getting corrupted

I want to pass argument to Docker container, but it's getting corrupted: $ docker run -it python python -c 'import os;import sys;print(sys.argv);print(os.fsencode(sys.argv[1]))' $'\xFF' ['-c', '�'] b'...
0
votes
1answer
17 views

SpringBoot truncates last two characters in connection url

I get the following error. java.sql.SQLException: Access denied for user 'aravind'@'192.168.99.1' (using password: YES) But in my application.prpoerties I specified following properties spring....
0
votes
1answer
15 views

How to use docker-compose to restore fresh databases quickly for integration tests?

I would like to run integration and end-to-end tests with a database in a known state for each run, to make the tests independent and repeatable. An easy way of doing this is to use docker-compose to ...
-2
votes
1answer
23 views

create new Docker image using the existing docker image

I have a docker image in docker registry. I need to run build(eg. running build on a master branch of the application) on this docker image and create new Docker image using the existing docker image. ...
0
votes
0answers
9 views

Teamcity - multiple docker registries credentials

I need to build docker image with my Dockerfile and then push it to our private docker registry. The problem is that in the Dockerfile we have: FROM docker_image_on_docker_hub so TC needs to store ...
0
votes
1answer
21 views

Docker install on Linux Mint 19 Tara

I tried to install docker on Linux Details as below - Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) Referenced link: https://docs.docker.com/...
0
votes
1answer
17 views

Docker set limit (restrict, fix) image version tag to pull (FROM) only one concrete major release version number

How to write a FROM statement in the Dockerfile that pulls the latest image from a specific Major version. Let's say there is an application that currently has three major versions: v1.7, v2.5, v3.0....
0
votes
3answers
26 views

docker-compose error connecting to redis + sidekiq

I am trying to build a container with docker but I cannot connect sidekiq + redis, the error says sidekiq_1 | Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED), seems to sidekiq is ...
0
votes
0answers
11 views

docker-ee-selinux conflicts with 2:container-selinux-2.21-1.el7.noarch

I am trying to install docker on rhel 7. Step 1 yum remove docker docker-common docker-selinux docker-engine-selinux docker-engine docker-ce Step 2 yum install -y yum-utils device-mapper-persistent-...
1
vote
1answer
25 views

Remotely check status of cassandra using nodetool. Error: Connection refused

I am trying create a docker compose setup which will wait until the Cassandra container has started before running the JanusGraph container which requires Cassandra to be running before starting. ...
0
votes
0answers
17 views

Artifactory Plugin with Dockerized Declarative Pipeline

I am trying to get dockerized build with Jenkins declarative pipeline. I am using the Artifactory plugin for resolving the dependencies. The below Pipeline works for agent: any but gives an ...
0
votes
1answer
10 views

Cannot access S3 bucket from WildFly running in Docker

I am trying to configure WildFly using the docker image jboss/wildfly:10.1.0.Final to run in domain mode. I am using docker for macos 8.06.1-ce using aufs storage. I followed the instructions in this ...