Questions tagged [docker]

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

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

MS SQL 2019 operator in k8s is ready for production?

ITNOA I am searching about MS SQL Server 2019 K8s operator very much, but I don't find any comprehensive documentations or help pages I just found Availability Groups on Kubernetes in SQL Server 2019 ...
0
votes
0answers
16 views

How to load several environment variables without giving env and args only giving settings.env file in the Dockerfile?

NOTE: Here we don't use docker run command and docker-compose.yml only using dockerfile and settings.env how can we can achieve this requirement.
0
votes
0answers
15 views

how do you access a docker image from R studio?

Im trying touse a program called "r-peer" which is a program with ready made ability to plug in to R. It looks for hidden signal in data and creates covariates that capture this signal. ...
0
votes
1answer
46 views

CICD with dockerized web app

I am having troubles understanding the following DevOps concept. I have developed a dockerized web app using docker-compose. It is in my local and I can upload it to any cloud service I want and it ...
0
votes
0answers
13 views

How to test/validate a custom build of Python

I have various docker images that I build that include stages that download the Python source, build and install it in the images. When the builds run, I see occasional error or warning messages that ...
0
votes
0answers
13 views

Move Windows Docker containers volumes to WSL storage

My Windows dockers are working slow. Previously I was getting the warning that this is because container files are located in Windows drives (probably /mnt/wsl/docker-desktop-data/). I'm not getting ...
0
votes
1answer
782 views

Access docker container by host name instead of localhost:port

Windows 10, docker for windows, simple webapp using nginx and ssl. Simple thing when using VMs. I have three virtual machines. Every machine has static ip assigned by router. In hosts files I can map ...
0
votes
0answers
622 views

Gitlab runner fails with connection timeout , connectivity works fine

Same question was asked by myself before. But now I registered runner with sudo. Yet I get following error in pipeline Getting source from Git repository Fetching changes with git depth set to 50... ...
0
votes
1answer
21 views

Why my docker container is running on swarm manager node instead of worker?

This is my docker-stackk.yaml file. # cat docker-stack.yml version: "3.4" services: redis: image: redis:alpine ports: - "6379" networks: - frontend ...
0
votes
1answer
198 views

How can I get client IP on apache insted of Docker container IP?

I've deployed a Matomo application using the official docker image. I'm trying to activate geolocalization (using a plugin) and it's not working. I can see that Matomo (apache) only gets the docker ...
0
votes
0answers
6 views

pg_dump from Celery container differs from pg_dump everywhere else in other container

I can't understand where pg_dump version is coming from. I forced everywhere postrgresql-client-13 to be installed. /usr/bin/pg_dump --version Celery Beat and Celery pg_dump (PostgreSQL) 11.12 (...
0
votes
0answers
46 views

Docker and Docker-Compose: Problem with InvalidVersion and API Version

My issue is that a docker-compose project (builds three docker images) works on a server A (ubuntu 18.04) but not on server B (ubuntu 14.04). The error I get on server B is the following: Traceback (...
0
votes
1answer
30 views

connection refused from webserver in container

I've got a simple python http server running on port 8080. class Handler(BaseHTTPRequestHandler): def do_GET(self): print(self.path) self.wfile.write(b'\n') return class ...
0
votes
1answer
43 views

Gitlab build from multiple repositories - git submodules

I have gitlab repo ZERO (project) which serves as a code base for multiple websites (repo ONE, TWO, THREE..), these are also gitlab repositories. I am using gitlab CI/CD options, I want to be able to ...
0
votes
0answers
48 views

PROXY is not working inside windows container

I'm using windows containers in windows 10. I've set proxy variables(HTTP_PROXY,HTTPS_PROXY) in environmental variable setup and using VPN. I also configured resources -> Proxies. I was trying to ...
0
votes
0answers
225 views

Docker volume type cifs works OK with docker-compose write not allowed on swarm

I have a docker-compose.yml with this volume inside: volumes: xxx_media: driver: local driver_opts: type: cifs device: //10.1.1.3\Company$$\xxx o: "user=service.it@xxx....
0
votes
0answers
49 views

Testing Raspberry Pi image in a docker container with Packer and qemu

I would like to make a smoke test of a Raspberry Pi image in a docker container. I am building the image using packer.io and the build-arm-image plugin in a gitlab pipeline inside a docker container. ...
0
votes
0answers
121 views

Error: EACCES: permission denied, open '/opt/app-root/src/.config/yarn'

I'm getting the below error when spinning up my node.js container, on my openshift cluster: Error: EACCES: permission denied, open '/opt/app-root/src/.config/yarn' at Object.openSync (fs.js:498:3) at ...
0
votes
0answers
204 views

Run htop on a remote machine in a docker container

I want to simulate user trafic (for tests purposes on a product), that's why I want to run a container which would start a SSH connection and run htop (to simulate user trafic) on a remote machine. To ...
0
votes
0answers
17 views

How does Routing mesh in docker swarm mode work?

I'm new to docker, just studying routing mesh. I was wondering How does this concept actually work. I know that all swarm nodes participating, listen and respond to the service port but I didn't ...
0
votes
0answers
74 views

pm2 to start docker-compose

There is plenty of documentation and dicussion regarding running pm2 inside a Docker container. And general consensus seems that you use K8 or docker-compose to handle health checking/auto-restarts/...
0
votes
1answer
502 views

Docker compose up, Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use

I'm trying to a gitlab/gitlab-ce image up and running with docker-compose on macOS (Big Sur) (docker-compose up -d). I'm using docker-machine with the virtualBox driver. However, when starting the ...
0
votes
1answer
40 views

Docker update with persistent storage and 0 downtime

I have a docker container running with persistent storage. When I try to update now I kill the container, and rerun the updated image all over again. I've considered setting up the new container first,...
0
votes
1answer
27 views

'[[0;1;31mFAILED[0m] Failed to start' when running cloud-init?

I am trying to contextualize a docker container using cloud-init. Why do I see [[0;1;31mFAILED[0m] Failed to start in the OpenStack log? What is a likely cause of this error?
0
votes
1answer
191 views

docker build fails on one machine but succeeds on another

On my own machine (Windows 10, Docker Desktop 2.1.0.3) the build succeeds and runs. On another machine (Ubuntu 18.04, docker CE 19.03.13) the build fails with the error shown. Why does the build work ...
0
votes
1answer
319 views

Ansible fails in Jenkins pipeline when run from docker

I'm trying to deploy a build via Jenkins pipeline using agent docker and Ansible playbook but it fails on Gathering Facts stage as shown below: TASK [Gathering Facts] **********************************...
0
votes
3answers
135 views

Docker container host machine communication

Hi i’m trying to communicate with mongodb in the host from a flask container… So using “docker.host.internal” on the URI didn’t work (host machine is Ubuntu) Any suggestions ?? To solve this
0
votes
1answer
619 views

How to connect to postgres container from a node container using docker-compose?

I'm trying to connect from a node app container to a postgresql container using docker-compose but I'm not able to do it. This is my docker-compose.yml file: version: '3.7' services: db: image: ...
0
votes
1answer
374 views

How to get the elastic stack-docker running on a laptop?

https://github.com/elastic/stack-docker Running docker-compose -f setup.yml up resulted in: Creating network "stack-docker_default" with the default driver Pulling setup (docker/compose:1.21.2)... 1....
0
votes
1answer
24 views

Dev environment for legacy Visual Studio code?

I work at a small company that has several legacy projects that all require different versions of visual studio to run. The company has servers on site and I have a small cloud budget. I want to set ...
0
votes
1answer
55 views

Docker on Windows: Write directly to host's EventLog?

I run all my services as Docker containers on Linux by default. Recently got an order from a very large company to deploy to their Windows Servers. They have a very specific request for all ...
0
votes
1answer
2k views

Azure DevOps and private Docker registry

When I try to add a Service connection to a private Docker registry in Azure DevOps, it seems I have to provide a Docker Hub (Docker ID) user and password. Why is that? I just want to push to our ...
0
votes
1answer
46 views

Building .Net apps outside Docker?

My company uses Azure DevOps and utilized Pipelines for building, testing and deploying (currently NuGet packages) .Net Framework apps. My boss has made it clear he wants us to containerize all our ...
0
votes
1answer
2k views

Docker container is running but when using curl not accessible

I tried to host docker container in my EC2, just for UAT (for production, we will fargate). My concern is I want to host my container in EC2 and run all test cases, after successfully will be deployed ...
0
votes
1answer
606 views

Running Protractor tests in docker through teamcity

I have a project for which I am using Teamcity to automate deployment, and I would also like to automate testing. It is an angular frontend, and we have some protractor tests. I would like to run ...
0
votes
1answer
41 views

Using the built binary of a docker image in another docker image

Problem I have two repositories A and B. I have a docker image registry, where I can push the docker images made of the repositories A and B. I need only the binary of A's source code to be included ...
0
votes
2answers
58 views

Host a docker registry native

I want to host my own docker-registry server to be independent from docker-hub. I want to run it native on my server, but I can only find documentations, which are using running it inside a container. ...
0
votes
2answers
2k views

Docker Node.js Error: Cannot find module

When I start a dockerized Node.js testapp with sudo docker-compose up I get the following error: Starting testapp_web_1 ... done Attaching to testapp_web_1 web_1 | web_1 | > testapp@0.0.1 ...
0
votes
1answer
55 views

TravisCI build continues to fail even after changing alpine version

So I ran my Docker build with TravisCI and I got a failure like so: FAIL src/App.test.js ● Test suite failed to run TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' ...
0
votes
1answer
146 views

Listing filesystem differences between a Docker image and one of its ancestors

I asked a similar question a few minutes ago, and I found the docker diff command that shows the differences in the file system between a container and its base image. But I realized afterward my need ...
0
votes
1answer
33 views

Dockerized MySql slower in Wifi than ethernet

When I try to connect to a MySQL server that runs in a docker container(in System A) through my application(Running in system B) via wifi, it takes at least 4X amount of time than it would when both ...
0
votes
1answer
194 views

docker micro-service cannot connect to bitcoin docker

I have a micro-service watchblockchain that makes requests on bitcoin blockchain. When I use both services, everything works just fine. Then I want to put those services in docker containers. ...
0
votes
1answer
299 views

Spark on a Docker swarm - workers won't accept jobs

IMO the dashboard does not match the log error, or? Spark master dashboard says (similar for memory as well): Alive Workers: 2 Cores in use: 2 Total, 0 Used Log: 17/07/21 20:48:45 WARN ...
-1
votes
1answer
24 views

Should i stop native apache and mysql when running docker?

I have installed MySQL and apache using brew on my local machine and have been using them for several php project environments. Now i want to start learning docker to containerize a new Laravel ...
-1
votes
1answer
142 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
-1
votes
1answer
1k views

Very slow network when serve container content via Nginx after published Docker port

What I have created is: I have a Docker container that is published the port "3000:3000". If I'm accessing the container in this way: http://example.com:3000 everything is working great. The ...
-1
votes
1answer
604 views

Accessing container by domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
-1
votes
1answer
54 views

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP ...
-1
votes
1answer
6k views

zip: command not found after installing zip on NODE docker image, even after installing p7zip?

I'm trying to zip my dist folder and post to it Azure's kudu zipdeploy endpoint but I keep getting this error regardless of the fact that I have installed a zipping package myself. My docker image: ...
-1
votes
1answer
311 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 ...