Questions tagged [docker]

Docker is an application to create containers for applications.

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

Using SSH terminal (stdio) as a tunnel for mongo (-L option not allowed)

Here's the thing: a mongodb client on the client machine a SSH terminal on a jump machine the mongodb server on the target machine I would like the client to connect to the server through the jump ...
0
votes
0answers
6 views

Why Cgroups release_agent file runs as executable?

I know the relation between the notify_on_release and the release_agent file but I didn't understand that why when notify_on_release is 1, the path inside the release_agent file runs as binary? What ...
0
votes
0answers
5 views

Maxmium subuid (subordinate user id)

The default SUB_UID_MAX defined in login.defs(5) man page is 600100000. With this limit you can create 9156 users with 65536 subuids each. It is possible to raise this limit - but is there maximum?
0
votes
1answer
16 views

Why do I need to run ldconfig everytime I put .so library into directories like /usr/local/lib if set by config files in /etc/ld.so.conf.d/?

I am running centos 6.10 in docker. As is described in the title, I set /usr/local/lib and /usr/local/lib64 in a conf file in /etc/ld.so.conf.d/. I need to run ldconfig everytime when I put .so ...
0
votes
0answers
12 views

Does Docker normally fail to clean up its iptables rules?

I'm on Alpine Linux 3.13.2, iptables-1.8.6-r0, and docker-20.10.3-r0. I'm trying out Graylog 4 using their sample docker-compose .yml file. I got Graylog running as expected, then did docker-compose .....
3
votes
0answers
26 views

Connection problems after Docker install

I have installed Docker normally and everything worked fine but after a reboot, I lost my network (PCIe Wireless Adapter, Wired Connection, and even USB Tethering). I found a lot of similar content, ...
0
votes
1answer
18 views

Certificate signed with custom CA in Kubernetes not Valid

I am attempting to setup the following process. Pod starts and generates a private key and csr Submits csr to password protected service for signing and ip verification Service returns valid crt that ...
1
vote
3answers
44 views

Nextcloud: Unable to find error logs

I installed nextcloud using docker on Debian. I finished setting up my Nextcloud I got this: Where I can find these logs? BTW: this is my /var folder: total 44 6422529 drwxr-xr-x 11 root root 4096 ...
0
votes
1answer
24 views

Debian: Nextcloud : Can't create or write into the data directory /mnt/disk0/nextcloud-data/

I installed nexcloud on my debian install. When I run: sudo docker run -d -p 8080:80 nextcloud I get some random hash. Than I go to localhost:8080 where is set up screen. I fill up all textboxes and ...
3
votes
2answers
25 views

How do I install udeb packages in Debian?

I want to try installing cdebconf-udeb in a Debian Buster Docker container, however apt search cdebconf-udeb turns up empty. How could I try to install this package if I really wanted to. Context I'm ...
-2
votes
1answer
42 views

make: *** No rule to make target … Stop

I failed to compile the below software but ran into an error. wget -c https://sourceforge.net/projects/r8s/files/r8s1.81.tar.gz tar xvfz r8s1.81.tar.gz cd r8s1.81/src make -f Makefile.linux ...
0
votes
1answer
18 views

What are the “/tmp/kerb5cc_<user-id>” files exactly?

I'm trying to figure how kerberos works. In /tmp/ I have bunch of Kerberos files like krb5cc_<user-id>. What are they exactly? Looking into them I find out that they are just some encrypted ...
0
votes
1answer
33 views

Manipulate filesystem image files without loopback devices?

I am trying to automate the creation of Raspberry Pi images under Docker virtual machine to run it in common CI systems like bitbucket-pipelines. On physical system I am using "template" ...
0
votes
1answer
24 views

Escape bash special characters inside double quotes

I'm trying to run the following command from a tutorial: docker run --rm -v $(pwd):/check --network des mongo:4.2 bash -c \ "mongorestore -hmongo -u moAdmin -p <PWD> --gzip --archive=/check/...
1
vote
1answer
39 views

error when installing docker on raspbian stretch

I am trying to install docker on a rpi4 but I have this error when I run sudo apt-get install docker-ce docker-ce-cli containerd.io -y I have Job for docker.service failed because the control process ...
0
votes
0answers
9 views

File hierarchy standard Docker volume mounts

Is there an industry standard coming out as to where we should be storing Docker volume mounts and configuration files, that are external from the docker containers themselves, relative to the host ...
1
vote
0answers
18 views

Possible to share GPU (Nvidia) between QEMU (Windows Guest; HDMI output) and docker containers?

I've been using my Nvidia GPU with docker without any problems (ie. nvidia-docker container/runtime) but I'd like to add a virtual Windows OS (ie. QEMU) to my host (Debian 10.8). Is it possible to ...
0
votes
0answers
24 views

Is it possible to set vm.overcommit_memory =1 only for specific containers?

So, I'm running a container that is showing this in the log: WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = ...
1
vote
1answer
50 views

An “exec bash” works on a bash command line, but not in a script. The tool refuses to respond: “provided file is not a console”. What workaround?

I would like to send a command to a Rancher container to learn about its files. When I run it on a bash command line : rancher --url ... --access-key ... --secret-key ... --env 1a5 exec 1i845011 bash -...
0
votes
0answers
7 views

Catch Seccomp Violation of Docker Container

I would like to catch any violations of prohibited systemcalls a container, started with a seccomp profile, executed. For example, my profile defines chown as blocked, which is also prevented within ...
1
vote
1answer
58 views

Install srvadmin-hapi package on docker container

I'm attempting to install the Dell openmanage tools on an ubuntu 20.04 docker container and I'm running into some issues. Dell's provided guide: echo 'deb http://linux.dell.com/repo/community/...
0
votes
0answers
13 views

Cannot access minikube cluster from docker container

I have a Minikube cluster with VirtualBox driver and a Docker bridge network with a few containers. I want one of those containers to be able to access the Minikube cluster. In order to do this in ...
2
votes
3answers
97 views

Upgrading PHP within a docker container

So I have a docker container running a PHP 7.2.34 service as follows:- docker-compose.yml version: '3' services: #PHP Service app: build: context: . dockerfile: Dockerfile image: ...
0
votes
0answers
9 views

Docker automatically opens bridge conneciton Debian 10

Debian 10 buster Server has Ethernet and wifi - separate networks enp0s25 192.168.4.0/24 wlp3s0 192.168.1.0/24 Installed python and docker/composer then ran apt-get update now there is br-2501b3fd0 ...
0
votes
0answers
24 views

Prevent docker from creating a reserved path on the host after each reboot

TL;DR How to prevent docker from creating a new path that is normally used by the system as a path for mounting a data partition on the host after each reboot? Detailed description I have set up a ...
0
votes
1answer
8 views

Kubernetes check port opened

My container use tomcat application server and take about less than 10 second to open port 8080 . is there any way on kubernetes LoadBalancer to check port opened before forward requests to that ?
0
votes
2answers
18 views

kubernetes replicaSet shutdown policy

Kubernetes use TERM signal on count down replicaSet . this is so dangerous for my application . I use Tomcat application server and this application server has own shutdown mechanism for terminating ...
0
votes
0answers
16 views

Send cron mail using dockerised postfix

I recently moved postfix into a docker container, with ports 25 and 587 exposed on the host machine. Since doing this, cron on the host machine is now unable to send emails due to No MTA installed, ...
0
votes
0answers
29 views

Can't reach local host from Docker network

My microservices are deployed in a Docker Swarm using a compose file. Docker network 'my_overlay_net' is created. Those services can communicate with themselves and the internet. The problem is, I can'...
1
vote
1answer
29 views

Arch linux in Docker on a free system is running out of space

I am building an archlinux:base image in Docker For Mac on a completely empty Mac filesystem (no spaces issues). Printing a df -h early in the Dockerfile while building, shows this: #6 [ 3/34] RUN df -...
0
votes
0answers
9 views

Mongo docker doesn't restart with volume on Windows

I am trying to run mongo with the compose file below. It runs ok, but only once. After down/up it starts to fail with error 14. Probably I mounted data volume incorrectly. version: '3.1' services: ...
0
votes
0answers
10 views

How to copy and deploy docker image if it can't run in the environment of development machine?

I have the following instructions to build and deploy my docker image: mvn package docker build -f src/main/docker/Dockerfile.jvm -t mycompany/mypackage . docker run -i --rm -p 8080:8080 mycompany/...
2
votes
1answer
107 views

Why systemd-nspawn is slower than docker,podman and qemu?! how to Improve nspawn performance?

Why nspawn is slow compared to docker podman and even qemu?! CPU tasks take twice of the time it takes in docker, podman or qemu Here is a benchmark test I did: First I disabled all the spectre/...
0
votes
0answers
17 views

Writing output of ls using exec to a variable [duplicate]

I am trying to write the output of exec ls to a variable. I am new to bash so probably overlooking something simple. The aim is to check a mount within a docker container and if it comes back with a ...
-1
votes
1answer
70 views

How to install docker-ce in kali-linux?

I tried installing Docker recently, but ever since its installation I cannot update kali-linux anymore. this is the output after i input "sudo apt update" Hit:1 http://dl.google.com/linux/...
0
votes
1answer
21 views

reference s3 in docker run command

I am trying to test a local docker image using content from different s3 buckets and getting: docker: invalid reference format The ec2 can see the s3 buckets and I am able to ls and cp the content in ...
0
votes
0answers
54 views

docker won't start on boot, ports are open w/o process

Using docker 20.10.2 under Ubuntu 20. Deploying a stack w/ docker-compose. When I reboot the host, no container starts automatically even though they have a restart: unless-stopped and restart: always ...
0
votes
1answer
36 views

DNS issues running ARM docker container using qemu on x86

I am trying to run an arm docker container on my x86 machine with the goal to eventually compile an application in a CI build. To my surprise it started out quite promising. I set up qemu-arm-static ...
0
votes
1answer
33 views

Why can I do `docker cp`, but can't do `docker ls`?

If I do $ sudo docker cp c7033ac0fdd2:/home/mydir/myfile.txt . file is copied. But if I do $ sudo docker ls c7033ac0fdd2:/home/mydir/ docker: 'ls' is not a docker command. See 'docker --help' How to ...
0
votes
0answers
63 views

Where does docker store files?

I have created a docker instance and saved some files to home. When I reconnected to an instance, file are there: $ sudo docker start 09d9a9dfe53d 09d9a9dfe53d $ sudo docker attach 09d9a9dfe53d root@...
0
votes
2answers
52 views

French localization in xfce4.12 for Ubuntu 18.04

I'm trying to get an xfce4 (version 4.12) French environment up and running with a "headless" vnc session courtesy of this docker image. If I use the original word for word and just install ...
1
vote
1answer
36 views

Lost Users & Groups

What is happened, if the groups and users were lost in a folder like this ... Result of ls-lsa 4 drwxr-xr-x 6 64055 64055 4096 Jan 12 20:57 . 4 drwxr-xr-x 3 64055 64055 4096 Jan 11 13:25 .. 4 -rw-r--...
0
votes
1answer
35 views

can not install docker-ce in AWS EC2 instance : Error: package: containerd.io (docker-ce-stable) Need: container SELinux

I was trying to install Docker on g4dnx4xlarge, which is a GPU instance. Following the blog posted here original blog, I could not get it run. The error I got is: Error: package: containerd.io -1.4.3-...
0
votes
0answers
64 views

Docker: Restricting inbound and outbound traffic using iptables

We have lot of applications that run on Linux server using Docker. As an example, let us say my application runs on ServerA as a container (Docker). CONTAINER ID IMAGE ...
0
votes
0answers
69 views

CloudLinux 7 with Docker - problem with cgroup devices.list

I have server with CloudLinux and I am trying to run Docker. I installed Docker Engine using official docs for CentOS (https://docs-stage.docker.com/engine/install/centos/). Docker version 20.10.2, ...
0
votes
1answer
28 views

Determine available space on bind mount from inside a Docker container

I have an application inside a Docker container running Debian that has a feature that can import a lot of big files. The application stores the files in a folder on the host that is accessible via a ...
0
votes
0answers
28 views

output a value from a variable in docker image

Trying to pass a variable from a RUN command to a CMD in a docker image. The v variable is passed from value and contains a number, but it does not output when after the container is run. It is ...
0
votes
1answer
89 views

Docker container to serve Laravel in a browser

I'm attempting to spin up a docker container for a laravel app:- Edit Dockerfile.nginx FROM nginx:alpine COPY ./nginx/my-site-config.conf /etc/nginx/conf.d/default.conf nginx/my-site-config.conf ...
0
votes
0answers
33 views

Unix socket not working for docker on QNAP server?

I am unable to access docker on the command line via the normal Unix socket the docker command fails but using the TCP address it works fine. Also the docker.sock file is been created and deleted ...
2
votes
1answer
120 views

Files created by Docker container are owned by root

I've got a Docker image which generates log-like files when errors occur. I've mounted the directory it writes to to my host machine with a bind mount. However, the created files are owned by root. ...

1
2 3 4 5
25