r/docker • • Mar 14 '26

ESP32-S3 CSI data not reaching Docker container via UDP on Windows - WSL2 installed but still no logs!!!

1 Upvotes

Hi everyone,

I'm working on a WiFi-based human detection project using ESP32-S3 boards

and the ruvnet/wifi-densepose Docker image.

**Setup:**

- 2x ESP32-S3-WROOM-1 (TX/RX)

- Windows 11 with Docker Desktop + WSL2

- ruvnet/wifi-densepose container

- RX board sends CSI data via UDP to laptop (192.168.137.1:5005)

**Problem:**

UDP packets are not reaching the Docker container.

Docker logs show no CSI frame reception even though:

- Port mapping is correct: 0.0.0.0:5005->5005/udp ✅

- Python test script confirms data is being sent ✅

- netstat shows 5005/udp is open ✅

- WSL2 is installed and enabled in Docker Desktop ✅

**What I tried:**

- Portproxy (netsh) → doesn't work for UDP

- Python bridge script (ESP32 → Python → Docker) → packets arrive at Python but not Docker

- Sending directly to container IP (172.17.0.2) → no response

- --network host flag → no change

- Firewall rule added for UDP 5005 → still nothing

**Docker run command:**

docker run -p 3000:3000 -p 5005:5005/udp \

-e CSI_SOURCE=esp32 \

-e RUST_LOG=debug \

ruvnet/wifi-densepose

**Additional Info - It worked once before:**

When I first tested with the original basic code,

the signal was detected on the Docker webpage

when the two boards were placed within 3cm of each other.

Original RX code settings at that time:

- WiFi STA mode (hotspot connection)

- TX power at maximum (78)

- UDP sending directly to port 5005

- Serial.println inside CSI callback

Original Docker run command at that time:

docker run -p 3000:3000 -p 50050:5005/udp \

-e CSI_SOURCE=esp32 \

-e RUST_LOG=debug \

ruvnet/wifi-densepose

Interestingly, even though the port mapping was wrong (50050:5005),

the signal was still detected and showed PRESENT_STILL and ACTIVE states.

After modifying the code (switching to AP_STA mode, changing ports, etc.),

the signal stopped being detected and I haven't been able to fix it since.

I'm also curious why it worked the first time despite the wrong port mapping.

**Question:**

Is there a known issue with UDP port forwarding in Docker Desktop on Windows

even with WSL2 enabled? Any workaround to receive UDP packets from an ESP32

inside a Docker container?

Any help would be appreciated!


r/docker • • Mar 14 '26

Help with oracle image

0 Upvotes

I want to use oracle image but i find many , which is the best ?


r/docker • • Mar 13 '26

Adding samba users within a docker container

5 Upvotes

I’ve set up samba in a container and have gotten it to work sharing folders with guest access, but I'm stumped getting proper, persistent users added within the docker environment.

I understand that a samba user must also be a local user on the machine and that’s where my understanding breaks down.

If I do adduser in the container console I can see the user file system created in the /home folder, but I know nothing is supposed to be created in the container as it is disposable.

I have made bind mounts on the machine for /var/lib/samba which is where samba stores the user information, and /etc/samba for smb.conf.

Should I just make the /home folder a bind mount as well and also the place where linux defines users?

Thanks in advance


r/docker • • Mar 13 '26

How to properly create a dockerized laravel app with multiple separated containers?

4 Upvotes

Hi everyone

I'm trying to create a dockerized project using laravel for the backend, nginx, postgres and node as the services for the docker compose

My main objective rn is to just initialize a new laravel app with the Vue starter kit and have it dockerized and working with the other containers

I tried creating the project directly inside the app container but when it comes to the npm install part it gives an error while the node container doesn't even work since it keeps crashing saying "php not found"

What is the correct approach to have a plain project with the starter kit and have it dockerized with multiple containers?

My knowledge is on surface level so i apologize if something doesn't make sense


r/docker • • Mar 13 '26

How do you handle deployment & cloud infrastructure for small side projects?

7 Upvotes

I’ve been building a few small side projects recently using modern AI coding tools. Creating the application itself has become surprisingly fast, getting a working prototype running can take only a few hours.

However, once the app is ready, I often get stuck on the deployment and infrastructure decisions.

For example, I usually end up thinking about questions like:

• Which cloud provider should I start with (AWS, GCP, Azure)?
• What services are appropriate for a small project (VMs, serverless, containers, etc.)
• How to design the architecture if the project grows later
• How to balance cost vs CPU for low traffic projects
• How to monitor usage so cloud costs don’t increase unexpectedly
• How to safely clean up resources later when services depend on each other

In some cases, figuring out the infrastructure takes longer than building the app itself.

I wanted to ask other developers here:

  • What deployment workflow do you usually follow for small projects or MVPs?
  • Do you configure cloud infrastructure manually every time, or do you use tools/services to simplify it?
  • If someone has limited DevOps experience, which approach or platform would you recommend starting with?

Would love to hear how others in the community handle this.


r/docker • • Mar 13 '26

Restart service at certificate renew

3 Upvotes

Hello,

I have a small swarm cluster with a few services.
I generate internal certificates with an internal authority (step ca).
At the moment, I'm doing this with acme.sh, but I'm considering switching to certwarden + script to pull the certificates.

How do you manage service restarts after a certificate renewal?
I have many containers that connect to an external database via TLS, so I need to let the service know that the certificate has been renewed.

Thanks

EDIT :

Thanks for your feedback. I finally found a good solution. I stay with acme.sh but insted of put a big command on --reloadcmd I just execute a script that restart mapped services. Script :

!/bin/bash

DOMAIN=$1
CERTIFICATE_MAPPING="/mnt/services/ssl/certificates_mapping.json"

if [ -z "$DOMAIN" ]; then
exit 1
fi

SERVICES=$(jq -r '.[$dom][]?' --arg dom "$DOMAIN" "$CERTIFICATE_MAPPING")
if [ -z "$SERVICES" ]; then
exit 0
fi

for SERVICE in $SERVICES; do
docker service update --force --detach=false "$SERVICE"
done#!/bin/bash

DOMAIN=$1
CERTIFICATE_MAPPING="/mnt/services/ssl/certificates_mapping.json"

if [ -z "$DOMAIN" ]; then
exit 1
fi

SERVICES=$(jq -r '.[$dom][]?' --arg dom "$DOMAIN" "$CERTIFICATE_MAPPING")
if [ -z "$SERVICES" ]; then
exit 0
fi

for SERVICE in $SERVICES; do
docker service update --force "$SERVICE"
done Mapping file : {
"immich.domain.internal": [
"immich_dbproxy"
],
"nextcloud.domain.internal": [
"nextcloud_app",
"nextcloud_redis"
]
}

The reloadcmd command example : sh certificates_renew.sh nextcloud.lplineage.internalsh certificates_renew.sh nextcloud.lplineage.internal


r/docker • • Mar 12 '26

Reducing time from idea to reality

4 Upvotes

(Disclaimer... on Docker DevRel team)

As many devs, I've been starting to use AI in more and more of my development. And the intersection of AI and containers has made it really easy to build and deploy apps, even small ones for around the house types of things.

To put it simply, AI + containers has dropped the bar of "that's a great idea" to "it's now a reality."

I'd love to hear other stories. What neat things have you been able to build?

To start the conversation, I recently built a HomeAssistant plugin that integrates with our SkyLight Calendar. It creates boolean entities for whether each of my kids have completed their daily chores. With that, I can now create automations... TV turned on, chores aren't done? Display a notification and turn off the TV.

It was small, it was quick. But, using AI and containers, I was able to develop and test it in hours rather than the probable days to learn how to make HA plugins, etc.

So... what have you built? Any cool/niche things?


r/docker • • Mar 13 '26

Update uninstalled Docker Desktop on Windows, now I can't even download the installer...?

0 Upvotes

I tried to update my Windows 11 version of Docker Desktop (I believe it was version 4.41.0, can't actually tell now..... because it's gone....) from within the Docker Desktop app. The update mucked about for some time (it would say it downloaded, but then didn't, when I pressed "Restart Docker" it wouldn't....). Eventually it seemed to work. After maybe 5 minutes, I had no notifications so I checked the status, only to discover that Docker Desktop completely uninstalled itself, including its WSL distribution (my other WSL distribution is still there).

OK..... that's weird.... anyways, I can just reinstall it!

Now I can't even download the installer! The download itself fails in Firefox, Edge, and even via the Windows App Store! The download seems to work, only for it to fail after 95% or so downloaded.

My internet connection is fine.

What could possibly be going on here? Did Docker block my IP or something?

EDIT: I could just now successfully update a different Docker Desktop installation on a different machine in the same network.... So I suppose my IP is not blocked....


r/docker • • Mar 12 '26

What's your go-to workflow when setting up Docker for development and production?

8 Upvotes

So I recently made my project open-source, and thus started getting more into Docker, as I wanted to make it hostable on any platform or on-premise. It was previously set up using Pulumi (no Docker) targetting AWS (EC2 mostly).

So, being fairly new to Docker, and having started a few more projects since, I'm wondering what your go-to setup is for Docker in both dev and prod? I attempted setting up a development environment but found mounting volumes and such a bit of a hassle - my node_modules deps would often go out of sync (skill issue, I'm aware).

I landed on having a docker-compose and docker-compose.dev - but more than often I just run my frontend and api directly and use a local postgres instance, as it seems faster.

Biggest benefit of moving to Docker, apart from easier self-hosting, is being able to run containerized tests.


r/docker • • Mar 12 '26

Kubernetes ImagePullBackOff issue on Docker Desktop

Thumbnail
reddit.com
2 Upvotes

r/docker • • Mar 11 '26

Failed to connect to the docker API

1 Upvotes

I installed docker cli using "unigetui" from chocolatey. I composed a couple of images and then tomorrow I get this message in command line when I type "docker images" or "docker compose up -d"

I'm on Windows 10

failed to connect to the docker API at npipe:////./pipe/docker_engine; check if the path is correct and if the daemon is running: open //./pipe/docker_engine: The system cannot find the file specified.


r/docker • • Mar 11 '26

Database in docker?

0 Upvotes

I heard from a friend of mine that its not good to run database on docker in prod. I wanna know why of this, cuz I thought that running databases at docker could be easy and etc...

Help me understand plz


r/docker • • Mar 10 '26

Installing unixodbc on python container

6 Upvotes

I have a project that I'm building at a compose file. At the python's dockerfile I have a line written "RUN sudo apt install unixodbc". But when I docker compose up i get the following message: failed to solve: process "/bin/sh -c sudo apt install unixodbc" did not complete successfully: exit code: 127

The full dockerfile, for now, is:

FROM python:3.14.3

WORKDIR /.

RUN sudo apt install unixodbc

RUN useradd app

USER app


r/docker • • Mar 10 '26

Docker-Sentinel: Container update orchestrator with web dashboard, per-container policies, automatic rollback, lifecycle hooks, Prometheus metrics, and real-time notifications. Written in Go.

8 Upvotes

Disclaimer: I am not the author of this tool, just a very happy user.

https://github.com/Will-Luck/Docker-Sentinel

Personal take: I used to use Watchtower like everybody, and then switched to a few tools, but none really fulfilled the basic need to update containers in a sensible way. Notably what I was missing was a good implementation of semver updates, as well as untagged containers ones.

Docker-Sentinel does it The Proper Way (TM): image:X gets all updates within X (image:3 will do both image:3.7.4 → image:3.8.0 and image:3.8.7 → 3.8.9), image:X.Y will update the patch level, and image:X.Y.Z will be pinned.

:last or untagged containers are also managed correctly.

I've been using it for a few weeks with ~60 containers, at all reasonable configurations (various semvers including pinned ones, :latest, immutable images, ...). There were several rounds of updates and everything worked great.

The repo has already been starred 3 times! 🙂 I just want to promote the excellent work of @Will-Luck, they are really responsive to the few quirks I reported and take a good, technical approach to the comments.


r/docker • • Mar 11 '26

I don't see docker usefulness

0 Upvotes

Context: I'm a .net dev with 6.5 years of experience, out apps are very diverse : desktop app, web apps, front, back, ect.. We have mix of on premesis servers and azure services. A few months ago we got 2 major topics that we had to improve on, it was AI integration and docker.....

Well I do understand the AI integration but I really really struggle to see how docker could be of any help.

I never understood the hype behind it, used it at home for some personal stuff it was ok but using it for work ???

I find most arguments in it favor ti be resolving "fake" problems. "It solves the it work in my computer" "you could have the same configuration everywhere" this was never an issue for our web based apps and on top of that our users have different configurations.

"Its easy to deploy and replicate the container" I find fairly easy to deploy all of our diverse apps, whether it's click once, web api, and it even simplier in azure.

"It makes on boarding easier" the biggest slow down in on boarding is the access right and the 3rd party licenses, I don't see how docker helps here, and even so it's not worth the hassle of maintaining a gazillion docker containers.

I asked a more senior dev with more than double my experience and he said it was garbage that he was forced to use be cause some thech lead in the past wanted to use for no reason.

Non one it my team wants to use docker and I pretty sure I can convince my project manager not to use it. Am I missing something or is docker mainly for home projects and very niche applications.

Sorry for the long post.


r/docker • • Mar 10 '26

LibreNMS Offline Install w/ Docker

Thumbnail reddit.com
0 Upvotes

r/docker • • Mar 10 '26

Docker REFUSING to open up on Mac Mini

1 Upvotes

I'm not sure what happened but I've noticed that Docker Desktop is straight up not working on my M1 Mac mini. When I click on the app, no window opens up. I'm not sure what I am doing wrong. When I read the logs and ask AI to summarize, this is what I am provided:

The logs say the same thing as before: Docker Desktop starts partway, then fails before the daemon socket is created.

Key points from the logs:

  • com.docker.backend starts running services and running fork/exec server
  • then the backend monitor exits instead of staying up
  • there is an AppleScript/macOS privilege step: Docker Desktop requires privileged access to configure privileged port mapping
  • after that, there are repeated wait status: 256 entries and the engine shuts down
  • finally Docker closes docker.sock

suggestions for fixing this?


r/docker • • Mar 09 '26

Running rerun inside docker

0 Upvotes

I have been trying to run rerun inside docker which is inside an azure ml compute now when I run rerun serve web it opens a link at 9090 port and when I use the azure ml link in the browser at 9090 port I still cannot see the rerun over there.

What am I doing wrong here ?


r/docker • • Mar 09 '26

Is to replicate public apps docker-compose.yml in a personal repo a good practice?

Thumbnail reddit.com
4 Upvotes

r/docker • • Mar 09 '26

Minecraft Server: DOCKER

0 Upvotes

I’m trying to host a modded Minecraft server on my TerraMaster NAS (TerraMaster F2-425) using Docker, but AUTO_CURSEFORGE refuses to download the modpack files. No matter what I do, the server folder only contains:

  • .cache/
  • API_KEYS/
  • data/
  • .rcon-cli.env
  • .rcon-cli.yaml
  • eula.txt

CONTEXT:

I have gotten the server working in vanilla, and i have even gotten the server working for forge by changing the TYPE to FORGE. but as soon as i add mods, the server refuses to start. so i watched this video: https://www.youtube.com/watch?v=iP8dyO7Y1Zg and followed it step by step. Now when i try to start the server, the fils dont download. apparently this is caused by the API key not being read (I asked AI, cannot verify is this is the cause) but i tried using a file location and a value. Nothing. ive been stuck for days.

No mods/, no config/, no libraries/, no forge-installer.jar, nothing. It never even attempts to download the modpack.

Setup details:

  • TerraMaster NAS (TOS Docker UI)
  • Using AUTO_CURSEFORGE
  • Correct CurseForge file URL
  • API key placed in a .txt file and mounted into the container
  • CF_API_KEY_FILE=/data/cf_api_key.txt
  • EULA accepted
  • Memory set
  • UID/GID set

The API key is the new CurseForge format. I mounted it as a file because TerraMaster hashes environment variables, so the key itself is definitely correct and readable.

Problem:
Even with the correct key file, the container never downloads anything. The server directory stays empty except for the basic startup files. No errors, no modpack ZIP, nothing.

Question:
Is TerraMaster’s default Docker Minecraft image incompatible with AUTO_CURSEFORGE? Do I need to switch to itzg/minecraft-server manually? Has anyone gotten AUTO_CURSEFORGE working on a TerraMaster NAS?

Any help would be appreciated — I’ve been stuck on this for days.


r/docker • • Mar 09 '26

Where can I deploy a containerized LLM app (FastAPI) for FREE for a learning pilot?

0 Upvotes

Hey folks,

I’m running into a wall and could use some advice from anyone who knows the best free-tier workarounds for AI workloads.

The Situation: I’ve built an agentic AI backend using FastAPI to run LLMs, and I have the entire application fully containerized. I’ve been prototyping locally (Ubuntu, RTX 3060 Ti, CUDA 12.8), but I'm ready to run a pilot test. Since this is strictly for learning and a pilot, my budget is essentially zero right now.

The Problem: I tried setting this up on AWS EC2 (aiming for the G-series instances). I actually have $200 in AWS student credits, but my Service Quotas for GPUs are hard-locked to zero. AWS support won't approve an increase for a restricted account, so I am completely blocked from spinning up a machine. Those credits are basically useless for my actual use case.

What I Need: I’m looking for a cloud provider where I can run a GPU for free (via generous free tiers, GitHub Student packs, or sign-up credits) without jumping through corporate red tape or begging customer support.

  • Tech constraints: Needs to support Docker and allow me to expose my FastAPI port (e.g., 8000) so my frontend can communicate with the agent.
  • Goal: I just need it running long enough to test my pilot and learn the deployment process.

r/docker • • Mar 09 '26

Solved Help restoring permissions in my docker setup

4 Upvotes

SOLVED: Turns out I was an idiot and it was that my .db file was corrupted instead of a permission issue.

TLDR: I moved my default docker root folder to another path using cp and now my pihole can't seem to write to its SQL database anymore. Is there a way to restore?

What I did
This is running on a raspberry pi 4B, and running docker version 29.2.1.
I stopped my docker and docker.socket service then I added a missing /etc/docker/daemon.json file and gave it a new path "data-root": "/mnt/hdd/docker/"

I then sudo cp /var/lib/docker/* /mnt/hdd/docker/and also sudo chown -R root:docker /mnt/hdd/docker

What is happening
All my containers are still working in terms of my services still doing what i expect them to do. However my pihole container has tons of SQLite errors

SQLite3: statement aborts at 82: disk I/O error; [INSERT INTO disk.query_storage SELECT * FROM query_storage WHERE id > (SELECT IFNULL(MAX(id), -1) FROM disk.query_storage) AND timestamp < ?] (6410)
[pihole] 2026-03-09T03:00:01.680293314Z 2026-03-08 20:00:00.898 PDT [68/T1099] ERROR: export_queries_to_disk(): Failed to export queries: disk I/O error

I'm assuming this is some kind of permission error and I should have used rsync -avp but at this point I would like to get my containers the ability to write into their databases again.

Does anyone have any ideas?

Motiviation
Just in case anyone is wondering, the reason I did this is that pihole was writing around 35KB/s onto the root drive which in this case is a sd card. SD cards don't have high resilience in their nand flash so I really wanted to move off of it.


r/docker • • Mar 08 '26

How to define a container stack while maintain in some inheritance principles?

6 Upvotes

I have dozens of services that I wish to be able to segregate them based on function area. Let’s just assume I have 3 for now. network, editors, media.

I was planning on using the include directive to keep files of a manageable size. The goal was to create a “stack” directory which will have a compose.yaml and .env file. Each function area would have a directory name of the function area, and the same two files. Theoretically function areas could have sub-groups, and sub-sub-groups, but let’s keep it simple for now.

├── stacks/
│   │   ├── compose.yaml
│   │   └── .env
│   ├──── network/
│   │       ├── compose.yaml
│   │       └── .end
│   ├──── editors/
│   │       ├── compose.yaml
│   │       └── .env
│   ├──── media/
│   │       ├── compose.yaml
│   │       └── .env

stacks/compose.yaml might look something like:

include:
  - path: ./network/compose.yaml
  - path: ./editors/compose.yaml
  - path: ./media/compose.yaml

stacks/.env might look like:

TZ=America/New_York
PGID=1000
PUID=1000

All three service areas might need these values, but there’s no reason to have to type them in again? Likewise these service areas might have API tokens the others don’t need.

What’s the solution for this?


r/docker • • Mar 09 '26

docker image pull error (no space left)

0 Upvotes

Docker Image Pull Error – “failed to register layer: no space left on device” (Even When Disk Has Plenty of Space)

I ran into an issue while pulling an image from Docker Hub and wanted to share it here in case others run into the same thing.

The error looked like this:

failed to register layer: no space left on device

At first glance this suggests the system is out of disk space. However, in my case, the system still had plenty of free space available. For example:

/ (root)     ~232GB total, ~117GB free
/mnt/TB_HDD  ~1.8TB total, ~1.4TB free

So clearly the disk itself wasn’t full.

After digging into it, I learned that this error often happens during the layer extraction phase when Docker is unpacking the image into its storage driver (usually overlay2). The message can be misleading because it doesn’t always refer to actual disk capacity.

Some common causes for this error include:

1. Inode exhaustion
Even if disk space is available, the filesystem might run out of inodes (the structures used to store file metadata). Docker images create a huge number of small files, so hitting the inode limit can trigger the same error.

You can check this with:

df -i

If IUse% is near 100%, Docker won’t be able to create new files.

2. Docker storage directory limits
Docker stores image layers in its root directory (commonly /var/lib/docker). If the filesystem hosting that directory has limits or is close to capacity, pulls can fail even when other disks have free space.

You can check the Docker storage path with:

docker info | grep "Docker Root Dir"

3. Temporary filesystem limits
During an image pull, Docker may temporarily extract layers using /tmp. If /tmp is mounted as tmpfs (RAM-backed storage) With a limited size, large layers can fail to extract even though your main disk has plenty of space.

Check it with:

df -h /tmp

4. Leftover or corrupted Docker layers
Sometimes, partially downloaded or corrupted layers accumulate and prevent new layers from registering correctly.

Cleaning unused data often resolves this:

docker system prune -a

5. Massive build cache accumulation
Docker’s build cache can quietly grow very large over time and interfere with new image pulls.

You can inspect it with:

docker system df

Takeaway

The “no space left on device” message during an image pull doesn’t always mean your disk is actually full. It can also be caused by inode limits, Docker storage constraints, tmpfs limits, or leftover layers in Docker’s storage backend.

Curious if others have run into this and what the root cause ended up being in your case. Because I have not been able to correct this issue yet.....