Questions tagged [docker]

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

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

How to deal with large, rarely modified files in Docker image? Keep it inside or mount as volume?

I've got an app doing some machine learning data processing. The app uses a large (1.5 GB) pre-trained model which changes very rarely. Now I want to build Docker image, so I could easily deploy it to ...
0
votes
1answer
15 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
33 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
14 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
5 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 ...
0
votes
1answer
52 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
25 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
13 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
42 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
35 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 -...
0
votes
0answers
20 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
0answers
9 views

qliksense - connection to remote server

I have a remote server with qliksense. I want to get connect to that server so I could receive json data from it. The connection should be done using javascript. connecting to qliksense desktop on ...
2
votes
1answer
15 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 ...
1
vote
1answer
25 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
vote
1answer
20 views

Group authentication in kubernetes

I am trying to implement group based authentication in k8s with RBAC. My requirement is as below: There is a linux group named "readonly". There are 3 users reader1, reader2 and reader3 in ...
1
vote
1answer
20 views

is a secrets-provider-container a good idea?

I am looking for a way to provide secrets to a container running on Google Cloud Run responding to the following criteria: secure centralized & pulled based free simple working with a team, with ...
1
vote
0answers
14 views

Deploy and expose Mysql in AWS Lightsail container service

AWS Lightsail container service allows exposing the container only if it has an HTTP / HTTPS port open with the proper responses to healthcheck. I'm trying to run a MySQL container from the docker hub ...
2
votes
0answers
41 views

Where are Docker containers stored on disk?

I'm learning about Docker. I feel stuck at the moment, I think that I have some wrong concepts about how Docker works, and that shadows how it actually works, but I can't really locate the problem. I ...
4
votes
0answers
29 views

Change docker container’s log PATH

Team: All my container logs are under /var/log/containers.. Where in kubelet or docker config can I specify this path such that logs are instead created under new path? Ex : /shared ? Instead of /var/...
0
votes
0answers
25 views

Multi-platform autobuild on Docker Hub - errors with linux/arm64

I try to make autobuild on Docker Hub from my repo on Github for two platforms (linux/arm64 and linux/amd64). I figured out, that I need directory hooks with file build, where I can overwrite default ...
0
votes
0answers
27 views

Why are my Alpine Docker images failing to build with postgresql-dev randomly with 'BAD signature' warnings?

I am trying to build a Docker image based on the Evennia image, which has an Alpine base. However, I need to install postgresql-dev so that my image can interact with a Postgres container. I am ...
2
votes
1answer
35 views

WordPress Site Health errors when using Docker and Nginx

I am trying to setup a production environment for multiple WordPress sites using Docker, Nginx reverse proxy, and Let's Encrypt. I have 3 containers for the proxy group using the jwilder/docker-gen, ...
0
votes
1answer
44 views

In a multistage Docker build, should the WORKDIR be deleted? [closed]

My Dockerfile contains this: ### STAGE 1: Build Angular app ### FROM node:14.15 AS build WORKDIR /usr/src/app COPY src/hub/package.json ./ RUN npm cache verify RUN npm install COPY src/hub/ . RUN npm ...
4
votes
3answers
122 views

Do Docker containers take up space?

When I list my Docker images, I can see their sizes: $ sudo docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE travisci/ci-ubuntu-1804 packer-...
1
vote
0answers
8 views

docker kali linux container: wireless card is seen as eth0

So, I installed kali linux with command: docker pull kalilinux/kali-rolling Then I installed net-tools to do ifconfig. ifconfig shows eth0, lo (loopback), but no wifi card. Why docker sees my wifi ...
1
vote
1answer
20 views

any way to limit “docker logs” output by default?

Context* I forgot to pass the "--tail" options to the "docker logs" command when inspecting a running container. The affected container dumps tens of millions of logs. The command ...
2
votes
2answers
33 views

Use a volume or copy my artefacts into docker image

I want to dockerize my php application and deploy it in production. Here is my application structure : api | +-- src +-- config +-- vendor +-- tests +-- public I need to embed api/* in my container, ...
0
votes
0answers
5 views

How to mark a docker volume to prevent simultaneous connections?

I am new to docker and I am trying to setup mysqld instannces as we need to run multiple MySQL versions and with docker, we can do it. So, I have read about volumes and it looks like the option to use ...
-1
votes
1answer
21 views

How to change Ip for a DNS

I'll be very direct. I'm tired to search this and do not found anything about it. There is any way to change a lan ip to a dns (not chaging 'hosts' file)? Example: I've a centOs running in machine A ...
0
votes
0answers
21 views

Can't access specific docker container using a mapped port through my host [macos]

I just can't access the project's resource through the mapped port, the weirdest thing is that only this container, the others and with other projects it works fine. It was working pretty well and ...
1
vote
0answers
19 views

Gitlab CI invokes docker install.sh and always runs instruction with Sudo

I am trying to run gitlab ci which contains custom php image. The before_script invokes docker_install.sh In docker_isntall.sh I executed "whoami" it gives "docker". I tried to ...
0
votes
2answers
104 views

How to get the IDs of Docker Containers that belong to a Service, given the Service name or id

Background I'm trying to maintain some websites running in a Docker Swarm. I want to do security updates on them. In a non-Docker environment, like a VPS, my simple process is that I would connect in ...
1
vote
0answers
29 views

The command “npx gulp default” exited with code 1

For my IdentityServer project, I have set up GitHub Actions to push docker image to DockerHub. Locally, when I run docker build -t bejebeje/identity:latest --no-cache ., everything builds fine, in ...
1
vote
0answers
7 views

Separate gateways for docker containers for load balancing speedtest

I bought a TP-Link TL-R600VPN load balancing router which I use to combine two internet connections. I tried to monitor their combined speed with container henrywhitaker3/speedtest-tracker, but it ...
0
votes
1answer
18 views

Elasticsearch on Docker - file permission issues

I am trying to test LDAP in elasticsearch/kibana by running it in Docker on Windows 10. I pulled the image down: docker pull docker.elastic.co/elasticsearch/elasticsearch:7.10.0 And ran it: docker ...
1
vote
2answers
34 views

Can I build docker image containing ARM executable when running docker build on non-ARM architecture?

I have built on an x86-based Windows laptop a Docker image to be run as a container on an ARM-based architecture (Raspberry Pi 4). Due to ending up with an x86 executable when this is built in the ...
0
votes
0answers
5 views

Docker and relabeling files on SELinux enabled server

Is there any way to relabel added new file to the docker container mounted (with :z flag) volume? It looks like when I will try add any new file to such of volume application in the container will ...
0
votes
0answers
21 views

Docker mount volume on SELinux enabled server

I'm trying to run Nginx as the docker container on SELinux enabled server with mounted configuration as -v /host/path/nginx.conf:/etc/nginx/nginx.conf:Z That works fine till I will deploy updated ...
1
vote
1answer
26 views

Disabling of docker build cache - common practice for large organizations?

I've been working with a large company that currently disables the docker build cache for CI/CD. Their justification is that they are managing many projects, so caching would be cumbersome. This ...
0
votes
0answers
5 views

How can I investigate an issue with cgroup inside Minikube on Docker

I have an issue with deploying VMWare Tanzu Greenplum for Kubernetes (it's based on PostgreSQL) on the Minikube cluster. I wanted to use Minikube on Docker but for some reason, it does not work with ...
0
votes
0answers
19 views

Cannot connect to web server from container

I have a project with 3 containers (nginx, app, db). The nginx is configured correctly and working fine from public internet for url luke.jdeation.com. The problem I am having is from one of the ...
0
votes
2answers
15 views

Docker prunes image and networks by itself

I have a script which performs backup of several docker volumes during the night. It starts by stopping the containers that use these volumes, then it creates a new container with all the volumes ...
0
votes
1answer
46 views

Docker in docker volume mount doesn't work

I have the below command in my Jenkinsfile: docker run --rm -v "${WORKSPACE}":/var/cache/de --entrypoint=/usr/local/bin/pytest ${IMAGE_NAME}:${IMAGE_VERSION} -m "not require_dss" -...
0
votes
1answer
42 views

Deploy Docker Compose from different repositories

I have 3 separate repositories, which contains API, web app, and Admin projects. All 3 runs on a Digital Ocean docker machine, and I deploy the 3 using docker-compose (I want to keep things simple). ...
0
votes
0answers
6 views

Must the Docker desktop client be running in order for the daemon to be up? (macOS)

I recently upgraded docker to 19.03.13 and my docker desktop client version is 2.5.0.1 (49550). Ever since this upgrade, if the docker desktop client is not running, zsh prompts the following when I ...
0
votes
0answers
6 views

What are possible backup status in velero?

I am using velero for k8s cluster backup. I was looking for possible backup status in velero. I couldn't find any proper documentation on this. Can someone please help
0
votes
2answers
44 views

backup dockerise mysql database from host volume

I use a VPS (my host) where a LAMP server was installed. I already have a database associated to host mariaDB server Ver 15.1 Distrib 10.1.47 and automysqlbackup backups it. This part works well. For ...
0
votes
0answers
8 views

How to lunch a Digital Ocean dropplet directly into a container Image?

From a CI pipeline I would like to be able to do the following. Launch a droplet of a specific cpu/ram configuration with metadata to run a specific container image on start up have the droplet run a ...
0
votes
1answer
74 views

Cannot access service using docker-swarm, but without

Currently I try to setup docker-swarm using two nodes and deploy portainer on them. Both nodes are virtual machines on the same host and are on the same network (172.16.255.255). Addtionally there is ...
1
vote
1answer
10 views

Can't change Windows Docker storage location (The parameter is incorrect)

I'm trying to move the Docker storage location to another drive. This is my configuration file: { "registry-mirrors": [], "insecure-registries": [], "debug": false, ...

1
2 3 4 5
18