Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [docker]

Docker is an application to create containers for applications.

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

Program not running with permission of the owner even though SUID is set

I have a program ./prog that is owned by root and has the SUID bit set. Permission: -rwsr-sr-x 1 root Then I check the EUID by geteuid() but when I run this (as a user), the output EUID is still my ...
Calliastrophile's user avatar
0 votes
0 answers
14 views

How to protect a docker container with tcp wrappers, xinetd or something like that?

I have a Dicom medical docker container, on a bridged network, that receives tcp connections (not web/http/https) from other Dicom enabled devices, such as MRI scanners. It is an old DCMTK binary ...
Dolapevich's user avatar
0 votes
0 answers
12 views

How can I fix an issue where I see the docker containers using the cli tool but the Desktop is empty (Ubuntu/Gnome 24)?

I am trying to get docker desktop working with my Gnome Ubuntu installation. I can get Docker desktop to start (using this hack sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0), but I ...
Jackie's user avatar
  • 134
0 votes
1 answer
35 views

apt-add-repository needs to run twice on debian 12

I am trying to install qgis on debian bookworm. However when adding the repository the new source is not recognized: add-apt-repository "deb https://qgis.org/${os} ${release} main" &&...
user19102574's user avatar
0 votes
0 answers
14 views

How can I have a libvirt VM get IP from router on a host where docker is installed?

If I have a host that does not have Docker, I would just create a bridge network no my host and then have the VM use that and the VM would get an IP on my router/LAN. But if I have a host that has ...
IMTheNachoMan's user avatar
1 vote
1 answer
40 views

Can a docker container kill itself willingly, from the inside, if it's what I need it to do?

For testing purpose, I plan to test some REST servers written in various languages and technologies. A docker container compiles and starts a C++ rest server, for example Then a test suite runs to ...
Marc Le Bihan's user avatar
0 votes
2 answers
107 views

Lost sudo. Beyond salvation?

I made a mistake and gave a container Homepage access to the docker.sock and briefly after I discovered that sudo is no more. sudo sudo: /etc/sudo.conf is owned by uid 1000, should be 0 sudo: /etc/...
Arelius's user avatar
  • 73
0 votes
0 answers
108 views

Docker daemon DNS fails

Summary of question: When trying to docker pull from any repository other than the default, e.g. docker pull mcr.microsoft.com/dotnet/sdk:8.0 the command fails with dial tcp: lookup mcr.microsoft.com ...
Aviad P.'s user avatar
  • 101
0 votes
1 answer
15 views

Mismatched versions warning when updating Node.js/NPM in Docker

In our Dockerfile we have: FROM ghcr.io/puppeteer/puppeteer:latest AS pdf WORKDIR /puppeteer USER root # Prerequisites RUN apt-get update && apt-get install nginx -y # Update RUN npm update ...
Danny Beckett's user avatar
0 votes
0 answers
12 views

How can you build a Flatpak package in a Bitbucket CI/CD pipeline?

I'm trying to set up a CI/CD pipeline that builds Flatpak packages in Bitbucket CI, but I'm struggling with getting Flatpak working in the container. Initially I tried using the freedesktopsdk/flatpak:...
Newbyte's user avatar
  • 1,048
0 votes
0 answers
24 views

Set SELinux labels in Docker build

I'm trying to produce a squashfs image with labeled files for SELinux. I'm building this using docker buildx. Both of the ideas I tried failed: setfattr and chcon do not work on SELinux-enforcing ...
Dmitry Sharshakov's user avatar
0 votes
1 answer
38 views

cannot access localhost from Docker container

I followed this tutorial step by step : https://www.youtube.com/watch?v=NZGu-9KQVsE I created a Dockerfile : FROM ubuntu:jammy RUN : \ && apt-get update \ && DEBIAN_FRONTEND=...
Valentin L.'s user avatar
0 votes
0 answers
18 views

Using a security token in a docker container

I have a SafeNet 5100 eToken that I use to sign code and generate hashes. This token was recently moved to a virtualhere server to enable USBIP use of the token. This works great on windows, but not ...
camel_case's user avatar
0 votes
1 answer
36 views

Ways to isolate cpus between different processes

I'm running speed tests between different versions of the same application. I want to be able to allocate a fixed set of cpus to each application. For example I want to run the application on exactly ...
spinosarus123's user avatar
0 votes
1 answer
39 views

unable to restart ser2net on docker container after editing ser2net.yml ad restarting docker

Edited /etc/ser2net.yml file in docker container. Added following entry in the ser2net file: connection: &con40000 accepter: tcp,40000 enable: on options: banner: *banner ...
Ulysses's user avatar
  • 103
0 votes
0 answers
27 views

docker doesn't use sysctl values from host

I run a linux container on oraclelinux 9 linux host (the host itself runs in a VM). From where does docker read the sysctl params? I try change the default value of a sysctl value which docker uses. ...
Arikael's user avatar
  • 185
1 vote
1 answer
41 views

Netfilter and forward chain traces ARP but not other packets

I am experimenting with netfilter in a Docker container. I have three containers, one a "router", and two "endpoints". They are each connected via pipework, so an external (host) ...
stevekez's user avatar
0 votes
1 answer
71 views

How to logrotate official nginx docker image running by podman

I started official nginx image in podman under root with command: sudo podman run --name nginx \ ... \ -v /var/log/nginx:/var/log/nginx \ docker.io/library/nginx:latest Logging working ok, but ...
Almaz's user avatar
  • 153
0 votes
1 answer
169 views

How to uninstall Docker "rootless", without removing the user?

Nowadays Docker can be installed in at least two ways, which the Docker installer presents as a choice at startup: a traditional mode (to execute docker from root, or using sudo docker) also a ...
Valerio Bozz's user avatar
0 votes
0 answers
35 views

Unable to start cronservice as www-data user

I am trying to start cron-service using www-data user in Docker, it says Starting periodic command scheduler: cronseteuid: Operation not permitted failed! Below is the Dockerfile FROM php:8.2.12-fpm@...
Naveen Naidu's user avatar
0 votes
0 answers
51 views

Docker fails to start in EndeavourOS

I’m installing docker for the first time in endeavour but I seem to be missing something: sudo systemctl start docker Job for docker.service failed because the control process exited with error code. ...
vfbsilva's user avatar
  • 3,707
1 vote
1 answer
25 views

kubernetes cluster - only crictl can actually see containers (containers assets)

In my kubernetes (v1.28.7), docker uses containerd as underlying container management engine. (I guess I can call it Container Runtime Interface - CRI? ). This is how I assume that (look at the last ...
user205591's user avatar
0 votes
2 answers
76 views

echo process started in ENTRYPOINT/CMD to host stdout while keeping container alive and detached?

Using docker I am trying to print the login token for a jupyter notebook to stout on my host without attaching to the container. The container is just for running a notebook in a browser on the host. ...
Johan's user avatar
  • 409
0 votes
0 answers
23 views

Devilbox - error, "No Host DNS record found. " even after adding folder name in /etc/hosts/

I am using Devilbox and have been learning through documentation on how to work with it, I have created a folder inside /data/www/ inside devilbox folder and before that I have excluded the mention of ...
suborno das's user avatar
0 votes
0 answers
17 views

How to take Docker configuration back up?

I want to upgrade the Docker version on RHEL 7.9 at my workplace. My company operates behind a proxy, and there may be configurations related to it that I'm unaware of. What are the necessary ...
noonenine's user avatar
0 votes
0 answers
119 views

Problem with permissions when supervisor used in php docker image

I am building my app using official php docker image. Case 1: When I run supervisord with root user and subprocess php-fpm with www-data user. I always get this error log: FPM initialization failed ...
Hải Phạm's user avatar
1 vote
0 answers
46 views

firewalld inconsistent behaviour

I have a docker swarm with a number of nodes. They are connected through wireguard interfaces. All docker swarm communication happens inside the internal network, provided by wireguard. In the example ...
nagylzs's user avatar
  • 111
0 votes
1 answer
28 views

How to set ip of service within a container? static ip in default network

With an ip-address of a containerized Elasticsearch from the output of docker inspect I succesfully called the Elasticsearch function in a Jupyter notebook running inside another container. Both are ...
Johan's user avatar
  • 409
0 votes
1 answer
42 views

How to run `docker exec` with ssh command

Not a fun one - #!/usr/bin/env bash ssh -i 'my.pem' "ubuntu@${addr}" "docker exec -ti '$name' bash" I get this lame error: the input device is not a TTY with no context at all. ...
Alexander Mills's user avatar
0 votes
1 answer
29 views

What approach is recommended for defining important startup processes? (Independent of shell)

Note on formatting I've gone back and added bold text to my specific questions, because I feel the details have lead to the question getting lost. However, the details are kind of necessary to ...
Solonotix's user avatar
  • 101
1 vote
0 answers
16 views

Installing Unity in Ade docker environment [closed]

Currently, I'm working on a project to develop a Simulator based on Unity. I wish to install Unity within the docker environment but I don't have much knowledge on how to do it. If anyone could guide ...
Rajkumar's user avatar
0 votes
1 answer
78 views

Can't run crontab with users other than root

My goal is to run a Docker container that contains crontab. So I want, as a non-root user, to be able to run scheduled crontab jobs. I am running the following Docker image: FROM openjdk:8 RUN apt-get ...
FueledByPizza's user avatar
0 votes
1 answer
26 views

Marking packets in iptables based on output interface

I have an unusual setup on my server. We have three outgoing ethernet ports, all connected to a single bridge interface that we split into two VLANs: ip link add veth type bridge ip link set veth ...
Garrett's user avatar
1 vote
1 answer
54 views

Container occasionally not part of network

I've a Docker container that is started via docker-compose. The configuration file specifies that it should be part of two networks. However, on occasion (approximately one in five runs), the ...
Daniel Walker's user avatar
1 vote
0 answers
90 views

Home Server/NAS Plagued by random crashes

I'm here to get help for an issue which has been plaguing me for a year. I'm using HP Elitedesk 800 G3 i5-7500 as my Home Server/NAS. I have the latest Debian 12 (Bookworm) on it. I'm running my ...
Aciel's user avatar
  • 11
0 votes
0 answers
53 views

Why Unit failed,docker.service: Start request repeated too quickly?

My logs The unit docker.service completed and consumed the indicated resources. мар 05 09:29:56 miki-IdeaPad systemd[1]: docker.service: Start request repeated too quickly. мар 05 09:29:56 miki-...
Richard Rublev's user avatar
0 votes
0 answers
18 views

Docker on visionfive2 risc-v

Docker on visionfive2 risc-v user@starfive:~$ sudo dockerd WARN[2024-03-02T13:08:27.753708638Z] Unable to find memory controller WARN[2024-03-02T13:08:27.753772888Z] Unable to find io ...
Bender's user avatar
  • 1
0 votes
1 answer
59 views

Is it possible to run docker engine without frequent sudo in a manner as secure as docker desktop?

Does running docker "engine" require sudo'ing constantly during development? Is that what you are doing? Do you sudo -i when operating docker? Or do you set a timer on sudo? Is there a safe ...
Johan's user avatar
  • 409
0 votes
0 answers
30 views

how to get network interfaces in linux of my docker containers

i launch some docker nginx containers liket that : docker run --rm -d nginx docker run --rm -d nginx docker run --rm -d nginx then i get the ip adresses of my containers, by doing.. docker inspect ...
new-temporary's user avatar
0 votes
0 answers
97 views

nslookup outputs SERVFAIL error from configured local DNS

I was watching a YouTube tutorial on configuring Nginx and local DNS settings. As I followed along on my Ubuntu 22.04 host machine, I ran into an issue with the DNS server I had set up with Docker per ...
juanthehuman's user avatar
0 votes
0 answers
13 views

How to upgrade Hapi Fhir server on docker?

I have a very old hapi fhir server and I want to upgrade it from 5.1.0 to 6.10.1-tomcat. I can't find the upgrade method on the internet. How can I upgrade hapi fhir? I'm using hapi-fhir-cli migrate-...
codesss143's user avatar
0 votes
1 answer
41 views

Chromium doesn't start under docker without `xhost +local:`

$ xhost access control enabled, only authorized clients can connect xterm works: $ docker run --rm -it --network host \ --volume ~/.Xauthority:/root/.Xauthority:ro \ --env DISPLAY \ alpine:3.19 ...
x-yuri's user avatar
  • 3,383
0 votes
0 answers
18 views

Docker container traffic through host iptables tproxy

Problem Docker container network does not go through the host TPROXY-configured tunnel. Setup I have a TPROXY-supported proxy server running on my machine (listening on 127.0.0.1:8080). I configured ...
xeptore's user avatar
0 votes
1 answer
61 views

Docker - Explain used space by images and containers

I'm using Docker and try to understand how used space is managed. When I run docker system df, I can see the size of my images and containers. I previously run a docker system prune to clear every ...
GeoGyro's user avatar
  • 131
0 votes
0 answers
85 views

Docker bridges have no-carrier with sytemd-networkd

My docker containers connected to a bridge network aren't able make outbound connections. I found out that two of the bridge networks had no carrier. I believe, I am currently running systemd-networkd ...
CodeCraft's user avatar
0 votes
0 answers
37 views

A problem with mastodon behind nginx

I've tried to run an instance for myself in mastodon and went through this guide and I made a few changes such as, I changed it to single user mode and I did not set up SMTP at all. Anyway now there ...
Ashkan's user avatar
  • 1
0 votes
0 answers
99 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
38 views

The different contents of Docker -v result in different effects after container startup

There is a problem using -v "%desktopPath%\%folderName%":/dobot/userdata/project:rw, it will report that the file /dobot/userdata/project/properties/controlCabType.json does not exist, and ...
Vimer's user avatar
  • 67
1 vote
0 answers
80 views

Distrobox: emacs: Could not open file: /dev/tty

Am currently trying to automate running emacs on a Distrobox container (the Docker container is silex/emacs:29.2-alpine, although I've also tried silex/emacs:29.2 which uses a Debian image), and am ...
shintuku's user avatar
  • 143
0 votes
2 answers
48 views

how can I make a docker container run a command that will restart another container

I made a fastAPI docker container, and it's running fine, unless 1 command... I need it to restart another docker container when some event happen. I have a server[host], running docker, docker is ...
Abd Alhaleem Bakkor's user avatar

1
2 3 4 5
35