Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
58 views

How to change ownership of folder inside the container after build?

I have this service in my docker-compose.yml php-fpm: container_name: php_app restart: always build: context: . dockerfile: ./docker/php-fpm/Dockerfile volumes: - ./src:/var/www/html that take ...
2
votes
1answer
37 views

Best Kubernetes storage option

I know there are several options, I’ve heard everything from SSHFS, NFS, object storage all the way to storage OS, my issue is I need something fast and reliable to serve a media website built on ...
0
votes
2answers
92 views

Reaching a Docker environment running in VMware from LAN

Here is my setup: I have a Ubuntu 20.04.2 LTS machine running in VMware (vSphere client). On this machine, I have a local Drupal website running in Docker using Wodby Docker4Drupal https://github.com/...
1
vote
1answer
334 views

ArgoCD Autosync based off of Docker Image `latest` Tag

Using ArgoCD, I'd like to have the App AutoSync Update/Reploy when the docker image is updated on a specific tag such as latest or stable. For example, if I have a deployment in my git repo like this: ...
0
votes
1answer
150 views

Docker compose to ECS, two services in one task

I'm using this method to deploy my docker-compose project to AWS ECS. A simplified version of my docker-compose.yml looks like this: version: '3' services: web: image: .dkr.ecr.eu-west-3....
0
votes
1answer
101 views

yarn server with docker-compose

So I am trying to start up an server that has: a mongodb container a backend container a client container Both server containers require me to run yarn start at the end. However, when I run this in ...
0
votes
1answer
86 views

AWS ECS Update with new docker image

I've setup a cluster on AWS ECS, it's hosting nginx and a webapp. I've used these commands to create my resources aws ecr create-repository --repository-name <repo-name> ecs-cli configure --...
0
votes
1answer
54 views

Continuous Deployment with jenkins

I am a beginner in DevOps. I created a continuous integration cycle using jenkins(docker image) and bitbucket. I used a simple spring boot hello-world project and after CI i got an executable Jar. I ...
0
votes
1answer
280 views

Minikube for Ubuntu 20.04 WSL stuck on 'Restarting existing docker container for "minikube" ...' after minikube start and 'StartHost failed' error

I've come across the following problem where my minikube cluster doesn't start and the command line becomes stagnant in the following way: $ minikube start �😄 minikube v1.17.1 on Ubuntu 20.04 �🆕 ...
1
vote
0answers
29 views

How to add one downloaded images layer to Docker without using Docker? [closed]

I am already downloaded docker images by other tools. it is possiable to add one images layer to docker? direct copy it to /var/lib/docker/overlay2 ? dowload file example: > docker_pull.py node ......
1
vote
1answer
30 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:...
1
vote
0answers
182 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
1answer
690 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
1answer
249 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
30 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
908 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) ...
1
vote
1answer
38 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 --- ...
1
vote
1answer
70 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
2answers
106 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
1answer
284 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
37 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
1answer
144 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
337 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&...
1
vote
2answers
350 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
31 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
48 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
19 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
2k 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
1answer
96 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 ...
1
vote
3answers
55 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
310 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....
1
vote
1answer
33 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
68 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
49 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
95 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 ...
1
vote
1answer
311 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
2answers
582 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. ...
3
votes
0answers
45 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
24 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
27 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
1answer
27 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 ...
1
vote
3answers
722 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
1answer
185 views

Isolate service networks with Docker Compose

I have two containerised services, A and B, with which I wish to isolate network communications with docker compose. There is also a shared service C which is not isolated from A or B and is free to ...
0
votes
1answer
436 views

CORS in Docker Engine REST Api

I have activated my Docker Engine V1.41 REST API in docker with this artcile: https://blog.usejournal.com/how-to-enable-docker-remote-api-on-docker-host-7b73bd3278c6 After that in my browser it works ...
1
vote
1answer
18 views

Is it possible to containerize using docker without a local setup?

I have a Windows machine and I am just starting to learn docker. I have gone through the internet that the best way to start is by installing docker-desktop. Is there a way i can use docker remotely ...
2
votes
1answer
164 views

Dockerize a windows GUI application

Is it possible to run a Windows GUI executable (notepad.exe for example) into a container ? I want to do this because i do not trust some software i install on my personal computer and i want to be ...
1
vote
1answer
59 views

How to connect to a kubernetes cluster that is inside of a docker container?

For CICD purposes, I need to run a docker container and then create a kubernetes cluster inside of it using kind. Here is my Dockerfile: FROM ubuntu:18.04 RUN apt-get update RUN apt-get install curl -...
-1
votes
1answer
448 views

Cannot resolve services with service name inside a kubernetes pod

I cannot access a pod from another pod with its service name. Getting error as cannot resolve host svcname When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
1
vote
1answer
22 views

Retrieve files deleted after Docker service rm

I had to, so I removed a service with docker service rm but I forgot to get the log files of the service. Now I am not able to find those. Can anyone help me or suggest to me if and how can I get ...
0
votes
1answer
188 views

How to install curl in conjunction with --no-install-recommends in Debian correctly?

I am building a Docker image based on debian:buster-slim and installing cUrl in this image. According to the recommendations made by Hadolint, I install all packages via apt-get with the option --no-...

1 2
3
4 5
19