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.

0
votes
0answers
9 views

AWS CodeBuild Docker image with ASP.NET Core 2.2

I want to build my project in AWS with ASP.NET Core 2.2, and since AWS unfortunately does not have their own build image available for that, I'm trying to use the Docker image mcr.microsoft.com/dotnet/...
0
votes
0answers
16 views

Why does my exposed Docker port not allow connections?

I have a docker container on Fargate/CloudFormation. I can connect to the socket.io server on port 8080 via an http client, but cannot directly connect the tcp socket connection (our iOS and Android ...
0
votes
1answer
9 views

Cannot define aliases in metasploit framework docker image

I'm trying to use the Docker metasploit image within my own Dockerfile config which is this one: FROM metasploitframework/metasploit-framework WORKDIR /usr/src/my-awesome-tool COPY . . RUN pip3 ...
0
votes
0answers
7 views

Docker Compose is not working due to proxy issue windows

Docker compose is not working when run from the command line. Seems like a proxy issue but i am really not sure what is the around for the proxy settings for windows? I am not even sure if this is ...
0
votes
0answers
10 views

Oracle Database Change Notification Connection lost when Using in Docker Container

I'm using Oracle Database Change Notification, in order to get changes from Oracle. I'm using this example from Oracle. Following is the Registration properties I'm using: Properties dbProperties =...
0
votes
0answers
18 views

Save resources(jpg, png) in container

I'm trying upload my application to docker container, all fine JAR was build and docker-compose works. I have a problem with resources JPG/PNG added on container, all functions CRUD works by after add ...
0
votes
0answers
10 views

Service 'app' failed to build The command 'bin/bash'

I am new in docker. I am trying to install/configure Magento2 with docker. I have some instructions from work how to install it but for me its not working. I should install with that command. docker-...
0
votes
0answers
15 views

docker-desktop for Mac access API on port 2376 with TLS/SSL using socat

for Mac OSX docker-desktop the docker daemon tcp ports of the internal xhyve/bhyve HyperKit VM (which runs the docker daemon) are not exposed to the host (my Mac Laptop) preferences -> Daemon -> ...
0
votes
0answers
9 views

cant find a solution for this Docker Windows

when applied "docker-compose up" , i get error message from console (git bash) Command use: docker-compose up Results: ERROR: for azerothcore-wotlk_ac-database_1 Cannot start service ac-database: ...
0
votes
0answers
6 views

Setup rancher agent in Proxmox LXC container

I am trying to setup an LXC container that will run my rancher setup. I have an LXC container with docker installed in it. This LXC container runs on proxmox. It already runs rancher-server but when ...
0
votes
0answers
10 views

How to use a docker container name instead of IP for DB connection with knex

I have a postgresql DB in a docker container, and a backend API in another docker container (nodeJS). If I use a standard http post request in the node API I can connect to the DB using the DB's ...
0
votes
0answers
9 views

AWX docker: How to authenticate with Azure using Active Directory. Will not work for me

I've been banging my head for about a week now. I have AWX running via docker-compose and setup on an EC2 instance. My department does not have credentials to create Azure Service Principals so while ...
0
votes
0answers
8 views

Trying to connect to a grpc service, running on an isolated Docker swarm, that is exposed through Traefik

I have been trying to configure Traefik to be the reverse proxy for my dev docker swarm which runs on its own VPN, isolated from the outer world. The swarm consists of 3 manager nodes and 3 worker ...
0
votes
0answers
4 views

What is different in iptables rules for swarm vs docker-compose

Below for a given docker-compose.yml version: "3" services: jenkinsBO: user: root image: jenkinsci/blueocean ports: - '10000:8080' - '50000:50000' deploy: ...
0
votes
0answers
23 views

Dockerize ubuntu with docker for windows [duplicate]

I've create Dockerfile app.py requirements.txt here my code app.py import os from flask import Flask app = Flask(__name__) @app.route("/") def main(): return "Welcome!" @app.route('/how are ...
1
vote
0answers
15 views

How to I configure my .travis.yml file to run the script for building image which is already included as a .sh file in the repositiry

I am trying to configure Travis-CI for my private repo. sudo: required services: - docker script: - bash ca-k8s-images/images/endor/buildimages.sh Here, ca-k8s-images/images/endor/buildimages....
0
votes
0answers
6 views

Creation order of network<->service in docker stack

In docker-sompose: services: srvA: (..) networks: - backend srvB: (..) networks: - frontend networks: frontend: driver: overlay backend: driver: overlay when ...
0
votes
1answer
10 views

What are the differences in MSBuild Professional and Tools

My local machine (Windows) has 2 versions of MSBuild. C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe C:\Program Files (x86)\Microsoft Visual Studio\2017\...
0
votes
1answer
20 views

Use Artifactory proxy to Docker Hub with testcontainers inside a firewall for testing

I'm trying to run tests of a spring boot application when it writes to mongodb using the testcontainers test library. Testcontainers should spin up a Docker image running mongodb. Then I run my test, ...
0
votes
0answers
13 views

Cant access service Istio booklist demo app on Docker Edge Kubernetes

I am a Sr. Engineer evaluating Istio for a use on our project. I am new to Istio. I am running Kubernetes from Docker for Mac (Edge release). The booklist app deploys perfectly and I have confirmed ...
1
vote
0answers
8 views

Scheduled IPtables rules vs docker rules automatically added

I have cron job that periodically refresh my iptables rules from sh script file. This is aworking solid file with tested rules and a secure way in case I will cut myself off the server to re-enable ...
0
votes
0answers
15 views

How to pass environment variables from Azure build pipeline to release pipeline

I have queued a continuous deployment build from a YAML file in the Azure DevOps build pipeline. One of the steps in the build pipeline is to publish build artifacts of which I include a docker-...
0
votes
0answers
8 views

Why Unable To Gather Angular Content Through Dockerfile?

I'm through build process of an angular app, here is the Dockerfile FROM node:10.15.3-alpine as builder RUN mkdir -p /usr/src/app WORKDIR /usr/src/app RUN apk add git COPY package*.json /usr/src/...
0
votes
0answers
23 views

How docker containers expose services?

I'm deploying a stack of services through the command: docker stack deploy -c And I'm mapping ports of one of these services on docker compose with ports: 8000:8000. The network driver being ...
0
votes
0answers
6 views

CentOS7 SELinux Docker non-root user

I am trying to run DooD (docker out of docker) in a container that is a non-root user. Is there away via SELinux to allow a specific user access to the docker socket (/var/run/docker.sock) I know ...
0
votes
0answers
8 views

Routing subdomains works on local but not on production

I have an app in symfony 4.2 that handles (or should at least) 2 subdomains. The main site is in another server and another framework. For this project i have a server with ubuntu 18.04 that runs ...
0
votes
1answer
20 views

Reserve CPU and Memory for Linux Host in Docker

I am running an APACHE KAFKA cluster including broker, connect and control center e.g in separate docker containers (using docker-compose). Problem is, that the load of the containers for some reason ...
0
votes
0answers
9 views

CONVERT/COPY/EXPORT /$JAVA_HOME/jre/lib/security/cacerts to server.jks format

In my docker setup, I need to use server.jks as truststore. I want to copy/export certificates from cacerts in $JAVA_HOME/jre/lib/security/cacerts into /etc/server.jks Closest answer i got was this ...
1
vote
2answers
22 views

Can not find autoload.php when running laravel in a docker container

I am trying to run laravel on a docker container. However, I created a docker file to install the required dependencies and extensions. Then, I created a docker-compose file to run the container. But, ...
1
vote
0answers
18 views

Uncaught TypeError: handler.apply is not a function (webpack-internal) with Vue/Rails/Cypress

So I'm working on a Vue/Rails application that's using GraphQL with Cypress in the frontend for testing the GUI. Whenever I break out my it blocks for testing the code I receive the following error: ...
0
votes
0answers
7 views

Can't subscribe to Docker Eclipse-Mosquitto Broker

I have the eclipse-mosquitto image up and running, also a publisher in another container that connects and publishes successfully. I can shell into the broker container and use mosquitto_sub to retain ...
1
vote
0answers
26 views

Error to compile Ionic 4 with Angular 7 in Docker

Error to compile Ionic 4 with Angular 7 in Docker I need compile a project with Ionic 4 and Angular 7 in Docker. I doing next steps: I have created an image manually with Java JDK version 8, ...
0
votes
0answers
33 views

Docker stuck at npm install

I have a project that I want to dockerize. I run npm install and npm build with no problem on my computer, but it has some problems when I build with Docker. Docker output: Sending build context to ...
0
votes
0answers
16 views

Container is automatically exiting

Below is my Dockerfile: FROM python:3 COPY . /Demo WORKDIR /Demo RUN pip install -r requirements.txt EXPOSE 9005 CMD python ./app.py I am using following command to run the resulting image: docker ...
0
votes
0answers
17 views

Azure Hybrid Worker Docker

I am currently trying to docker-ize a Azure Hybrid Worker using the instructions provided at: https://docs.microsoft.com/en-us/azure/automation/automation-linux-hrw-install I am 90% successful ...
0
votes
0answers
25 views

ng build returns fatal out of memory exception in Docker

I'm trying to build the frontend of a web application in a Node.js Docker container. As I'm on a Windows PC, I'm very limited in my base Images. I chose this one, as it's the only one on DockerHub ...
1
vote
2answers
27 views

Docker Container prints the output only while exiting

I wrote a python program and its Dockerfile: import time print("Begin") time.sleep(100); print("End") The image for it was created,and it was run using docker run <image-id> and the behaviour ...
0
votes
0answers
13 views

Exception “error MSB3024: Could not copy the file…” is thrown when attempting to build in DevOps pipeline using .Net Core 3.0 SDK (preview5)

I am attempting to build a .Net Core 3.0 (preview) project in a DevOps build pipeline. The steps in my azure-pipelines.yml executes up to the "docker build" step, successfully initiating the build ...
0
votes
0answers
12 views

Accessing IIS Localhost from Selenium docker container

I have a .net application running on my windows machine on local host. I have also set up a selenium docker container using this command: docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/...
0
votes
0answers
13 views

How to deploy shibboleth service provider in Kubernetes environment?

I am trying to configure shibboleth service provider in kubernetes environment. In non-docker environment, apache2 and shibd services runs no the same server and apache2 communicates with shibd using ...
0
votes
1answer
31 views

docker-compose can't get into new container

I'm using docker-compose to create a new image and a container as well, but after I ran docker-compose up -d, I cannot get into the container with this: docker-compose exec -it container_name (name ...
0
votes
0answers
33 views

Connection to server in Docker container on localhost very slow

I wanted to try Docker as a tool for local development — I used docker-compose to spin up 3 containers: one for the database (postgres), front-end (running webpack and node sass in watch mode) and ...
0
votes
1answer
14 views

How to roll back a deployment to a previous revision automatically when deployment has crossed 'progressDeadlineSeconds'?

I'm working on deploying a docker image in kubernetes. The first time I deployed the container, I used: kubectl apply -f <deployment_file>.yaml and the container was successfully deployed in a ...
-1
votes
1answer
24 views

How to load assemblies in different directories in dotnet core?

Background I've got a big, old C# application running on .Net Core 2.2, and I'm trying to add "hotbin" functionality to it. What I mean is, say my application's entry point is A.dll, and A.dll has a ...
1
vote
0answers
21 views

How to run the Jenkins with different user in Docker Container

I am new to Jenkins and making the Jenkins image inside the docker in ubuntu 18.04. I have some commands in the build step while creating a new Freestyle project. I want to run it with a specific ...
0
votes
0answers
20 views

A docker image based on “php:5.6.32-apache” fails to build when running “RUN apt-get update -y”

I want to build a docker image based on php:5.6.32-apache. The content involved in this within my Dockerfile is: FROM php:5.6.32-apache .... RUN apt-get update -y The console output from the ...
-1
votes
0answers
12 views

Database - Connection is not available. Prisma/Docker to MySQL

I set up Prisma:1.33 for a MySQL (on the xampp) database by following the Get Started tutorial. Prisma doesn't run on http://localhost:4466/. I see that the container keeps restarting every few ...
2
votes
1answer
21 views

Find the underlying Docker file you are importing from

I have a docker file that imports from a php tag: FROM php:5.6.32-apache Is there a way to see the underlying Dockerfile of the 5.6.32-apache, given that it is not present in https://github.com/...
0
votes
1answer
13 views

How to create a Mongodb docker container without volume

I need to create a snapshot of a MongoDB in a specific state without volume, for auto-testing proposes. To be clear, I need all of the data saved on the container memory and persist, not using a ...
0
votes
1answer
19 views

Get userid in ms windows for uid and gid mapping

I have the following Dockerfile: FROM php:7-cli-alpine3.9 ARG USERID=1000 ARG GROUPID=1000 RUN apk add --no-cache --update bash bash-completion bash-doc &&\ addgroup -g ${GROUPID} ...

http://mssss.yulina-kosm.ru