Questions tagged [docker]
Docker - An open platform for distributed applications for developers and sysadmins.
1,616
questions
-1
votes
0
answers
9
views
Install Docker Desktop in Ubuntu
I have installed Docker according to manual to my Debian Odroid PC. But command below does not bring Docker Desktop:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
...
0
votes
0
answers
5
views
How can I establish a Client-Server interaction between containers and their local host machine?
I am writing a simple Unity3d desktop application that has a client-server side model. I'd like to dockerize client side within a container (there's a reason for this btw). But issue is, how would I ...
0
votes
0
answers
12
views
Deploy docker app and nginx reverse proxy
I have a docker app and it works on http:// localhost:8000. This app also works on http://my_domain.com. I would like to run my docker app through nginx reverse proxy. Therefore, I have done the ...
0
votes
0
answers
10
views
Docker Desktop not starts
Docker desktop application does not start anymore on my Windows PC. Docker Desktop application is trying to start for very long period. Finaly I'm getting message: Docker Desktop stopped...
How to fix ...
0
votes
0
answers
6
views
Why COMPOSE_PROJECT_NAME is not visible from --env-file?
I deploy my stack with command docker-compose --env-file up --detach, but specified project name is not assigned. When I set up it as environment variable then it works COMPOSE_PROJECT_NAME=proj ...
0
votes
0
answers
21
views
Docker daemon not starting on embedded
I am unable to run docker daemon on my embedded device using a custom Linux distro (Yocto based). The initialization ends with the following error:
failed to start daemon: Error initializing network ...
0
votes
0
answers
9
views
MySQL tuning-primer script and Docker container
I have MySQL docker container and I want to optimize MySQL server there. I use tuning-primer. However, I could not figure out how to make that script connect to the container via socket In other words,...
0
votes
0
answers
24
views
Installing Kali Linux in Docker and accessing it's GUI over the browser
so I'm pretty new to docker and all that stuff.
I would like to install Kali Linux as a Docker container and access it's GUI from the browser. How do I do that? I use Portainer as a GUI for managing ...
0
votes
0
answers
18
views
Can I put each docker container (including its volumes) in a separate lvm logical volume?
I have various docker-containers and I want to put each of it (including every volumes and anything else) in a separate lvm volume:
openproject-docker => vg-docker/lv-openproject
zammad-docker ...
0
votes
0
answers
26
views
docker without sudo on WSL2
According to https://docs.docker.com/engine/security/rootless/ running dockerd-rootless-setuptool.sh install will let you run Docker without sudo, however, when I try to do it, I get this error:
[...
1
vote
0
answers
11
views
Docker volume has permissions of Docker host user, not container user
I just moved my work data from a partition with Ubuntu to a partition with Fedora (more space).
I'm running a container where the container-user is root and the Docker-host-user is me (id=1000, gid=...
0
votes
0
answers
45
views
Why unable to verify local issuer certificate? (https calls for google)
I am using docker desktop to run a simple node:16-alpine through mac. Which I added a ca-certificates, curl and openssl.
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.15/...
0
votes
1
answer
37
views
Install Docker for Windows Containers on Windows 10 without Docker-Desktop
I want to set up a build server on windows with a gitlab-runner to build WPF applications for our company.
Everything should run neatly in docker containers, thus I need to install docker on windows, ...
0
votes
1
answer
11
views
Docker Swarm - Containers can ping between nodes, cannot communicate over TCP ports
I'm setting up a new Docker Swarm mode cluster on three Linux machines - all brand new installations.
All three machines have their firewalls and security modules (AppArmor) disabled and I could ...
1
vote
1
answer
23
views
WSL ubuntu files recovery
I have WSL with Ubuntu distribution installed on Windows 10 machine. Today Domain account is changed and I restarted my machine and logged in. Since then I do not see ubuntu in the terminal preview ...
0
votes
1
answer
11
views
what is the docker-compose.exporters.yml in this repo and how to call it?
I was reviewing a repo for a monitoring system and I saw a docker composer like this\
Repo link
I ran the project as usual by docker-compose up, but I want to know what is docker-compose.exporters....
0
votes
0
answers
13
views
xdebug over docker-traefik and WSL2
Error: listen EADDRINUSE: address already in use :::9003
at Server.setupListenHandle [as _listen2] (node:net:1334:16)
at listenInCluster (node:net:1382:12)
at Server.listen (node:net:1469:...
1
vote
0
answers
84
views
Is there any way to have Windows containers using Hyper-V?
I want to have some isolated Windows containers preferably using built-in Hyper-V, on my Windows 10 Pro 21H2 machine. First I looked at the Windows Sandboxes. However, it appears as if Microsoft is ...
0
votes
1
answer
12
views
How do I add export CLI='docker run -it --entrypoint cardano-cli -e NETWORK=testnet ...' so I can run CLI on Mac OS Monterey zshrc
I have tried adding the following
export CLI='docker run -it --entrypoint cardano-cli -e NETWORK=testnet -e CARDANO_NODE_SOCKET_PATH=/ipc/node.socket -v cardano-node-ipc-testnet:/ipc inputoutput/...
0
votes
0
answers
40
views
Docker with systemd and systemctl
I want to make a docker container that can run systemctl and systemd commands.
I am new to docker and never have I ever learnt about docker.
I have a docker file but dont know where should i place ...
0
votes
0
answers
20
views
On Windows 10, how can I know which app is consuming my memory?
I have 32G memory on my PC, which is extremely large.
I ran docker in windows.
I found my memory usage is extremly high (90%),
I closed all my programs.
and I found 59%+ memory usage, wait for a night,...
0
votes
1
answer
28
views
Is it possible to overwrite or shadow a mounted file in a Docker container
I have a Docker image that contains two configuration files and merges them using sed depending on the passed environment variables in the entrypoint script. To simplify this merge step, you can ...
0
votes
0
answers
15
views
Could not backup all of docker container, i.e. data & configurations
I have MySQL Docker containers running well on a host with the following docker inspect mysql output:
[
{
"Id": "...
0
votes
1
answer
26
views
Unable to run project on Docker from Visual Studio
So after many hours banging my head I decided to write.
I started a very simple console project on VS2022
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType&...
0
votes
0
answers
53
views
Docker is limiting the network speed when the host OS is idle
Something weird is happening with my containerized torrent download speed.
I tested with deluge and qbittorrent within a docker container.
When I start a download it starts fast, then it slows down ...
0
votes
2
answers
67
views
How to set up dnsmasq under linux to use a wildcard domain for local web development with lando/docker?
I recently discovered lando for local web development, which uses docker in the background. It works great so far, but I have to add every domain for each project manually to my hosts file
/etc/hosts:
...
-1
votes
1
answer
37
views
Unable to use networking (apt-get) in Docker 12.04 under Windows
I must create a Docker container for Ubuntu 12.04.
I am setting up the container into a Windows 10 VM.
To get build tools, I need to get apt-get install to work, but it can't reach its sources.
I am ...
0
votes
0
answers
44
views
rkhunter Apache2 Warning caused by phpmyadmin-Docker-Container
recently we get the following reports from rkhunter:
Warning: The following processes are using suspicious files:
Command: apache2
UID: 33 PID: 11286
Pathname:
Possible ...
1
vote
1
answer
34
views
Linux-based docker containers won’t run as expected on Windows
If I run docker windows containers I can run docker commands ex:
docker ps
I get this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
However if I switch to Linux containers (...
0
votes
2
answers
49
views
Web scraping with python + selenium + multiprocessing in a docker container becomes slower over time
I have built a web crawling solution with python, selenium and multiprocessing which is deployed in a docker container in an EC2 instance (m4.2xlarge type). Whenever I run it with a large input, it ...
0
votes
1
answer
12
views
How to install libnss-mdns in centos7
I have a requirement to migrate a service from Ubuntu image to centos image. I am having problems installing yum install avahi-daemon libnss-mdns services. I found the name of avahi-daemon's ...
-1
votes
0
answers
33
views
Can't ping docker.io [duplicate]
I have WSL2 running ubuntu 20.04 and I can't figure out why my ubuntu machine is not able to ping docker.io but pings google.com
my /etc/resolv.conf content
# This file was automatically generated by ...
0
votes
1
answer
21
views
Docker on Remote Host refused mount request : not exported
I have a windows host (10.10.1.28) I'm trying to connect to NFS shares (10.10.1.17) for docker volumes.
My NFS export /etc/exports
# This file is auto-generated by openmediavault (https://www....
0
votes
0
answers
18
views
Docker CLI's dynamically updating output not rendering as intended in ConEmu
I'm running this docker command in ConEmu terminal, and I'm getting the following output:
>docker-compose up --build
[+] Building 0.0s (0/0) <--\
[+] Building 0.0s (0/0) |
[+] Building 0....
0
votes
0
answers
13
views
Is it possible to access files "shadowed" by a docker mount?
I am running a docker image that has files into a directory /dir.
I wish I could run this image in two different ways :
run it without persistence: the content of /dir is read/write but will be lost ...
1
vote
0
answers
30
views
Docker networking not working with bridged host interfaces
Here's the setup: (docker host is in between to monitor traffic via ntopng)
Router <---> Docker Host <---> PC
<192.168.1.1> <192.168.1.20> ...
0
votes
0
answers
26
views
Is Sysmon compatible with a Windows Docker container?
I'm trying to run Sysmon on a Windows Docker container (via Docker for Windows), but getting errors:
PS C:\Users\jonat\Documents\GitHub\vulhub-lab> docker-compose up --build -d
Building win10
...
0
votes
0
answers
30
views
Adding OpenGL support to a Docker distributed program
I am working with a piece of software, OpenFOAM, which is distributed on Linux under the Docker framework. It has a GUI environment, ParaView, that ideally runs on hardware accelerated graphics. I ...
0
votes
0
answers
14
views
tensorflow ubuntu based docker: caught no-pid connections to kazooie.canonical.co banjo.canonical.com actiontoad.canonical
while working within tensorflow:latest-gpu Docker I caught "no pid" processes keep connecting from "filtered" ports like 42534, 57354, 46066 to kazooie.canonical.co:80 banjo....
2
votes
0
answers
18
views
Issue accessing Docker in Hyper-V Linux VM from browser
On my Windows 11 machine I've created a Hyper-V VM and installed Ubuntu 20.04 on it.
I run an Nginx Docker container on the VM and map port 80 to port 8080 on the machine with the command
docker run --...
0
votes
0
answers
122
views
Allow Docker Container with MacVLAN network to access Wireguard connected remote
I do have two servers:
Server A: a local NAS running RHEL 8.5 (5.17.1 kernel - so it has native wireguard support); local IP 192.168.1.1
Server B: a VPS with debian 11.3 (5.10.0 kernel - also has ...
0
votes
1
answer
65
views
Am I misusing the --name argument for Docker?
This works:
docker run -it mcr.microsoft.com/windows:20H2 --isolation=hyperv
I get a CLI for the container, everything is good.
This doesn't work:
docker run -it mcr.microsoft.com/windows:20H2 --...
1
vote
2
answers
34
views
docker run mcr.microsoft.com/windows/servercore:ltsc2022 -i --isolation=hyperv resulting in errors. What am I doing wrong?
I'm running a valid, licensed copy of Windows 11 Pro.
> docker version
Client:
Cloud integration: v1.0.22
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git ...
0
votes
0
answers
103
views
Why the container in "macvlan" network cannot connect to the Internet?
I just configured macvlan network for testing purposes and after I connected the container to that network I just cannot ping to DNS server of Google (8.8.8.8) from the container, I guess the ...
0
votes
0
answers
50
views
How to mount a cifs Partition for docker-compose?
I want docker-compose to mount one of the volumes to a mounted CIFS partition.
I used the seafile docker-compose file and changed the volumes to
...
db:
...
volumes:
- /mnt/nas_share/...
0
votes
0
answers
22
views
Using docker-compose with multiple actual users on one machine for a single project
A friend and I started working on a project together, and we wanted to try using a single remote dev environment for it.
I created a VM on Oracle's Cloud Infrastructure, and created a user for my ...
0
votes
0
answers
66
views
How to configure docker for windows to correctly route via cisco AnyConnect with split tunnels
I am running Docker Desktop 4.6.1 on Windows 10.
I am connected to a vpn via Cisco AnyConnect 4.10.02086.
AnyConnect has several secured routes defined,
e.g. 10.1.160.0/24
Non-Secured routes is ...
0
votes
1
answer
35
views
Outputting, logging with varnish when using docker-compose, Docker-Desktop
vcl 4.1;
import std;
backend default {
.host = "127.0.0.1";
.port = "80";
}
sub vcl_recv {
std.syslog(2, "debugging : " + req.url);
}
I have this config and ...
0
votes
0
answers
27
views
virtualbox inside docker: usernames and permissions
On a Ubuntu 20.04 machine (a) I have made a virtualbox VM running Windows inside a docker, using this recipe. When I was happy that everything worked, I used docker save to store the whole docker+...
0
votes
1
answer
174
views
Running MariaDB in a container with storage through NFS
I'm trying to run a MariaDB container on a raspberry pi. The container is created through docker-compose and to persist the data I want to use my NAS. To mount a directory from the NAS to the ...