Questions tagged containers

Explore the latest questions and answers asked by our top developers.

Is it possible to split a layer of an existing docker image?

Part of creating a docker image includes running a product install. This product install creates a thick layer of over 10GB. Having such a thick layer creates challenges when pushing the image to the repository. Is there a way to break down an existing image layer into multiples? More specifically, expand the layer on the […]

By user1015767
Published
Categorised as containers, docker, image, layer, push Tagged , , , ,

Nginx Container Unable to start

My Nginx Container Unable to Start getting below error nginx: [emerg] "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in /etc/nginx/conf.d/default.conf:17 and below my nginx conf file server { listen 80; server_name xyz.com; server_tokens off; location /.well-known/acme-challenge/ { root /var/www/certbot; […]

By Sarmad Malik
Published
Categorised as containers, docker, nginx Tagged , ,

Endless import of matplotlib in Lambda Container: Matplotlib is building the font cache; this may take a moment

I am using the following Docker Image as a Lambda Container. When I invoke the Container, it exceeds the time limit of 15 min because of the matplotlib import building the font cache. I tried all the tips provided to this issue on Stack Overflow but it is not working. Does anybody know some ways […]

By Buggorilla
Published
Categorised as containers, docker, lambda, matplotlib, python Tagged , , , ,

How to fix ssh error inside a docker container?

I have got this an ssh error inside docker container hadoop-master: Bad owner or permissions on /root/.ssh/config Source: Docker Questions

By aodev
Published
Categorised as config, containers, docker, hadoop, ssh Tagged , , , ,

Commit and Push Container in Azure Container Group?

My question has to do with the posture of Azure container groups. I’m comfortable working with Docker images and and deploying those in a Kubernetes environment. I’m new to Azure. I have a container running in a container group. I deployed it with a JSON template, through the web portal. I can bash into it […]

By Adam Winter
Published
Categorised as azure, containers, docker Tagged , ,

bind9 container – creating IPv4 interface eth0 failed; interface ignored [closed]

I’m trying to run bind9 DNS server with Docker, here is the yaml file: version: "3" services: DNS-SRV: image: ubuntu/bind9 ports: – "53:53" environment: – TZ=UTC volumes: – ~/core/bind9/:/etc/bind/ But I’m unable to resolve DNS with it: [email protected]:~/core/yamls$ nslookup ppan.ise-srv.local 10.10.20.3 ;; connection timed out; no servers could be reached [email protected]:~/core/yamls$ The container is running: […]

By Somayyah Mohammed
Published
Categorised as containers, docker, docker-compose, unix Tagged , , ,

set docker container listen only to localhost not 0.0.0.0

I want to run docker container with –network=host but it ignores the port and ip. I want run docker container in my host network while I want to limit this container to listen only on localhost or 127.0.0.l not 0.0.0.0 . What should I do? Source: Docker Questions

By Mohammad
Published
Categorised as containers, docker, localhost Tagged , ,

Is a Docker containers’ writable layer (container layer) only for files?

Is a Docker containers’ writable (r/w) layer (a.k.a. container layer) only for file writes? Or is this layer for all “writes” including app state. For example, is this where app memory would be allocated/stored such as Java heap/stack. Perhaps I’m mixing two different things – container layers and container process memory. Source: Docker Questions

By synergy77
Published
Categorised as containers, docker, file, java, memory Tagged , , , ,

Stop all container’s with specific string in name using PODMAN

I have to stop all container’s with specific string in name. For example there is 4 container’s with name’s : apache1 apache2 apache3 jboos I try to stop only this with "apache" in the name. Is there any native way in PODMAN to stop all containers with a specific name? I can list the containers […]

By CbrChannel
Published
Categorised as containers, docker, podman Tagged , ,

I deleted the log file in the docker container, now the new logs are now getting created. How to get the file with new logs?

I used rm-rf to delete the file, how can I get the file with new logs? Source: Docker Questions

By Sanjana Kapoor
Published
Categorised as containers, docker, dockerfile, logging Tagged , , ,
1 147

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq