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
10 views

Docker web server (nginx + php5.6) not update when code change

I pull an images from docker hub and run a container from that image by command: docker run -d -p 8081:80 -v /Users/nguyenphong/Documents/tiki/fulfillment:/src --name fulfillment tala/nginx-php ...
0
votes
0answers
4 views

Building DockerCompose project in Visual Studio errors our when website projects exist in the solution

I'm currently building a MicroServices project. We split up the Frontend and the Backend in seperate different docker containers. We've added the frontend projects to the Visual Studio solution as ...
0
votes
0answers
7 views

Change directory command in Docker on Windows is not working

I have docker that runs the following file: CMD /usr/local/bin/deploy.sh First command in the deploy.sh file is cd /home/app It works in Docker on Linux, however in Docker on Windows I have ...
0
votes
1answer
6 views

Unable to connect to Dockerized CherryPy Server while using `cherrypy.tree.mount`

I'm unable to connect to CherryPy server running inside a docker container from my system when i use cherrypy.tree.mount but when I do cherrypy.quickstart() I can connect to the server. A curl request ...
0
votes
0answers
18 views

Docker returning non-zero code even though ruby and bundler are updated

I'm trying to dockerize my rail application using this command: docker build -t nilocstore . within my root rails app folder. However, I continue to get this error when I do so: Warning: the ...
0
votes
0answers
15 views

Run Multiple Jar files sequentially (not simultaneously) on “docker run imagename” command

I have two jar files(a.jar and b.jar). b.jar have dependency on a.jar. b.jar can run only after a.jar is up and running. I want to run them via single docker run command. My docker file is like this ...
0
votes
0answers
13 views

docker compose config for multiple instances of one image with different arguments

I have a cli application that can run two services based on the input argument. 1- app serve // to run a web server 2- app work // to run a long-running background worker they share the same code. ...
0
votes
0answers
11 views

Why Docker `/var/lib/docker/overlay2` directory can not be on a overlay2 fs

When /var/lib/docker/overlay2 directory is on an overlay2 fs, Docker fails to start with: level=error msg="'overlay2' is not supported over overlayfs" storage-driver=overlay2 level=error msg="[...
2
votes
3answers
26 views

How to check the directory structure of a docker tar archive?

The case is some users use docker save to get image archives and upload them to me, then I want to check the directory structure of these archive.For examples I'd like to know if there is /var , /root ...
0
votes
0answers
5 views

Jupyter Datascience docker - connecting to mssql server

I'm trying to setup docker image from jupyter/datascience-notebook, on top of that I'm adding some libraries needed for my work. Our database is MS SQL Server 17 running on ubuntu server. For ...
0
votes
0answers
13 views

Environment variables vue js, azure kubernetes service, docker containers

I am trying to use an environment variable in a vue project to store the base url of the api used by the vue app. I am able to set the variable and it works just fine in dev mode using dotenv package. ...
0
votes
2answers
37 views

Dockerfile, switch between dev / prod

I'm new to docker, i've done their tutorial and some others things on the web, but that's all.. So I guess I'm doing this in a very wrong way.. It has been one day since I'm looking for a way to ...
1
vote
1answer
17 views

Docker compose & docker-entrypoint

When running docker-compose up --build I am always running into this error message. Anyone knows what I am doing wrong with the docker-entrypoint file? ERROR: for 986991ccdfe1_ubercoach_web_1 Cannot ...
0
votes
1answer
16 views

How to pull all alternative tags of a docker image?

I administer a gitlab with build pipeline. All components are encapsulated in docker images from the official gitlab maintainer. Whenever I update - usually once a week - I need to check whether the ...
0
votes
1answer
11 views

Class PhpStorm_Codeception_ReportPrinter does not exist on version 2.3.9 of codeception

There is a similar question but that does not apply here as I am using codeception version 2.3.9. Class PhpStorm_Codeception_ReportPrinter does not exist That being said, I have set up remote php ...
0
votes
0answers
16 views

Is it possible to config docker-compose to ignore error of one their services and continue others?

I wonder if we have an option to configure docker-compose to ignore errors of one of the containers and continue to start others. For example, here is my docker-compose.yml version: '3' services: ...
0
votes
0answers
7 views

How do you configure Nginx to proxy_pass “/” to one container and “/something” to another container?

I have two Docker containers that I want accessible from different URI, but nginx only serves the container at "/". worker_processes 1; events { worker_connections 1024; } http { server { ...
-1
votes
0answers
12 views

how to run my application on windows container in azure?

i was just following this azure article to deploy my application using docker, The following example creates an App Service plan named myAppServicePlan in the Basic pricing tier (--sku B1) and in a ...
0
votes
1answer
22 views

Docker Container Start Command Did Not Get .bashrc variables

I'm using docker to execute a command when starting the container but seems the environment variable did not get from the .bashrc file, please give me some advice. thanks dockerFile I add this to ....
0
votes
0answers
5 views

How to deploy multiple SOA Composites on Weblogic 12c that runs on Docker?

I just installed Weblogic 12c that runs on Docker using following tutorial: http://fabiopeblog.blogspot.com/2016/04/how-to-create-soa-1221-docker-image-on.html But now every time I start SOA container ...
1
vote
1answer
9 views

Angular 6 / Nginx / Docker / Kubernetes: configure environment variables for different environments

I have an Angular 6 application that I'm required to deploy onto a Kubernetes cluster as a Docker container (Nginx Base Image). The same image is built once and used for dev test prod environments....
0
votes
0answers
8 views

How do I run a docker private registry with letsencrypt in ubuntu.18.04

I am trying to get a docker private registry running on a server. I am running Docker version 18.06.1-ce build e68fc7a for this setup both server and test client. (Note: I replaced the real domain ...
1
vote
1answer
17 views

AWS ALB vs Docker swarm

I have an application running on AWS EC2. In order to get high availability, we are planning to set up AWS Load balancer and host the application in a minimum of 2 EC2 instances. We also heard about ...
0
votes
1answer
18 views

docker web server exiting without error message

I have my project set with docker-compose. Was working fine until today when I rebuilt the web container. Now whenever I want to start it using docker-compose up it just exits without an Error message:...
0
votes
0answers
7 views

Resolve docker windows container name from host

I'm trying to resolve a docker container address from the host. Windows host. Windows container. I've reviewed number of similar questions: How do I resolve hostnames to Docker containers from the ...
0
votes
0answers
9 views

module.js:550 error Cannot find module 'mongoose' in docker

i have mongoose in my package.json , when i run npm install and run the application locally with out docker (i.e; npm start) it is working fine . but i am facing issue with docker i am running this ...
1
vote
0answers
88 views

Build Error. Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages

Build Errors unable to find jq. Err http://deb.debian.org jessie/main amd64 Packages 404 Not Found Err http://deb.debian.org jessie-updates/main amd64 Packages 404 Not Found Fetched 723 kB in ...
0
votes
2answers
62 views

Window docker can't do “apt-get update” from any linux repos

W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file. W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file. ...
0
votes
1answer
13 views

“Exec format error” with docker run command

I have this Golang based Dockerfile: FROM golang:latest RUN mkdir -p /app WORKDIR /app COPY bin/huru . CMD ./huru I checked and the huru binary file is in the working dir. I get this error: /...
1
vote
1answer
20 views

Docker-Compose + Command

It seems my docker-compose commands only execute the last command. In this case runserver. command: python3 manage.py collectstatic --noinput command: python3 manage.py migrate --noinput command: ...
0
votes
1answer
8 views

Docker compose hangs on Ubuntu 18.04 after Ctrl+C

If I Ctrl+C immediately after running docker-compose run, then: Intermittently it will hang, ultimately reporting: ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain ...
-4
votes
0answers
23 views

Postgres using 100% cpu [duplicate]

I have a postgres container on digitalocean, and it's using 100% cpu, I do not know what's happening Image version: postgres: 9-alpine
0
votes
0answers
23 views

How can I compose two containers in one

If i go to the container sudo docker-compose exec web bash I get php7.2 in my linux docker with apache2 If I go to the container sudo docker-compose exec lets bash I get ssl certificates :)) ...
0
votes
1answer
17 views

docker-compose - Composer could not find a composer.json file in /var/www/html

Trying to make docker container for my project and after using docker-compose up --build command I get this error: Composer could not find a composer.json file in /var/www. My Dockerfile: FROM php:7....
1
vote
1answer
12 views

How can I configure docker logging to conditionally send to CloudWatch?

I have the following in a docker-compose.yml web: image: my_web build: context: ./ dockerfile: web.docker container_name: my_web networks: - front ports: ...
0
votes
3answers
22 views

Writing csv files to local host from a docker container

I am trying to set up a very basic data processing project where I use docker to create an ubuntu environment on an EC2, install python, take an input csv, perform some simple data manipulation, then ...
0
votes
2answers
19 views

How to update docker daylight saving schedule

We have a docker image using America/Sao_Paulo timezone. Since the government changed the period of daylight saving time in Brazil, it looks like the docker image didn't get the update, even if the ...
0
votes
0answers
9 views

How to setup Asterisk NAT on docker for Windows

I need to setup a docker container running an Asterisk PBX. The problem is that I receive the wrong ip in sdp replies. In fact Asterisk is using the container internal IP. The second problem is that ...
0
votes
1answer
20 views

How to set a Python alias in a Singularity container upon execution?

I have been trying to set some aliases in my container but I haven't been able to do it successfully. While building the container I put alias python3=python3.6 in %post and things work fine; the ...
0
votes
0answers
8 views

(False Positive) Running docker-compose with gitlab-ci: Build job fails but pipeline succeeds

I am trying to get gitlab-ci to run my docker-compose file to build the integration environment, run the tests, and then either success or fail. The dockerfile for my integration tests: FROM maven:3....
0
votes
1answer
20 views

replicate call to start nginx in Dockerfile from docker-compose

I have the following Dockerfile that does work: FROM nginx:1.15.2-alpine COPY ./build /var/www COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80 ENTRYPOINT ["nginx","-g","daemon off;"] I need to ...
0
votes
2answers
22 views

Setting up SMTP server for your app in a container

I have an app which sends email and requires smtp running on port 25. For which I created another container and mapped port 25 from host to container. That didnt quite work well, as it kept throwing ...
2
votes
2answers
35 views

How to tell the software version under a tag on Docker hub

I am quite newbie in docker, and I am trying to find the way to tell version for a docker hub tagged image. For instance, the jenkins/jenkins:lts-latest image, listed here https://hub.docker.com/r/...
1
vote
1answer
16 views

Safest way to turn docker cli bash commands into an api for external application in production use

I'm running a program that uses several docker images and containers and it's all spawned and managed by the code. At the same time, I need to enter into the docker exec -it cli bash and execute some ...
0
votes
0answers
8 views

How to enable container registry for gitlab which is running as docker container

I'm running gitlab as a docker image using docker compose like shown below. Now I need to enable the container registry, which is described here: https://docs.gitlab.com/ee/administration/...
0
votes
1answer
27 views

How to view my running docker image in the browser via private IP?

I'm running my docker image in my docker container in my AWS EC2 instance inside my virtual Ubuntu machine and am trying to access it via my virtual Ubuntu machine. I understand that typically one ...
2
votes
0answers
41 views

microservice java classes - docker

I have a maven project that includes multiple java packages that each implement a set of interfaces. I use the functions that I defined in the interfaces in my java applications. I want to change the ...
0
votes
1answer
24 views

Failed to execute goal com.spotify:dockerfile-maven-plugin:1.3.6:build on project 'foo': Could not build image:

We working in small team of 4 people. We using docker to deploy our services. One of the services is a java Spring Boot project which is deployed after building docker image with maven. To make docker ...
0
votes
0answers
12 views

VS2017: Adding environment variables to docker container for debugging

I added docker support to my project using VS2017 (right click the project > Add > Docker Support) which created a Dockerfile for me and updated launchsettings.json. I have the following ...
0
votes
0answers
14 views

access container with localhost in docker network

I run Karma tests with Webdriver on a Selenium docker. In my tests I would like to use localhost to specify the browser and web server. Today I need to use the container names karma and selenium in my ...