Questions tagged [docker]

Docker is an application to create containers for applications.

Filter by
Sorted by
Tagged with
1
vote
1answer
7 views

PHP-FPM creating files as root when configured as www-data

In a multiple-container Docker application deployed with docker-compose I have a container built from alpine running PHP-FPM. That container is used both for providing PHP to the Nginx container, but ...
0
votes
1answer
36 views

Getting series of file conflicts like runc and containerd when trying to install docker on CentOS 8

I get what I believe is a file conflict error when I try to install docker/docker-ce on CentOS 8. This is also a follow up from How to install docker on CentOS? So here's what I do to get the error: ...
0
votes
0answers
5 views

X lock-ups with firefox running from docker

I need a separate browser instance that is configured to connect to a specific proxy that is used for accessing restricted network, but cannot be used for regular browsing, and also to keep the ...
1
vote
1answer
70 views

Failing to install Docker CE on RHEL 7 since tonight

I am using this commands to install Docker CE on RHEL7 and I am failing with the following: This started tonight after working flawlessly for some time sudo yum install -y yum-utils sudo yum-config-...
0
votes
1answer
14 views

How to start Docker if address is already in use?

How can I start docker on Ubuntu 20.04, if it complains that address is already in use? I tried docker-compose up -d Starting relaatiotietokannat_db_1 ... Starting relaatiotietokannat_db_1 ... error ...
0
votes
0answers
16 views

df and du average and send alert

I have nfs share which has mount point from all the container/pods as claim NFS = 50GB and its used by container as Java = 1gb -- mount point as java_data in container postgres = 20GB -- mount ...
0
votes
1answer
14 views

Why docker exec command can launch shell with nologin user?

I have a nologin user for example foo in my /etc/passwd file: foo:x:1010:1010::/home/foo:/usr/sbin/nologin After I run this docker container, then I execute the command: docker exec -it --user foo &...
1
vote
1answer
19 views

Why can't Wine run kernel-mode (ring 0) drivers in a container?

I'm not extremely familiar with systems programming or operating systems, so this is probably a stupid question. But I was trying to get a game running in Wine recently that implements an anti-cheat ...
0
votes
0answers
15 views

How can I setup Docker for web development?

On Ubuntu, how can I start docker for web development? I tried docker-compose up ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`. (base) jaakko@jaakko-...
0
votes
1answer
20 views

Will a Docker image built for Oracle Linux 7 run on Red Hat Linux 8

Can a Docker image built to run on Oracle Linux 7 be run on Red Hat Linux 8 (either under Docker or cri-o/podman)? Is there some kind of verification and/or upgrade process that can be followed? Or ...
0
votes
1answer
56 views

How to get PID from within bash shell script

I have the following code that submits several subjobs withing a docker container: #!/bin/bash for file in "all files of a given type"; do docker exec -itd "docker container"...
1
vote
0answers
22 views

Xauthority for python plotting in a docker container

I'm trying to understand how to run a docker container with an X11 server running in it so that I can do visualizations when I write some python code, and found lots of answers out there. I found many ...
0
votes
0answers
24 views

systemd service stops after startup

My goal is to create a systemd service(foo) that runs a docker container. Before and after the ExecStart , I wanted to invoke a shell script which does some setup/cleanup. I need the cleanup to happen ...
1
vote
1answer
35 views

ssh fails with pam_systemd(sshd:session): Failed to create session: File exists

I have a situation where an outside ssh repeatedly (in a fast loop) connects to an OpenSSH daemon inside a Docker container that is based on Debian 10.5. Authorization is via an authorized key in $...
0
votes
0answers
18 views

dbus configuration in order to listen to requests from within a container

I am trying to set up an app that is capable to interact with the Bluetooth dbus interface (bluez.org). My goal is having the app to be capable to pair/connect a device. I am using the java library ...
1
vote
0answers
22 views

GitLab Coexisting with SSHD on Bridge Interface

Background I am attempting to convert a server from using Docker to Podman. So far I have been able to convert all of my services (~15 in total) to systemd jobs and run them without issue. In doing ...
0
votes
0answers
39 views

LXC, Docker and iptables on the same host, timeout on port-forwarding from the container to the container

thanks for reading! I have a publicly exposed server (debian 10), used as an host, running both LXC (not LXD) and Docker. These two container services are running with a mostly original configuration (...
23
votes
3answers
3k views

Is having docker installed a massive security hole?

Suppose I have an Ubuntu machine and did sudo apt install docker.io. Did I just put a huge security hole in my machine that will allow anyone with terminal access to escalate into root? I ask that ...
3
votes
2answers
33 views

How to check if it's docker or host machine inside bash script?

I am writing a shell script for docker containers. I want to check before running my script whether it's docker container or host machine. something like this: if $MACHINE=docker; then echo proceed ...
0
votes
0answers
11 views

Restore empty docker-compose file

I was working on a sizeable docker-compose file using the nano editor. Upon saving it told me I was out of disk space. Without hesitating, I quit nano, extended my LVM and resized the FS as I have ...
1
vote
1answer
38 views

Failed to start Docker Container Engine

I did a docker installation on a Debian 10. sudo apt -y install docker-ce docker-ce-cli containerd.io when I want to start my Docker process I have this error message systemd[1]: Starting Docker ...
0
votes
0answers
25 views

Why: “systemd not detected, dockerd daemon needs to be started manually”?

This question is similar to this one: systemd not detected, dockerd daemon needs to be started manually, as I have ran into the same problem ~$ curl -sSL https://get.docker.com/rootless | sh # ...
0
votes
0answers
10 views

Best approach to create safe environment to install TensorRT

I would like to install TensorRT on a Linux machine with Ubuntu 18.04.4 to which I connect via ssh. I would like to create a virtual environment or similar to not mess with the machine. But as I am ...
0
votes
0answers
22 views

Docker Ubuntu communication

What's the hostname or ip address to use inside a flask container to communicate with mongodb in Ubuntu host ?? host.docker.internal work for Mac and windows smoothly... What about linux Ubuntu
0
votes
0answers
18 views

how to change the speed of veth-pair interface

I connect many docker containers by veth-pair. how can I change the speed of the veth-pair interface speed? Help!!! I tried ethtool -s interface_name speed ***, but it not support. maybe because of ...
0
votes
1answer
56 views

Do docker container cause slow Disk/OS performance

We have 3 servers, each of which are running RHEL 7.6. Each machine has 64G of RAM and 15 CPUs. We are preparing to install a set of services --- kafka, zookeeper, schema registry --- on all of the ...
2
votes
1answer
39 views

Connect to VNC server inside a docker / podman container with Login screen

We're currently trying to get a Ubuntu 18.04 instance up and running inside a podman container. Our goal is to be able to connect to the linux system inside the container via VNC, we're trying to make ...
1
vote
1answer
604 views

How to install docker on CentOS?

Having some trouble installing docker: [root@rolly ~]# [root@rolly ~]# sudo yum install -y yum-utils Docker CE Stable - x86_64 ...
0
votes
1answer
78 views

How to run GUI application in Docker?

I am trying to install Packet Tracer in my Parrot OS docker container following this tutorial, and my Dockerfile looks like this for now (just to test): FROM parrotsec/core COPY PacketTracer_731_amd64....
1
vote
2answers
60 views

Fail to install tcpdump package in UBI8 (Red Hat Universal Base Image)

I am building a docker image based on UBI8(Red Hat Universal Base Image), Dockerfile looks like FROM registry.access.redhat.com/ubi8/ubi-minimal RUN microdnf install sudo zip tar bash procps openssl ...
0
votes
0answers
47 views

Are there alternative/unofficial browsable package repositories for Amazon Linux 2

In the amozonlinux:2 docker image I've tried the following to figure out what are the package repositories sh-4.2# yum repoinfo Loaded plugins: ovl, priorities Repo-id : amzn2-core/2/x86_64 Repo-...
1
vote
1answer
36 views

Restart Docker Network after Resuming VM

Whenever I suspend/resume my VMs the docker networking fails to function (e.g. timeouts between containers and the host, etc.). I'm using docker in the VM, the VM is not controlled by docker. This ...
0
votes
0answers
65 views

Runnig gui inside docker using vncserver in browser

I am stuck on command that launcnes gui application inside docker. However i am able to reach vnc server, open terminal an launch the application, I would like it to open as i open novnc server in ...
4
votes
1answer
33 views

Content of /etc/network in Alpine Linux image

I have an Alpine Linux image installed on a docker container. I was exploring it, and doing ls -lR /etc/network I had this result: /etc/network/: total 24 drwxr-xr-x 2 root root 4096 ...
1
vote
1answer
89 views

trying to install mysql 5.7 in a docker image in ubuntu machine

When trying to install mysql 5.7 in docker container, I am getting the following error. I am new to docker and containers. Step 16/23 : RUN apt-get install mysql-server-5.7 ---> Running in ...
0
votes
1answer
54 views

Linux alpine check musl version

We have docker files which based on alpine linux. I want for the built container to check the version of the musl library , I mean run the container and and in RT check the musl version how can I do ...
1
vote
0answers
36 views

Proxy tomcat with haproxy

I am trying to proxy tomcat with haproxy. Tomcat and haproxy are dockerized inside containers gis-web & web-gateway (both are added to docker bridge network) I added sample.war app to webapps ...
0
votes
1answer
35 views

Emulate /proc folder

I've a software that uses a few nasty algorithms to determine, wether it runs in a docker container or not. One example is, that it scans /proc/1/cgroup for non root paths (i.e. /docker/SOME-UUID ...
0
votes
1answer
43 views

How to bring sleeping process back to foreground?

I used ssh to connect to a server, and run a process in docker. docker exec -ti docker_name /bin/bash However, the ssh connection broke at some point, when I went back, command top shows PID USER ...
1
vote
1answer
30 views

disk quota exceeded when trying to deploy Docker container inside LXC

I have an LXC container running docker. Many containers are running successfully but I am unable to add more; I am trying to deploy a new docker container and getting the following error: container ...
0
votes
1answer
15 views

Can the shell on my host (with my customizations) work with a docker instance?

Normally if you connect to a docker instance via docker exec you land into something quite primitive like sh or ash. If you want something better, you have to install it yourself on the docker ...
1
vote
1answer
152 views

kdevtmpfsi process is using 100% CPU, restarting on kill

I have amzon linux instance with docker, rabbitmq and ejabberd installed. One process is starting and using cpu 100% I'm trying to kill that process but after sometimes it is starting Top command ...
0
votes
0answers
59 views

How to map my host's to the container's user in docker-compose using the lebokus/docker-volume-bindfs plugin?

I have a php dev stack setup through Dockerfiles and docker-compose. I mount the source tree and composer vendor folder to the container. My host's local user philipp has id 1000 and my container uses ...
0
votes
1answer
177 views

Starting systemd and using Docker RUN?

Docker provides for the ability to run a command when the container starts. This is specified with CMD in the Dockerfile. However, if I want my container to start with systemd I have to use, CMD [&...
1
vote
0answers
26 views

forward traffic from a physical interface to docker 0 -> to docker container eth0

I have an Ubuntu 16.04 desktop with 2 interface cards. I am trying to route traffic from Windows machine to Ubuntu machine's enp6s0 interface. I have connected the Windows machine and Ubuntu 16.04 ...
0
votes
0answers
104 views

Connecting to docker bridged container on CentOS 7 gives: Connection reset by peer

As the title says I have a docker image which runs fine on my development machine in docker using network bridged to an another port (-p 8080:5000). But as soon as I am deploying this on my server ...
0
votes
1answer
49 views

How can I access the web console of CodeReady Containers, installed on CentOS Docker container, from Host machine?

I have this scenario: a HOST machine running Debian that runs docker containers. a CentOS docker container that have CodeReady Containers (CRC) installed on itself. CRC working on the container, via ...
1
vote
1answer
50 views

How can I redirect traffic to an Host machine port from a VM inside in a CentOS Docker container?

I have this scenario: a HOST machine running Debian with ufw installed. a CentOS docker container that have an VM that working on an specific IP. This VM have an app working on the container calling ...
0
votes
2answers
93 views

In Debian 10 how to verify that an apt-get package doesn't contains any viruses or any malicious code [closed]

The below Dockerfile is written based on Debian 10 (buster) image FROM node:12-buster RUN apt-get update -y RUN apt-get install wkhtmltopdf -y #...rest content As you see above I need to install a ...
0
votes
0answers
14 views

How can I find out what experimental syntaxes my current version of Docker supports?

When I run an experimental syntax I get the following Error response from daemon: Dockerfile parse error line 13: Unknown flag: security When I run with DOCKER_BUILDKIT=1 I get, I get, [+] Building ...

1
2 3 4 5
22