Questions tagged [docker]

Docker is an open source project that automates the deployment of applications inside software containers.

Docker is an open source project that automates the deployment of applications inside software containers. Docker extends a common container format called Linux Containers (LXC), with a high-level API providing a lightweight virtualization solution that runs processes in isolation. Docker utilizes LXC, cgroups, and the Linux kernel itself. Unlike traditional virtual machines, a Docker container does not include a separate operating system, instead it relies on the operating system’s functionality provided by the underlying infrastructure.

4147 questions
2
votes
1 answer

Docker cant resolve DNS-Names outside of docker network. Receiving "read from DNS server failed"

I have deployed an Adguard Home docker container which i want to use as my DNS server/proxy. DNS resolution is working fine when i'm making an nslookup from a machine (as well as the docker host) on my local network. (resolving local and external…
PurifyPioneer
  • 21
  • 1
  • 1
  • 3
2
votes
0 answers

proxy_fcgi:error AH01071: Got error 'Primary script unknown, Apache + PHP 7.3.2

I'm using my companies Docker Template to try and connect to Localhost, but I get the message "File not found" when inputting localhost:8888 into chromes URL bar. After running the command "docker-compose up"in Git Bash, I try to connect to…
Nolan
  • 21
  • 1
  • 3
2
votes
3 answers

How can I use iptables on top of docker to be able to connect to the internet from the containers?

we have a system which has been migrated from a traditional service to docker. We only want to have a firewall in production, therefore we want to have the iptables config only in the server, not inside the config of docker. We had the following…
nck
  • 129
  • 1
  • 1
  • 7
2
votes
1 answer

Some docker containers fail to start with OCI runtime error after uprade to Virtuozzo 7

the hosting provider of my KVM (Strato) recently upgraded the version of Virtuozzo they were using from 6 to 7. Since then a few of my docker containers fail to start with the following error message: ❯ sudo docker start spring_webapp Error…
fiendie
  • 21
  • 4
2
votes
1 answer

Can't access internet inside docker windows container inside corporate proxy

I need to connect to the Internet from inside a container. Initially, the Docker daemon was not able to connect to the Internet and I was unable to run: docker pull hello-world I resolved this by specifying a manual proxy in the docker desktop GUI…
Stef
  • 21
  • 1
  • 3
2
votes
2 answers

CORS blocked by No "Access-Control-Allow-Origin" on dockerized Angular frontend app and Spring Boot dockerized backend

I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the data from the backend, I face the error with…
Leo
  • 21
  • 1
  • 4
2
votes
1 answer

No route to DNS server from Docker container

Even though I can successfully ping a host from a Docker container (i.e. docker run busybox ping -c 1 216.58.207.206), requests involving a DNS lookup result in a timeout (e.g. docker run nslookup google.com). I've looked at suggestions from this…
Armin
  • 41
  • 1
  • 6
2
votes
1 answer

Docker, System has not been booted with systemd as init system (PID 1). Can't operate

I am trying to create docker container for one of the centos service created by us. We have 2 rpm files. After installing on base image of centos 8. I installed those 2 rpm files in it. But, when I try to start the service, I am getting this error.…
Uday Kiran Reddy
  • 119
  • 1
  • 4
  • 14
2
votes
1 answer

How to use rootless Docker as remote host?

I'd like to run a Docker container on a server by running the docker command on my computer. I install Ubuntu 18.04.3 (LTS) x64 on my server, create a new non-root user root@server:~# useradd --create-home --shell /bin/bash unpriv configure SSH…
maiermic
  • 141
  • 4
2
votes
2 answers

Docker settings in Ubuntu 20.04

Current setup I've installed the Docker (19.03.11) on Ubuntu (20.04) based on this article: https://docs.docker.com/engine/install/ubuntu/ What would be the goal I would like to change the data-root and tls options so I search for the config…
Péter
  • 121
  • 1
  • 4
2
votes
2 answers

SNMP: hrSystemUptime.0: Unknown Object Identifier (Sub-id not found: (top) -> hrSystemUptime)

I get the error in the title when I issue the following command. $ snmpget -v3 -u edgeos-snmpd-user -l authPriv -a SHA -x AES -A authPhrase -X privPhrase 192.168.x.x hrSystemUptime.0 hrSystemUptime.0: Unknown Object Identifier (Sub-id not found:…
Stephen Rasku
  • 193
  • 2
  • 2
  • 9
2
votes
1 answer

Docker causes VM to go dark

I'm running an Ubuntu 18.04 Virtual Machine hosted by Nutanix. Every so often, I will see an issue where a docker network will be created with docker-compose, and then the machine will go completely unresponsive. I've only seen this three times,…
C.Nivs
  • 123
  • 1
  • 7
2
votes
1 answer

Finding out why service being terminated

Using journalctl -u docker I noticed May 30 10:01:43 xxx systemd[1]: Stopping Docker Application Container Engine... ... docker specific error log in between ... May 30 10:01:51 xxx systemd[1]: Stopped Docker Application Container Engine... I saw…
kAldown
  • 161
  • 1
  • 1
  • 7
2
votes
2 answers

apt-get update: Temporary failure resolving '*.debian.org' In Docker Container

I am on CentOS 8. The second step in my Dockerfile tries to update the system, but for some reason, it keeps saying that it is having trouble resolving deb.debian.org and security.debian.org, so the update fails. Step 2/13 : RUN apt-get update &&…
dobson
  • 123
  • 2
  • 2
  • 7
2
votes
1 answer

Is it possible to have a failover/backup docker registry?

Since the failure of quay.io last week everyone in the company recognized how important is the service. And this raised this question on my head: If this happens again, how can my infrastructure be prepared to use a secondary docker container…