Questions tagged [docker]

Docker - An open platform for distributed applications for developers and sysadmins.

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

How can I send a shell script to execute in a running Docker container?

I have about 24 Docker containers, each running a Java jar. One of my routine tasks is to connect to the host and run docker stats with a few formatting options to check on RAM usage, because every ...
0
votes
0answers
12 views

DF and DU show different usage, but LSOF shows no deleted files

I'm running Docker daemon on an RedHat host and Docker containers are being built here on a daily basis. After a couple of days the mount point reserved for the Docker daemon (/var/lib/docker) fills ...
0
votes
2answers
28 views

There is no top command in docker container

I try to deploy an app in docker container using mcr.microsoft.com/dotnet/aspnet:5.0 image that need to have top command when I try to run top command the following result shown: bash: top: command ...
0
votes
2answers
15 views

How to limit the sum of memory used by a group of docker containers?

I am using the python API of Docker. How can I limit the memory used by a group of Docker containers? (not on Kubernetes but on a regular, vanilla Docker machine). Let's say we have container A and B: ...
0
votes
0answers
70 views

How can I stop `vmmem` process?

I installed docker on windows home which uses WSL2 as a backend. However, ever since I installed a new container on it yesterday my computer fan has been turning on every 5 seconds. I am not sure ...
0
votes
0answers
8 views

Configure ipfs docker container to use path gateway type

I'm running the docker container ipfs/go-ipfs. When i try to open a file via http://localhost:8081/ipfs/QmPrjAHzmWVndeoZDRt9Yon9xTF4afsvAydFTXatzLG1ZQ it redirects me to a subdomain: http://...
-1
votes
0answers
25 views

why does docker-compose up always fail?

I Use docker build just fine, the project then pops up in my docker desktop window. i try docker-compose up and i always then get the same error. However in spite of docker-compose up not working i ...
0
votes
0answers
15 views

X11 performance tweaks

I'm in a RPA project, and one of the tests requires a lot of browser instances opened (160 aproximately). The browsers are run in a docker container, so when I start the test I get 160 docker ...
1
vote
1answer
27 views

How to gracefully shut down a Docker container

I have a docker container running CentOS 7. It is running a script wrapper_script.sh as PID 1. It also has below in the docker compose. CMD ["/wrapper_script.sh"] I tried docker stop on the ...
0
votes
0answers
20 views

Installing WinSCP inside a docker container

I want to install WinSCP.exe inside a docker container, on a Windows base image. The silent installation of the same can be carried out in local machine from CMD as follows : > WinSCP-5.17.10-Setup....
-1
votes
0answers
19 views

Golden Images vs Docker

Using dockerized services. Q1: What does the term Golden Images mean in this context? I would argue, docker images already qualify as Golden Images, since they share a lot of properties (e.g. tailored ...
0
votes
0answers
16 views

'ls' is not showing any files but on opening one of the files with vi editor , ls starts working again

On doing an ls inside my docker container on '/usr/lib64/python3.6/xml/parsers/' I am getting empty result, however the files are readable, I am able to display their contents Files that are supposed ...
0
votes
0answers
23 views

Create a multiple of vsftpd.conf

my vsftpd is working fine but only for one domaine ! that i can create multiple users. So now i want that a can create a vsftpd for a multiple domaine and then i will need to get a multiple config ... ...
0
votes
2answers
27 views

nginx doesn't start in docker, unless manually exec'ing into it and starting

I am fairly new to docker. I have to build a docker file that will start node express server and Nginx as a reverse proxy. but the problem is node server starts but Nginx does not start. when I ...
0
votes
0answers
11 views

Docker: httpd starts before volume is mounted?

I have a simple docker with apache2 installed (with a2enmod cgid) with CMD being: CMD apachectl -D FOREGROUND I run container with: docker run --name app1 -p 8080:80 -v "C:\store\app1\www":/...
1
vote
1answer
26 views

GCSFuse, Docker and Apple Silicon

I just got a Mac Mini with the new M1 chip to use as a dev machine. My app uses gcsfuse. When I attempt to install gcsfuse within the Debian stretch based container using "apt-get install gcsfuse-...
0
votes
1answer
11 views

Login to Docker image running on a remote machine accessed via Bastion proxy

I would like to login to a Docker image that is running on an EC2 instance $INSTANCE proxied by a Bastion host BASTION . My attempt is to use the to parameter of ssh to get to the proxied host $...
0
votes
0answers
15 views

System call failure when executing CI script in Docker

I'm currently setting up GitLab CI/CD. The Runner is installed on a Windows Server 2019 VM which has Docker Engine running. My gitlab-ci.yml looks something like this: variables: GIT_STRATEGY: clone ...
0
votes
0answers
14 views

Ejabberd: Docker-Version certificates

Does anybody know how many days ejabberd docker version renews the letsencrypt certs before expiring? I dont find any infos about that and nothing in the code. It use its own acme to renew it. Thanks ...
0
votes
0answers
10 views

Log TCP Probes for macvlan Docker Containers using iptables

I have a Docker container exposed on the eth0 interface of the host using a macvlan network. When running /sbin/iptables -t mangle -A PREROUTING -p tcp --syn -j LOG --log-level=warning --log-prefix=&...
1
vote
0answers
105 views

Windows 10: cannot run WSL (Ubuntu, Alpine, Docker)

On my laptop (Dell Latitude 5590, Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz[Cores 4] [Logical processors 8], BIOS v 1.16.0), running Windows 10 (10.0.19042), I cannot start Ubuntu any more, nor start ...
0
votes
1answer
23 views

Why can't Docker use aufs or overlay2 on Raspberry Pi

In reference to this question, the only answer states you can't use aufs or overlay2 with berryboot on raspberry pi. I want to know why I can't use at least overlay2?
0
votes
0answers
25 views

IPv6 ULA subnet for Docker with router having different ULA-Prefix

I am currently experimenting / learning a lot of IPv6 stuff as I believe we will see more of it in the years to come. I successfully deployed a working setup using routing with a static, global prefix ...
0
votes
1answer
31 views

How could I make my docker container connect to a proxy?

I am running docker 19.03 on Ubuntu 16.04. There is a V2ray client being built these days. Now I have problems on how to make my container connect to that proxy. I have read some questions on ...
0
votes
0answers
16 views

Docker container has no internet access when docker network bridge is used, unable to create new docker network bridge

I deployed Tomcat as docker container using docker run -d --name tomcatalive -p 9000:8080 -m 1G -e CATALINA_OPTS="$CATALINA_OPTS -Xmx1g" tomcat:9.0.5-jre8 PROBLEM 1: There is no internet ...
0
votes
1answer
17 views

Dockerized Pi-Hole breaks DNS for the rest of the containers. How to fix it?

I just installed PiHole on my Pi4. Cool thing. Now I wanted to write a new docker image which contains a git clone from GitHub which ends in: fatal: unable to access 'https://github.com/…/': Could ...
0
votes
1answer
20 views

How to connect to a VNC server running in a Linux Docker container?

How do you connect to a VNC server running inside a Docker container, from Linux? I built and ran a Docker container based on this configuration, which creates a full Gnome desktop. It built and ran ...
1
vote
0answers
11 views

Running emacs (gtk) through X410 from WSL Docker - program exits when idle

I've started trying to use Docker for my daily development environment to make it easy (in principle) to work from any arbitrary machine without a lot of setup fuss. My environment is based on Emacs+...
0
votes
0answers
11 views

Kali Linux Docker Image loses his CLI style after mounting a volume

I've just pulled the kalilinux/kali-rolling image from Docker Hub and run, I really like his CLI style (the one with two linking lines, red text and the replacement of "@" with a skull). ...
0
votes
0answers
14 views

How to run zimDump from Docker on Windows 10?

I'm using Docker on Windows 10 for openzim/zim-tools. Then I want to use the command zimDump [options] zimfile, i.e., zimDump -D "C:\Users\Akira\Downloads\zim" "C:\Users\Akira\Downloads\...
0
votes
0answers
8 views

How to prevent docker container from accessing my local network?

I have some website in Docker containers running on my NAS and exposed to the outside world via port forwarding. I thought that is rather save, because even if the container gets hacked, no big deal. ...
3
votes
1answer
108 views

How can I reassociate a Docker volume with a container after docker system prune?

I ran docker system prune, forgetting about a particular Postgres database whose contents I still wanted. I think I probably still have the volume in macOS's Docker virtual machine. However, I have no ...
0
votes
1answer
23 views

What conditions does docker swarm use to redirect to a container?

I am using docker swarm with multiple notes and multiple instances of one docker image. As far as I know is there no influence about which container I interact with after a request. But how does the ...
1
vote
1answer
238 views

Ansible - Python - Docker: Module not found docker / docker-py — WHY No module found error is coming in Python prompt and in Ansible

Ansible 2.8.3 When I run my playbook, I see the following error. TASK [deployer_role : Creating network] ************************************************************************************************...
0
votes
1answer
26 views

Is nvidia-docker “outdated”? Are there cases where a *new* project would still rely on nvidia-docker?

Is nvidia-docker "outdated"? Latest release at the time of writing is September 2020. I guess that only docker is used nowadays, and not nvidia-docker? Or are there still cases where a new ...
0
votes
0answers
22 views

WSL export returning error while exporting docker-desktop-data

I am trying to free some space on my C driver by moving Docker For Desktop images and data to another driver. I've found out, that due to me using wsl2 compability I cannot simply move directory ...
0
votes
1answer
22 views

shellcheck vs. Docker

Until now I used to stop all running Docker containers like this: docker stop $(docker ps -q) Now that I've used shellcheck, it told me this: Quote this to prevent word splitting.shellcheck(SC2046) ...
0
votes
1answer
26 views

Dockerfile: how to create a new image from the last layer of another image

I do not fully understand the official guide "Use a previous stage as a new stage" at Use multi-stage builds. There, the example is: FROM golang:1.7.3 WORKDIR /go/src/github.com/alexellis/...
0
votes
0answers
32 views

How to install grype in windows 10

I want to install Grype in windows 10 but finding it difficult to install as directed. It will be helpfull if get the installation process of grype in windows 10. After installation i want to run ...
6
votes
0answers
6k views

Docker: “failed to get console mode for stdout: The handle is invalid.”

When running docker-compose up in Windows PowerShell using Docker Desktop on WSL2, I get Creating network "test_default" with the default driver Building master failed to get console mode ...
0
votes
0answers
15 views

How do you allow SSH connections to the host terminal and a dockerized Gitlab instance on the same machine?

I'm currently setting up an Ubuntu 20.04 server with a Docker Engine which runs a self-hosted Gitlabinstance. I want to be able to connect to the host's terminal via SSH and I want to be able to ...
1
vote
1answer
330 views

Qbittorrent docker webui: nothing happen on default password

When I enter admin/adminadmin it just clears up all fields without any error msg, no webui appears just same login screen. When I deliberately enter wrong password, then error msg appear ("...
1
vote
2answers
282 views

Dockerfile: clone repo with passwordless private key. Errors: “authentication agent” or “read_passphrase: can't open /dev/tty”

I try to clone a test project from GitLab using a Dockerfile and an SSH key pair: ssh-keygen -t rsa -P "". The private key is passwordless, the public key is published at the GitLab account. ...
0
votes
0answers
44 views

Docker: Error while connecting to remote docker - “error during connect: Get http://docker/v1.24/images/json: malformed HTTP status code ”pid“ ”

My windows machine was recently upgraded to Windows 10 20H2 and I can't connect to the docker running on my Ubuntu machine (20.04) using both docker context or by setting the DOCKER_HOST anymore. I ...
0
votes
1answer
13 views

How to cancel download Docker installer?

When I click "install" button, vscode docker extension begins to download the Docker installer. How to cancel it? There is no "cancel" button.
0
votes
0answers
45 views

Exposing a docker container to the internet

I deployed a ghost blogging platform on my server using docker. Now I want to expose it to the internet but I'm having some difficulties doing so. I opened port 8080 in my router a forwarded it to ...
0
votes
0answers
30 views

Fail2Ban and Docker Network Bridge - X-Real-IP

/etc/fail2ban/filter.d/caddy-4xx.conf [Definition] failregex = ^<HOST>.*"(GET|POST).*" (404|444|403|400) .*$ ignoreregex = /etc/fail2ban/jail.local [caddy-4xx] port = ...
0
votes
2answers
84 views

docker image rm command doesn't work with hanging

Disk usages of some of my servers are 100%, so I'm trying to remove unusing docker images to get some disk space. Other than one server, docker image rm command worked fine. But for a certain server, ...
0
votes
0answers
4 views

Another subnet Docker Network Bridge

I have created another docker network bridge and installed docker apps inside. Remote IP of clients are not passed by X-Forwarded-For and it is docker thing unfortunatelly. All logged IPs are the same ...
0
votes
0answers
70 views

How to connect Etherpad with Odoo on Docker without Cross-Origin Resource Sharing (CORS) error?

Setup Installing Docker version 20.10.5, build 55c4c88 on Ubuntu 20.04.2 LTS following How To Install and Use Docker on Ubuntu 20.04 | DigitalOcean Pulling Odoo with PostgreSQL based on How to Setup ...

1
2 3 4 5
29