Skip to main content

Questions tagged [docker]

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

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

Promtail vs. Grafana Agent

I'm running a couple of containers in a Docker Swarm and am setting up a logging system using Grafana Loki and Grafana (up to ~50GB/log per day max). For log shipping, I'm partly scraping container ...
honest_annie's user avatar
0 votes
0 answers
132 views

Permission denied when mounting volume with podman in fedora

I use a docker-compose.yml file to boot my containers. My container mount to a external volume which targets a directory inside my user profile (postgres database files). However, after switching from ...
mesx's user avatar
  • 101
0 votes
1 answer
387 views

Postgresql container automatically dropping database after some time in Docker Compose setup

I have a Docker Compose setup for a PostgreSQL container like below: version: '3' services: #PostgreSQL Service um-db: image: postgres:15 container_name: um-db tty: true ports: ...
Sandeep Dhakal's user avatar
0 votes
0 answers
100 views

Push from CI to private docker registry behind cloudflared with gated access through SSO

I have a portainer, that is running a registry and a cloudflared tunnel. The portainer web UI is secured by cloudflare zero trust tunnel. So this setup works. Now I want to deploy software I build ...
Joshua Behrens's user avatar
0 votes
1 answer
189 views

Unable to connect to minikube from my local

I am facing an issue with running minikube with driver as docker on Macbook M1. There are some network issues that I am running into. I am not able to ping into my minikube from my local machine and ...
Elvis's user avatar
  • 9
0 votes
1 answer
55 views

Why Azure App Service auto serve my site on port 443?

Project Setup My React app image is stored on Azure Container Registry (ACR), with a Dockerfile as below, FROM node:16.19.1-alpine WORKDIR /frontend COPY ./frontend/package*.json . RUN npm install ...
Bugman Huang's user avatar
0 votes
1 answer
715 views

Deploy a Redis cluster with Docker

I need to create a Redis cluster using Docker (with Kubernetes afterwards) and didn't find any official documentation on that matter. Could I have guidance on that subject ? I have the below yaml ...
Jérémy Ferfer's user avatar
0 votes
1 answer
188 views

How to see the full command used to run a container in a Kubernetes pod?

In Docker we can see the full command used to run a container using docker ps --no-trunc In case of containers inside pods in a Kubernetes cluster, how to find this same info? I also tried to ...
Santhosh's user avatar
  • 101
0 votes
0 answers
89 views

Base image can not be fetched within Dockerfile build but can be fetched from shell

Client: Docker Engine - Community Version: 24.0.6 OS: RHEL8 I want to build an existing docker compose project on a new VM. The docker compose project consists of two containers db and web. I have ...
Michael's user avatar
  • 69
2 votes
1 answer
190 views

How to get the actual memory usage of a container

I run docker stats and get: CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b5ebb4b467f6 haproxy 0.06% 13.84MiB / 78.57GiB 0.02% 35....
cherouvim's user avatar
  • 141
2 votes
1 answer
380 views

How do I "Dockerise" a client/server setup using socket.io?

Forgive the vague question title, I'm a complete beginner and I lack the terminology to pose my question more specifically. I've been developing a simple application that consists of a game server (...
simeondermaats's user avatar
0 votes
1 answer
136 views

Conflicts while building AWX-EE custom image

I'm currently building AWX EE custom image with the latest available but it seems latest versions got some conflicts with pip modules. My custom image was working great in July (awx-ee version 22.X 23....
motorbass's user avatar
  • 113
1 vote
1 answer
50 views

Why does every image I build have its own repository?

What does "repository" mean to the build process? Why does every image need a repository? I guess I should take this question up with whoever architect or team made this naming choice but ...
mr.zog's user avatar
  • 113
0 votes
0 answers
10 views

How to commit docker changes but select only a subset of changed files

In one of my docker container, I installed a vscode extension. This is a dev container so I want to commit the change into the image. When I run docker diff container_id, I got lots of files changed, ...
Felix F Xu's user avatar
0 votes
0 answers
230 views

Alternatives to 'Docker Compose's integration for ECS and ACI will be retired in November 2023'

We are currently using 'docker compose' to deploy our applications on ECS, and during its usage, we have noticed the following notice: 'Docker Compose's integration for ECS and ACI will be retired in ...
Xeven's user avatar
  • 1
0 votes
1 answer
35 views

How to efficiently copy multiple Docker images between two air gapped repositories?

I need to efficiently copy Docker images between two air gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a ...
Sergey's user avatar
  • 103
0 votes
0 answers
75 views

Using docker-engine unable to access containers (inside WSL2) from host network

Here is the scenario, I was using Docker Desktop with wsl backed engine and whenever I used to run a container inside my wsl for example: docker run -d -p 80:80 somecontainer It was used to be ...
Dakait's user avatar
  • 101
0 votes
0 answers
10 views

How to run job initialization on different nodes one by one?

I have a multi-node Kubernetes cluster built with microk8s under Ubuntu 22.04. On the cluster, I need to run a job (YAML fragment below), which requires pulling a docker image (during initialization) ...
tinlyx's user avatar
  • 101
0 votes
0 answers
7 views

How does docker calculates the time to show the result of health condition of a container?

Here are the commands that I used for reference: docker run -dt --name tmp --health-cmd "curl -f http://localhost" busybox sh docker ps docker ps docker ps After few minutes, docker ps will ...
achhainsan's user avatar
0 votes
0 answers
14 views

How to do client on-prem deployment of machine learning models without exposing the code files and model?

I am working on a project that involves the deployment of my code and ML model files to be deployed on a client virtual machine. Since this is a proprietary code and model, is there a way to deploy ...
AMAN RAI's user avatar
0 votes
0 answers
20 views

How to make master node and worker nodes before installing kubernetes on Ubuntu?

I am trying to install kubernetes on my Ubuntu 22.04 os. I found blogs and videos in Youtube but failed and deleted all. I had hard time when making master node and worker nodes because there was no ...
ekfqlc's user avatar
  • 1
1 vote
1 answer
223 views

Trying to Create a Docker Ansible lab and Cant SSH

I'm trying to setup a mini ansible lab with docker containers. I have 1 Rockylinux based container as the ansible controller, and then (for right now) 1 Rockylinux based container as the host. For ...
egkennedy93's user avatar
0 votes
1 answer
80 views

Docker Engine not seeing installed Nvidia runtime

I am using Ubuntu 22.04, I installed docker and docker desktop. After installing the Nvidia docker runtime via the Nvidia docker toolkit, Nvidia runtime is not visible after system restart. I updated ...
user42198's user avatar
1 vote
1 answer
61 views

Github Actions: How to export a variable from within Docker and reuse across steps?

We’re developing embedded software which needs to be compiled inside an SDK container. I’m setting up a CI/CD pipeline so that we can compile, ssh-copy and ssh install it on the remote device. To make ...
psisis's user avatar
  • 21
0 votes
2 answers
1k views

Mapping error in Docker Compose

I'm still a newbie in the Docker area. I'm just getting confused about this from this Docker-run command: docker run -d --name fritzbox_smarthome_exporter -p 9103:9103 \ -v $(pwd)/boxcert.cer:/...
VaraBiker's user avatar
0 votes
0 answers
186 views

Docker Desktop on Mac - Unable to calculate image disk size

I installed Docker Desktop on MacOS Sonoma using brew. It worked fine for a day or so and then suddenly stopped responding - perhaps once the Resource Saver mode kicked in. I see the errors below, ...
umayr's user avatar
  • 11
0 votes
0 answers
13 views

Ensuring Ubuntu docker image will not kill the process under heavy load

We run our app as a daemon (or some times with nohup command) so that Ubuntu will not kill this process under heavy processor and memory load. However, we want to dockerize (on Ubuntu 20.04 docker ...
RajS's user avatar
  • 151
0 votes
0 answers
43 views

how to secure Kong Admin Api?

I'm setting up the Kong gateway manager locally using Docker. the requests will be sent to localhost:8000, and admin will be available in localhost:8002. How can I secure these ports locally when ...
onebyi3's user avatar
-1 votes
1 answer
38 views

Docker on Centos 7 - "unkown flag: --ip-forward"

I've installed docker on Centos 7 from the official docker-ce repository (followed instructions here). I'm seeing the following error when trying to start the docker service with systemctl start ...
merlin's user avatar
  • 1
0 votes
0 answers
90 views

Inconsistency in rootless mode configuration

I am reading the Docker documentation regarding the configuration of rootless mode. I don't understand why at one point it says: [INFO] Make sure the following environment variables are set (or add ...
aasdf1xa's user avatar
0 votes
0 answers
86 views

Unable to build multi architecture docker image

I want to built a docker image on my Intel laptop. The image will be deployed on both x86/x64 and arm64 hosts. The docker file uses ubuntu:20.04 base image. I tried building the image with following ...
RajS's user avatar
  • 151
2 votes
1 answer
88 views

What is the syntax error in my docker compose file?

I copied authoritative content at https://github.com/Kong/docker-kong/blob/master/compose/docker-compose.yml version: '3.9' x-kong-config: &kong-env KONG_DATABASE: ${KONG_DATABASE:-off} ...
Vy Do's user avatar
  • 165
0 votes
1 answer
416 views

What is the meaning of start-dev?

I have command docker run --name vy-keycloak -p 8085:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:22.0.3 start-dev It runs success. What is the meaning of ...
Vy Do's user avatar
  • 165
0 votes
0 answers
126 views

Can't get connected to mysql db using sequelize and docker

I am Trying to connect to Mysql database using docker-compose in node.js ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 192.168.32.2:3306 here is how my docker-...
Luka Akhalbedashvili's user avatar
0 votes
0 answers
119 views

Best approach for deploying multiple (Docker) container web app

I have a fairly simple Django web app which I want to deploy somewhere. I am keen to automate and simplify as much as possible and for that reason I am hoping to avoid having to deploy directly to one ...
Auspice's user avatar
  • 181
0 votes
1 answer
6k views

Docker on Ubuntu, getting ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component

I ran the command sudo rm -rf ~/.local/share/containers/ and now I'm getting, ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component to build ...
Evan Carroll's user avatar
  • 2,251
3 votes
0 answers
321 views

How to run nerdctl run inside a container?

This is not for building inside a container, this is for running containerized CLI tools in a Job. I know the security implications. This is a lateral move security wise from DooD just to get us to ...
Shanteva's user avatar
  • 143
0 votes
2 answers
38 views

How can I use two different docker container on the production server (after pushing to DockerHub)?

I have the docker-compose file with two containers. "nginx" container depends on "demo" (it's python django backend). version: '3.9' volumes: static: services: demo: ...
Levan Lomidze's user avatar
1 vote
2 answers
160 views

Using docker as a substitute for VM for testing

I'm new to docker and I want to start using it in the following scenario. For example, I need to implement an Asp.Net Core Web API and deploy it to a linux system. The development is done on a Windows ...
Max's user avatar
  • 111
0 votes
1 answer
724 views

Windows 10 docker desktop keeps showing Kubernetes is starting

I checked the Enable Kubernetes in windows Docker Desktop and it keeps circling and showing Kubernetes is starting... I searched and couldn't find any proper answer. Some advises are about deleting ...
QMaster's user avatar
  • 101
1 vote
2 answers
1k views

Chown inside docker container is not changing directory owner

I can't change ownership of newly created directory inside of docker container. It is not a volume and chown runs correctly for all my colleagues - the only difference is I'm running docker on linux ...
witpok's user avatar
  • 11
0 votes
1 answer
63 views

docker: homedir does not belong to the user

I created a Dockerfile which creates a new user. When I run this Dockerfile I see that the user is created, his homedir is created as well, but the homedir is owned by root - and even "chown"...
user983447's user avatar
0 votes
1 answer
192 views

Can't get Python with cx_oracle to connect outbound to Oracle server

When I inherently go to make the connection from the python app inside the docker file I get .. I can ping and nslookup from indide the docker container from the terminal....so I'm a bit confused.. ...
BostonMacOSX's user avatar
1 vote
1 answer
2k views

Specify container IP as extra_hosts in Docker Compose

I have a compose.yaml serving WordPress with a Traefik reverse proxy. The https port 443 loopback for the WordPress container fails by default because the WordPress container only listens on http port ...
Jeff Lockhart's user avatar
0 votes
1 answer
310 views

Ansible Connecting to remote Docker container over SSH

I have the following situation: I have a remote server that runs docker with a Postgres container. The Postgres instance is only reachable through a docker network, not directly from the remote server....
Tiim's user avatar
  • 11
0 votes
0 answers
668 views

How to find dockerhub image tags using given docker image ID (sha)?

I have a server running docker containers for years. Containers was started from dockerhub images by tags, which do not include a specific version: $ docker ps | grep redis 0123456789ab redis:alpine ...
AntonioK's user avatar
  • 109
1 vote
1 answer
44 views

What should I learn next as a devops beginner? [closed]

I'm working as a devops engineer in a big tech company (local). The technologies used here are nginx, linux, sql, redis, docker, glassfish and payara, kubernetes, tomcat, gitlab, jenkins etc. I've ...
zeeshanseikh's user avatar
0 votes
0 answers
35 views

Kubernetes networking somehow breaks ROS2 message passing

I have 2 identical docker containers running on separate computers in which I want to run ROS2 nodes communicating with each other (via a VPN). When I run them as docker containers there is no problem ...
clemfandango's user avatar
1 vote
0 answers
182 views

Sharing the containers and images between ctr and docker

The running container displayed in output of docker ps -a could be seen in the output of ctr -n moby container ls. This container was created by the docker engine and one can view it in the same ...
user33456's user avatar
0 votes
0 answers
22 views

node_modules is several orders of magnitude bigger inside the container compare to host machine

I have a simple Next project in Docker following the common recommendations for small-size containers. Heres my Dockerfile: FROM node:16-alpine as dependencies WORKDIR /app COPY package.json ./ COPY ...
DomingoSL's user avatar
  • 101

1
2
3 4 5
23