Questions tagged [docker]

Docker is an application to create containers for applications.

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

Running `zsh-newuser-install` inside docker has no effect

The top-level problem I want to solve is to run zsh-newuser-install configuration script. This is what's executed when zsh opens for the first time and sees no .zprofile/.zshrc/... files. I don't want ...
  • 21
1 vote
0 answers
21 views

Nextcloud Docker container doesn't sync data to VirtualBox host

Setup: Over the past week I've been trying to set up a Nextcloud Docker instance on an Ubuntu Server VM, in my old 2015 Macbook Pro using VirtualBox and Vagrant. While the VM only has limited storage ...
  • 11
1 vote
0 answers
94 views

Inside Docker: mkdir(-p): No such file or directory

I have encountered a strange problem where the mkdir -p command fails to create a directory and returns the following error message: [root@202 ~]# pwd /root [root@202 ~]# mkdir -p a/b/c mkdir: cannot ...
  • 11
-1 votes
0 answers
24 views

Unable to add universe repository in Ubuntu 18

I am using docker to build an image FROM ubuntu:18.04 RUN apt-get update -y RUN apt install p7zip-full --fix-missing -y When I build the container, I see the following errors. #0 31.49 Need to get ...
0 votes
0 answers
24 views

How to install plperl, plpython extensions in derived alpine docker image?

I am trying to set up and use the official (alpine-based) postgres docker image with Dockerfile here. But I got an error about missing libperl.so as follows: 2023-03-09 17:37:49.146 UTC [49] ERROR: ...
  • 468
-1 votes
1 answer
58 views

Error with docker container init caused \"could not create session key

After I installed docker, I grabbed the hello-word image, but I couldn't run the container. When I run docker container run -it hello-world I get the following error: docker: Error response from ...
  • 1
0 votes
0 answers
54 views

What is this process causing my CPU utilization to peak to 100%?

I have used CentOS 7. I updated the CentOS version recently to install docker. Then this problem arose. I think that this problem is caused by the docker and I tried to remove it, yum remove docker ...
0 votes
0 answers
16 views

Why can't Kubernetes PODs communicate with Docker containers started manually?

We are running Docker and Kubernetes on EC2 through the EKS service, and this cluster is mainly used for CICD purposes solely. Besides that, we are trying to setup TestContainers to run in our ...
-3 votes
1 answer
111 views

Is Docker an emulator? If not, why not?

Is Docker an emulator? If not, why not? It emulates an operating system in a certain state/mode, isn't it?
  • 1
0 votes
0 answers
17 views

Kanboard doesn't install plugins docker

I work on a local system with no internet. I'm trying to install plugin and the first thing I did was to cp folder with plugin in to "plugins" changed config.php and data/config.php to ...
0 votes
0 answers
27 views

Access two networks (LAN + VPN) from docker container

I have successfully used openvpn-client to give a container access to devices behind a VPN. My LAN is on the 192.168.1.0/24 subnet (of the host), and the VPN subnet is on the 10.11.0.0/16 (of the ...
0 votes
1 answer
34 views

'address already in use', but I don't see where

I am trying to start a docker container on a specific ip by adding this to the docker-compose file: - ports - 'xxx.xxx.253.202:443:443' And I get this: error response from daemon: driver failed ...
  • 207
0 votes
0 answers
46 views

Cant ping WSL network interface gw from one container through another one acting as router

I'll try to keep simple for the sake of demostrating the issue. Scenario Docker compose (2 services) + WSL2 Ubuntu 20.04 Service A wants to act like "Router". Has an internal network & ...
  • 29
2 votes
0 answers
39 views

locale of .utf8 or .UTF-8?

Of the same Debian 11 bullseye, I get different locale for C: .utf8 and .UTF-8: My machine: $ locale -a C C.utf8 POSIX en_US en_US.iso88591 en_US.utf8 $ lsb_release -a No LSB modules are available. ...
  • 955
0 votes
0 answers
26 views

How to sync a oneDrive folder with docker to a ubuntu vm?

I want to sync a folder Documents from my O365 OneDrive to a folder of my Ubuntu 18.04 VM. I pulled the docker image of onedrive: docker pull driveone/onedrive then ran it: MYEMAIL="me@email.com&...
3 votes
0 answers
70 views
+100

Disk space and inodes appear to consume RAM in a Docker container

I'm trying to determine why a web server running in a Dockerized environment is consuming more memory than I expect it to. While investigating this problem, I discovered the following behavior which ...
0 votes
0 answers
18 views

Docker does not trigger login or invoke /etc/profiles?

Trying to deal with the problem of dircolors: no SHELL environment variable, and no shell type option given when I start my docker container. So from What sets the $SHELL environment variable? it can ...
  • 955
0 votes
0 answers
29 views

Docker rootless daemon not starting

I installed docker rootless with dockerd-rootless-setuptool.sh install to rhel 7.9. The info of the output is below. [INFO] systemd not detected, dockerd-rootless.sh needs to be started manually: When ...
0 votes
0 answers
27 views

Docker - Portainer: How to set up a local volume to store data which came from a container?

I have a docker container which is running in portainer, this is a kind of download server. Downloading files from the internet works, but I can't declare a local Volume in portainer to store the ...
  • 1
-1 votes
1 answer
42 views

terminal output is broken in docker compose output

Im facing an issue with how the log in docker compose looks like, seems somehow broken as shown below ==> Emulator is ready : '1' is not completely override the previous output "please wait&...
0 votes
0 answers
14 views

Openstack (Train, Ussuri, Victoria) via Kolla-Ansible net.bridge.bridge-nf-call-iptables Networking Issues

I've installed Openstack Train, Ussuri, and now Victoria via kolla-ansible (requires docker since the services are in containers) on 3 nodes. All 3 nodes are compute nodes and the one doubles as a ...
0 votes
0 answers
19 views

Docker zfs storage driver not specified in daemon.json - Uses zfs storage driver

I recently checked the daemon.json file on multiple servers and zfs storage driver is no longer specified. It was previously. I believe an Openstack installation via kolla-ansible may have changed ...
1 vote
1 answer
84 views

Process not receiving SIGTERM in Docker container

I've got a simple Python process running in a Docker container: Dockerfile: FROM ubuntu:18.04 RUN apt -y update && apt -y install python3 COPY app.py /app/ WORKDIR /app ENTRYPOINT ["./app....
0 votes
0 answers
21 views

export environment variables in k8s command is not working

In a k8s yaml config, the command is set as follows: When the pod launches, there's no PYTHONPATH enviroment variables, could anyone help explain? Thanks soo much!
  • 205
1 vote
1 answer
56 views

docker logs err:"+ sudo -E kolla_set_configs sudo: unknown uid 42401: who are you?" in openstack container

Multinodes(3 nodes) openstack cluster deploy by kolla-ansible, two nodes(2nd and 3rd nodes) are working well, the one node(1st_node) have some containers always Restarting with the error logs, e.g. ...
  • 105
0 votes
0 answers
27 views

Ubuntu: Broadcast CNAMES/Alias to the router/ DHCP server/ DNS server

I am trying to build a portable home server with a Intel NUC. My requirement is to plug my NUC to any of my friends or relatives router and with minimal configuration, preferably no configuration, be ...
1 vote
1 answer
325 views

Docker does not have a release file?

When I run sudo apt update I get this error E: The repository 'https://download.docker.com/linux/ubuntu \ Release' does not have a Release file. N: Updating from such a repository can't be done ...
0 votes
1 answer
198 views

How to use cat and for-loop in Dockerfile

I have a shell script that does following and I would like to do this in Dockerfile instead. Does anyone know how to do this? I was able to do sed command, but am not having luck with for-loop. org=&...
  • 101
2 votes
1 answer
57 views

How can I preserve the logs a docker/podman container even after the container dies?

I have pods running in OpenShift that I would like to view the logs for. In particular, I want to see the logs when the pod is terminated. However, when the pod is terminated the logs are deleted as ...
0 votes
0 answers
71 views

Connect to docker registry through SSH tunnel with WSL and Docker Desktop

I want to connect to a custom docker registry. I can reach the server only though an SSH tunnel. I establish the tunnel like this: ssh -N -L 5000:docker-server:443 user@ssh-server Then I use the ...
0 votes
0 answers
116 views

yum install : Loaded plugins: fastestmirror, ovl => docker build stops

I have this Dockerfile I try to use to docker build : FROM X/centos/python-38-centos7 USER root WORKDIR /dump_generator_api # Install the repository RPM: RUN yum install -y https://download.postgresql....
  • 101
0 votes
0 answers
28 views

Docker containers inaccessible in browser after reboot - Raspberry Pi 4

Raspberry Pi 4 Raspberry Pi OS Lite Docker 23.0.0 Docker containers are not accessible in the browser after reboot, I thought it may have been because the containers do not start, but it appears that ...
0 votes
1 answer
139 views

How to pass shell parameters when running a docker image?

I've implemented a bash script which accepts the following parameters SYNOPSIS run.sh: run.sh [-H|-L|-P profile -D device [-R runtime]] list the fio profiles natively supported by the docker ...
5 votes
2 answers
1k views

docker does not start after apt upgrade (Community Edition)

I updated docker-ce on my debian 10 inside a VM on XEN with pygrub. after this upgrade I upgraded to Debian 11, but the error stayed the same. I am on docker-ce version 5:23....
  • 26.8k
2 votes
0 answers
92 views

How can I access a docker web application in a remote linux server directly from my windows local browser?

Following a mirror tutorial on dockerhub, I managed to run a docker web application on a remote Linux service. Here the host is the remote ubuntu server, which can be accessed via the browser address &...
1 vote
1 answer
94 views

How to configure apache running in a Docker container

I am new in Docker and I have installed apache from the image httpd:2.4 and name tecmint-web. I am trying to configure apache but I have no idea how to do it. I tried the following steps: docker exec -...
  • 37
0 votes
0 answers
230 views

sudo apt-get update failing inside Docker container running Ubuntu 20.04.03 LTS

Inside my docker container, whenever I try to execute the following command sudo apt-get update. It fails with the following error: lab@f482bded4be2:~$ sudo apt-get update Hit:1 http://security.ubuntu....
0 votes
0 answers
37 views

Any variable assignment would be empty inside docker

I have a long script that would be copied inside the docker image in Dockerfile and would be executed there. I'm using bash. Both in my local machine, and inside my docker. I run this code to ensure ...
0 votes
0 answers
7 views

How to detach loop0 when it is labelled as (deleted) in Docker?

When I run losetup --detach-all in Docker, /dev/loop0 is not released and remains labelled as (deleted). $ losetup --detach-all $ losetup --list NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE ...
0 votes
1 answer
42 views

How can I install docker-ce alongside kubernetes on debian when using containerd?

debian/11, kubernetes/1.26.1 I have a Debian 11 host running as the control plane node for a Kubernetes deployment. This deployment uses containerd as the container engine. I'd like to install docker-...
1 vote
1 answer
24 views

How to tell what PPA my Linux Mint install is downloading docker.io from

I'm going down a rabid hole and realize downloading docker-ce instead of docker.io is probably better, but was curious to see when docker.io was last updated. I believe I've tracked it down to here ...
1 vote
0 answers
178 views

Puppeteer/Chromium on Debian Docker K8s: "Failed to open an X11 connection"

This is driving me crazy, did not think it would be this hard to get a headless chromium instance running with puppeteer launch config. Here's the error: # launching puppeteer with config {"args&...
0 votes
1 answer
36 views

Docker network and container use the LAN

I have a LAN with 192.168.2.0/24. A docker machine with two network cards eth0: 192.168.2.150/24 eth1: 192.168.2.151/24 I use 192.168.2.150 to manage the docker machine. I want to broadcast the ...
  • 1
0 votes
0 answers
42 views

Running containers on RPi with buildroot: problems with CNI

I'm currently trying to get containers to run on my RPi (CM4 module) using buildroot. I've configured the kernel and additional packages such that I should be able to run containers. I can verify that ...
  • 10.9k
0 votes
1 answer
79 views

No IPv6 loopback address in Ubuntu container

I have an Ubuntu 22.04 VM running via VirtualBox on my MacBook. ip addr shows (among other things): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
0 votes
0 answers
17 views

I want to show every opened window in POP_OS as separated icon in taskpar or docker. is that doable?

For example I want this windows of Brave Browser to be separated. And not grouped like in one icon.
1 vote
0 answers
212 views

Can't execute perl script

I am not able to execute in Docker container the perl script: [root@11efb25fa64f perl]# ./launch-commands.pl ./launch-commands.pl bash: ./launch-commands.pl: Operation not supported It is not a case ...
  • 17
0 votes
1 answer
439 views

How to install Docker on Rhel 9?

I am using Oracle Linux 9 and I would like to install Docker. I checked this website: https://docs.docker.com/desktop/install/linux-install/ for instructions but it seems that there are instructions ...
  • 37
0 votes
0 answers
23 views

why does certbot still can generate my certs after wipe?

i tested some things in docker and f*d up, also removed all containers and volumes including the certbot ones. so why is certbot still able to give me my certificates back? is it because they are ...
  • 1
1 vote
1 answer
2k views

Conflicting values set for option Signed-By regarding source

I was installing Docker Engine on Ubuntu 22.04 using the following link https://docs.docker.com/engine/install/ubuntu/, everything was okay until I reach sudo apt-get update, it gives me the following ...
  • 17

1
2 3 4 5
32