Questions tagged [docker]

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

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

Testing docker image builds when low level libraries change

Background In our organization we have many small repos for shared libraries used among our applications. Particularly, we have many Python libraries and Python applications. We have a structures like:...
0
votes
0answers
6 views

Connection Refused to Unix socket in Docker container from host

I have a service running in Docker that listens on a Unix Domain Socket, and a client running on the Docker host (a Mac). The client gets a "Connection Refused" error trying to connect. I'm ...
0
votes
0answers
26 views

How to install docker inside jenkins container?

I installed docker in my PC running Windows10. I created and ran jenkins container to create CI/CD pipeline. How can i install docker inside jenkins without getting later this error "cannot ...
0
votes
0answers
11 views

How to build, package and deploy a react-native-web app in a Docker container?

Given there is a react-native-web solution, what needs to be done to build it and run inside a Docker container? What is the build environment/toolchain? Which environment is required to run? From ...
0
votes
0answers
11 views

How to tell “docker push” command to print out the progress in way that is suitable for CI

Is it possible to call docker push command and tell it to show the overall progress but turn off the animations so that it would be useful in CI pipeline. Currently I can not see any progress info ...
0
votes
0answers
21 views

Docker | Multiple ways to build Docker Image

I'm just getting into DevOps, trying to learn as I go. One thing I don't understand is this. When I was trying to automate my docker image build, I noticed that there are multiple ways to accomplish ...
0
votes
1answer
21 views

mysqld: [ERROR] Found option without preceding group in config file /root/.my.cnf at line 1!

I'm trying to create a .my.cnf file for my MySQL docker-container that would allow me to prefill the user and password for the MySQL client. To achieve this I created the following dockerfile: FROM ...
0
votes
1answer
20 views

Untracable glassfish docker container image or clean installation?

For a customer I need to create a glassfish container, containing the glassfish 5.0 release. I have been looking for standard glassfish images on docker hub, and other places, but can't manage to find ...
0
votes
1answer
29 views

Having trouble with building Docker image

I'm trying to build a docker image for a software using docker build -t cytools . Here is the output that I'm confused about: [+] Building 0.0s (1/2) ...
0
votes
0answers
9 views

Docker workflow plugin returns empty error message when starting a container

I am working with a number of Raspberry Pis to which some microcontroller-equipped hardware is connected. This hardware is being tested remotely and automated (using Jenkins with the Docker Pipeline ...
1
vote
1answer
22 views

Auto build and upload to AWS new docker image after commit in repo

I'm new at DevOps, and I looking for solution to my problem. I have a private code repository where I have a some Flask apps in one of many folders. Example of structure: - Project -- Django Apps --- ...
0
votes
1answer
37 views

How to create a local network mapping in linux

I'm deploying nextcloud via docker, however the way the configuration is set up, it creates a subnetwork at 10.10.10.0/24 on the system it's running on instead of running it on 127.0.0.1. Then the ...
0
votes
1answer
49 views

Docker: Let containers communicate to each other but don't expose to internet

I was recently shocked to find out that docker writes its own iptables rules and ignores ufw bindings completely. I had blocked all ports using the ufw deny incoming command and then selectively ...
0
votes
0answers
21 views

How to increase resource usage on Docker Windows?

I am using docker on Windows to build a my C++ app on a Windows image (CI/CD ove Jenkins) and I am having a hard time trying to figure out why my docker builds only use such a small portion of my ...
0
votes
0answers
11 views

Are Fedora's Silverblue and CoreOS projects viable for Team Stations and Dev/Production envs, respectively? (Instead of CentOS)

According to RHE's website, the project Atomic Host was deprecated on August 06, 2020. I am curious if anyone knows if they are actively contributing to Fedora's Silverblue project and/or CoreOS ...
0
votes
1answer
47 views

Gitlab CI/CD: deploy docker image to existing kubernetes cluster

I have node.js application that I need to deploy to exising kubernetes cluster. The cluster is setup using kops on AWS. I have created .gitlab-ci.yml file for building docker images. So, whenever a ...
1
vote
2answers
28 views

How many DB instances to use? When to switch to container services?

I'm looking for some insights into cloud management. I won't go into much detail, I just need some general information/resources that I can follow, about these topics: When to use container services ...
0
votes
0answers
16 views

Performance of a docker container with dedicated CPU core change with other docker containers running processes

I have a docker image that exposes a rest service. I have a 4 core machine. I run 4 docker containers with my image by limiting one core per docker container by using --cpuset-cpus flag. e.g.: docker ...
0
votes
1answer
27 views

Docker desktop Ports binding not available

Why are the port options not available in docker desktop (windows 10)? current settings (I have tried both engine options):
0
votes
1answer
24 views

Jenkins Docker - Make changes to gitconfig

I have a self-hosted Gitea organization, and the way to access the repos requires some "secret" extraheader in .gitconfig. (2FA is also enabled) When I look at Jenkins "Configure System&...
0
votes
0answers
9 views

Why maven build slows in docker container when local maven repo mapped to container's /usr/share/?

We run Jenkins pipeline on docker container. During the run, we mount host's .m2 to container's with - -v $HOME/.m2:/usr/share/.m2 When host's .m2 mounted into container's /usr/share/.m2 maven build ...
0
votes
0answers
13 views

What is the best host solution for a medium starter aplication nowadays?

I'm am deploying an application that can be split into a dashboard with some control systems and an API. The system was developed to be an web interface for some scripts and bots used by a community ...
1
vote
2answers
38 views

How can I get the Docker target platform inside the Build Environment / Dockerfile

I'm doing multi-platform builds with buildx and would like to know if there is a way to determine what platform is currently being build so I can avoid certain steps for certain environments. For ...
0
votes
1answer
25 views

Does RAM Come Into The Container vs VM Decision?

I am currently running a Java trading system on a VM that needs ~32 GB RAM and runs (almost) 24/7. There are a couple of engines linked to it that require 4GB + 8BG respectively. I am considering ...
1
vote
1answer
42 views

Docker image, containers and layers

I want to use docker to compile a custom PHP executable. I plan to use alpine as a base image, installing the required tools (build-essentials, etc). The goal is to have the most minimalist resulting ...
0
votes
1answer
15 views

Update volume size dynamically from inside a POD

I was wondering how I could dynamically create and then mount new volumes from inside a pod ? At runtime ! I have to download a lot of files with very different sizes and would like the storage to ...
1
vote
1answer
138 views

Docker Build Ending Up `returned a non-zero code: 1`

Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. build.sh: line 81: -: No such file or directory The command '/bin/sh -c bash build.sh' ...
0
votes
0answers
10 views

How I can cache the built layers on docker build using travis.ci?

In my project I use the following .travis.yml language: shell os: linux dist: xenial git: depth: false services: - docker env: global: - LATEST=39 - LATEST_LTS=39 jobs: - "...
0
votes
1answer
45 views

Can I move SSL certificate files from one server to another for the same domain?

I have a website running at https://domain.com and IP a.a.a.a, with an SSL cert issued by GoDaddy. The server is deployed with Nginx. Everything is working fine as it is. However I'm trying to deploy ...
0
votes
0answers
12 views

Issue in copying files from base image to second image multistage

I am using multistage to reduce size of docker image and size of second image is reduced but when I try to run docker container from second image, I am retrieving no module found cv2. How would I ...
0
votes
0answers
12 views

Test Kerberos, SQL Server running on Docker on local MAC

I have SQL Server running on docker and did the setup using the following : https://www.quackit.com/sql_server/mac/install_sql_server_on_a_mac.cfm Then I setup Kerberos on local using the following : ...
1
vote
3answers
35 views

Can I use docker compose to run application container and its dependencies on google cloud or digital ocean, the same as locally?

I have a spring boot application, angular front end app, couchbase, and redis. They are all defined in a docker compose yaml file. I can make the application up and running locally. Is there a way to ...
0
votes
1answer
38 views

docker mariadb access from remote

I created a docker container with docker-compose in my VPS and I want to access it from my local computer but the connection will refuse. also, I allowed the 3306 port in the VPS. my docker-compose....
0
votes
0answers
22 views

How can I enter node commands (like “node -v” or “npm intall xyz --save-dev”) in the running docker container?

I'm new to docker. How can I start a node service via docker-compose, which then accepts npm commands? docker-compose up -d --build <-- I use this command to start I want the npm install to be ...
1
vote
1answer
25 views

Ansible hosts group reference does not work

I'm trying for hours already to run a docker installation on a specific group of hosts. This is my hosts.yml all: hosts: 01-dev: ansible_host: <IP1> 02-dev: ansible_host: &...
0
votes
1answer
25 views

Confluence mySQL image doesn't start anymore

I am running a confluence container containing an image for the application itself and one for the mySQL db. This was running smoothly until I run the latest Docker update. Since then, the mySQL image ...
3
votes
1answer
38 views

Deply method for python project

I have made a web application in django. Currently I'm deploying by SSH'ing into my ubuntu instance at AWS and using git pull. However I know this isn't a very scaleable solution but I have very ...
1
vote
2answers
80 views

Where may I need Docker Compose as Kubernetes won the container orchestration war?

I found Docker Compose just release 1.28 on 2021-1-20 but as Kubernetes won the container orchestration war I am not sure where and why I may still need Docker Compose, under with case Docker Compose ...
0
votes
1answer
59 views

Docker container can't reach host services

I am running a nodejs app in a docker (v 20.10.2) container on a Ubuntu 20.04 LTS (this is for dev purpose only) My docker-compose config test: container_name: forge_test restart: always ...
0
votes
0answers
22 views

Docker images of multiple apps

We have applications App1, App2(bootjar) which are docker images present in nexus repository. Now we have another application App3. App3 docker image need to be layered on top of App1 and App2. How ...
0
votes
0answers
28 views

Slow Socket IO response when using Docker

I have a Web App built in Flask where tweets are captured (using Tweepy library) and displayed on the front-end. I used Socket IO to display the tweets live on the front-end. My code works fine when I ...
0
votes
2answers
69 views

Is SSL/HTTPS Needed Between Docker Containers on the Same Network?

As the title of the questions asks, is it important/needed to have ssl/https working between docker containers on the same network? Our setup is an Nginx container that proxies two Tomcat containers. ...
2
votes
0answers
29 views

How to run a container from within another container while also mounting a volume from the first container?

I'm running a build in Jenkins which is running inside Kubernetes. When the job starts, a container starts in the cluster and the build runs inside it. A step in the build requires building an RPM ...
1
vote
1answer
23 views

How to find future (planned) versions of Docker?

I need to know a rough release date for the next Docker version(s) or the version scheme they are using for their releases (like "a new version every 3 months" or similar). So I can plan ...
2
votes
1answer
23 views

How can I find the version of Docker I am using?

As the title says, how can one find Docker's version?
0
votes
0answers
14 views

Can I deploy Couchbase docker dependency in GKE?

I have a simple spring boot application which is wrapped into a Docker image along with its dependencies such as "Couchbase". I have pushed the docker image successfully to google cloud ...
0
votes
1answer
21 views

How to redirect the request to a different node when there is an unexpected exception and one of the pods gets restarted

We are deploying the application in a Kubernetes cluster and when we face an unexpected error and the pod gets restarted or goes down we are getting a 502 Gateway error even though there is another ...
0
votes
2answers
131 views

Cant ssh into running container containing portainer through docker exec

I cant connect to my running container with portainer. I tried already executing docker exec -it <CONTAINER-ID> /bin/bash. Also changed the shell path many times (/bin/sh, /usr/bin/sh, bash). ...
0
votes
0answers
83 views

Using Sonatype Nexus docker proxy

I have a Sonatype Nexus deployed under repository.company.com (it's behind an nginx proxy). I created a docker registry and docker proxy and added them to one docker group "company-docker-group&...
0
votes
0answers
16 views

Docker cap_dac_override capability security hasard

I have read cap_dac_override is enabled my default on docker. This capability allows a container to write files on the host. But i do not understand if this writing capability only applies on mounted ...

1
2 3 4 5
18