返回首页
We’re rewarding the question askers & reputations are being recalculated! Read more.

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 running on x86/64, ARM and other architectures.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Problems with running PostgresSQL together with node/express in Docker. FATAL: no PostgreSQL user name specified in startup packet

I'm trying to get a development enviroment running in docker. I have a docker compose file with 4 services: frontend, postgres, pgadmin4 and node/express. If i run postgres in docker and express ...
0
votes
0answers
4 views

Dockerfile can't open ODBC driver 17 and fails during running the python script

I have create in docker 2 contains 1 to run the MSSQL server and the other a python container with the code to read data from an .xlsx file and inserting it into SQL server. My Dockerfile has the ...
0
votes
0answers
5 views

NodeJS Application for AWS Elasticbeanstalk Docker Platform deployment from VSCode

I have an NodeJS app that I am deploying to AWS Elasticbeanstalk Docker Platform. For now, i just upload and deploy .zip file while logged in to AWS. I am wondering if there is a more efficient ...
0
votes
0answers
8 views

Is it possible to run two Nginx instance (each on 80:443 port) from docker on the same machine having two public IP addresses available?

My machine has two public IP address and serves two application from docker containers. Each application contains own Nginx. Is it possible to run two Nginx instance (each on 80:443 port) from docker ...
1
vote
0answers
5 views

docker registry - multiple auth methods

I have the following problem. I am hosting a docker registry and I need to use it with 2 different "clients". One of those clients is gitlab where I use token auth mechanism. On the other side I have ...
0
votes
0answers
16 views

Can't connect to the opened outer port from docker container - Error: connect ECONNREFUSED 127.0.0.1:3306

I have ran ubuntu docker-containers (mysql) and (nodejs server app) on windows docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS ...
0
votes
0answers
13 views

Ingress won't route to something other than / (kubernetes, gcp)

So I am trying to get a basic gcp kubernetes cluster up and running by following this tutorial http://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/ However I am stuck on ...
0
votes
0answers
9 views

Execute a maven execution in a docker image

Following is one of my maven execution step : <?xml version="1.0" encoding="UTF-8"?> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin<...
0
votes
0answers
8 views

Eclipse Che docker image fails to start on Synology DS

I have installed Dockers on my Synology DS. Then I downloaded the Eclipse Che image. When I start the image, i keep seeing the following error in the logs. !!! Docker socket (/var/run/docker.sock) ...
0
votes
0answers
4 views

How use minio's presigned URL in a Docker Swarm with other micro services to upload files with Java client API?

I want to use the object storage presigned URL to upload files with other micro services on the cluster on a docker swarm cluster. My set up is a docker swarm cluster on which I have several mirco ...
0
votes
0answers
9 views

Docker TLS handshake timeout

I will keep this short and sweet. My company blocked access to docker/docker hub for security reasons (apparently) but also uses docker internally which i want to learn. however i cannot build images ...
0
votes
0answers
6 views

TLS handshake failed with error remote error: tls: bad certificate server=Orderer remoteaddress=192.168.1.249:35230

I am trying to deploy hyperledger fabric(v1.4.3) solo mode on multi-machines, the role-ip map is as following: orderer 192.168.1.251 peer0.org1 192.168.1.249 peer0.org2 192.168.1....
0
votes
1answer
15 views

How to exec into Docker container with ENTRYPOINT in its Dockerfile

I have a Dockerfile that looks like this: FROM image WORKDIR /App ADD ./App/ /App ENTRYPOINT [ "./App" ] In the App direction I am mounting a golang binary and its config.yml. The image builds and ...
-1
votes
0answers
15 views

Killing and restarting a node.js application inside Docker Swarm

I'm doing a project where I am comparing Docker Swarm to Kubernetes and one of the things I'm testing is failover-time, i.e. if the application for some reason goes down on one node, how long does it ...
0
votes
1answer
17 views

How to set no_log: true for molecule test?

I am testing version compatibility with molecule and for the combination python 3.8 x ansible latest x debian molecule breaks in the instance creation step with TASK [Wait for instance(s) creation ...
-1
votes
0answers
9 views

How to add war or exploded war to image using jib Plugin

I am trying to build a Container image. I have used the jib-gradle plugin for war project. As my projects artifact is war. I have defined war task in build.gradle and jib task to create an image. ...
-5
votes
0answers
31 views

Not able pull 'git' for 'golang' in Dockerfile [on hold]

My Dockerfile: FROM golang:1.12.0-alpine3.9 RUN mkdir /app ADD . /app WORKDIR /app RUN apk add git RUN go get github.com/adrg/go-wkhtmltopdf RUN go build -o main . EXPOSE 8081 CMD [ "go", "...
1
vote
0answers
18 views

Connecting to Amazon's DynamoDB inside a container

I'm tryng to setup a local environment with node and dynamoDB, but I can't connect inside my app container to DynamoDB container. It works with nodemon but not with 2 containers. I exposed needed ...
-1
votes
0answers
13 views

NGINX multiple proxy configuration not working

I am struggling with my dockerized NGINX configuration. I am trying to forward to two different containers depending on the path this is my configuration file events { worker_connections 4096; #...
-1
votes
0answers
15 views

Using image from private docker registry in Jenkins Pipeline

I'm trying to use an image from our private docker registry in the test phase of our pipeline. But when using this code agent { docker { image "${imageForContractTesting}" ...
-1
votes
0answers
28 views

kubernetes deploy with tar docker image

I have a problem to deploy docker image via kubernetes. One issue is that, we cannot use any docker image registry service e.g. docker hub or any cloud services. But, yes I have docker images as .tar ...
-2
votes
0answers
44 views

Import path does not begin with hostname

I have a Go app. Some of its dependencies are in a private Github repo and another part of dependencies are local packages in my app folder. The app compiles and works on my computer without a problem ...
-1
votes
0answers
7 views

what is the difference between using devicemapper and overlay2 in kata-container

When using kata-contianer to be the runtime for docker,we can choose devicemapper(block device) or overlay2(file base)to store and manage images.kata runtime use 9pfs to share file with host when the ...
-2
votes
0answers
29 views

Openshift : MongoDB and Mongoexpress

I have some team members that don't have permission to pull docker image locally on their machine and run as local instance of mongodb and mongoexpress. So am planning to deploy as mongodb and ...
-1
votes
0answers
8 views

Node keystore exception while starting Corda 4.1 Zulu container

This error appears while starting a Docker container with image corda/corda-zulu-4.1:latest: 10:36:32.401 [tc-okhttp-stream-532365005] INFO org.web3j.corda.network.CordaNode - [ERROR] 10:36:32+0000 [...
-2
votes
0answers
37 views

i have this error when i docker-compose up

ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get -y install python-dev default-libmysqlclient-dev' returned a non-zero code: 100 docker-compose.yml file: version: '3' services: ...
0
votes
1answer
14 views

open /var/lib/docker/overlay2/83ec18bdce418fa2552c3ca151ca4b39f…/committed: no such file or directory

I was trying to build a docker image from a Jenkins build, then the build process terminated with the FAILURE message below; open /var/lib/docker/overlay2/...
-2
votes
0answers
13 views

Is it possible to make update the docker image after pushing it to dockerhub/ACR/etc at runtime as docker cp command works on localhost

I have a angular application and I have created an docker image of that, I have published it on Azure Container Register(ACR). I want to pull the image from ACR and deploy it to Azure App service, ...
-1
votes
0answers
19 views

The command to create a file in docker via make does not work

Docker Toolbox is installed on a PC with windows 8.1. When entering a command in the phpstorm terminal, it works without errors and the file is created docker run --rm -v //D_DRIVE/work/5_project-...
-1
votes
0answers
12 views

LDAP server down “Multi Stage Docker Build”

I am building a multi stage docker for my app, using an official python image "python:3.7-buster", nginx, supervisord and uwsgi. The image build is successful and i can check routes that don't use ...
-2
votes
1answer
32 views

Passing variables into package.json

I'm working on React app. I need to pass a variable into package.json from .env file: {"proxy": "ENV_VAR"} Is it possible to do that? Also, we build app using docker. Could we rewrite that key ...
-1
votes
0answers
13 views

I cannot access and connect to my container some hours later

I'm running my server with Docker python 3.7 image on an EC2 instance using Ubuntu. I'm running an django application and there is no layers including Nginx or uWSGI. It works fine for a couple of ...
-1
votes
4answers
46 views

using docker with VM

I'm new on docker and now I start learning from this tutorial: http://docker-curriculum.com/#getting-started my local machine is windows 10 and I use openstack VM Ubuntu-18.04-LTS for the docker ...
-1
votes
1answer
18 views

Copy folder content to a named volume in Docker

I have a named volume: { "CreatedAt": "2019-11-18T07:36:02Z", "Driver": "local", "Labels": null, "Mountpoint": "/var/lib/docker/volumes/example_uploads/_data", "Name": "...
-1
votes
0answers
24 views

Kubernetes pod's service cannot reach via Service IP

I am now encountering the following situation. I have expose the Kubernetes pod's service by using the NodePort, which is mapping the owf-svc port - 8081 to host port 30016. However, there are some ...
-1
votes
0answers
26 views

“ERR_CONNECTION_REFUSED” Angular and dotnet core WebApi using Docker

I am trying to dockerize my Angular/WebApi application and with help from the community I have finally managed to build an image and being able to execute the image without errors in the console. But ...
0
votes
1answer
24 views

Dockerfile script working in native Ubuntu but not in Windows or WSL

In my Dockerfile I have the next RUN script: RUN set -ex; \ echo "Downloading plugins"; \ cd /tmp/plugins; \ for f in `cat plugins.list`; do\ curl -O -fSL $f; \ done; When I build the ...
-1
votes
0answers
17 views

Prevent nestJS from clearing the terminal on file change

When executing nest start --watch in a docker-compose context, each time a file change is detected, the console is cleared, including the logs of all other containers. I did not find any option to ...
-1
votes
1answer
28 views

Build image with docker file error: Failed to get D-Bus connection: Operation not permitted

I am building an image with docker file,in my docker file i execute a script.In script,There are some commands like: systemctl start postgresql-9.6.service systemctl disable NetworkManager And when ...
1
vote
1answer
38 views

When you use Kubernetes, do you really need another Service Discovery or an API Gateway Solution inside kubernetes?

We have started using kubernetes recently. We are actively migrating from Docker Swarm clusters to Kubernetes on a two master HA cluster and around 8 slave nodes. 4 each to a master. We use Spring ...
-1
votes
1answer
21 views

How to “solve lambda expressions are not supported in -source 1.5 [ERROR]” when compiling within a jenkins docker

I'm trying to follow this jenkins tutorial: http://www.youtube.com/watch?v=FonVQNqLWiE&list=PL6tu16kXT9PqIe2b0BGul-cXbmwGt7Ihw&index=7 but I'm trying to do that within a dockerized jenkins. ...
0
votes
0answers
11 views

Elastic Beanstalk Single Docker container not working without proxy?

I've set up a Beanstalk environment with a single Docker container which runs a node server on exposed port 1234, which responds with 200 OK on the /health URL. I configured Beanstalk to use port 1234 ...
0
votes
1answer
28 views

“An assembly specified in the application dependencies manifest was not found” using docker

I am trying to dockerize an an angular aspnet core 2.2 webapi using the following dockerfile: FROM mcr.microsoft.com/dotnet/core/sdk:2.2.105 AS build WORKDIR /src # Copy csproj and restore as ...
0
votes
3answers
27 views

How docker named volume works?

I am new to docker and volumes and is confused about how named volumes are working. I have two scenarios in which I want to know how the named volumes will work First Scenario I have to setup two ...
-1
votes
2answers
28 views

Postgres Database in Dockerfile

I am trying to build a PostgreSQL image in DockerManually becuase I need to add some certain configuration for the database that doesnot exit in the postgres images provided with docker. I wrote the ...
1
vote
1answer
41 views

Gracefully shutdown Spring application running in Kubernetes

I've implemented graceful shutdown logic in my Spring application and it works locally if I send a SIGTERM to the Java process. However when I'm running it in Kubernetes if I delete the pod or ...
0
votes
0answers
11 views

Set volume size in Dockerrun.aws.json

Hey I am deploying my multi container docker env via elastic beanstalk. My docker-compose.yml has an entry like service: image: redis volumes: - redisdata:/data volumes: ...
-2
votes
0answers
33 views

HTML to PDF generation in dot net core

Working on a project where i need to convert a html string into pdf from dot net core api. is there any free dll through which i can perform the same. I have used dinktoPDF but using this approach am ...
0
votes
1answer
24 views

how to stop docker automatically launch jupyter notebooks

When I try to run a docker container as below: docker run tensorflow/tensorflow:1.11.0-py3 It always launch jupyter notebook and shows messages as below: [I 06:39:47.738 NotebookApp] Writing ...

返回首页
杏彩计划 杏彩官网 杏彩APP 杏彩走势图 杏彩下载 杏彩官方 杏彩网站 杏彩怎么玩 杏彩官方 杏彩靠谱吗 杏彩代理 杏彩骗局 杏彩投注 杏彩倍率 杏彩开奖 杏彩漏洞