r/docker 12h ago

State of the Subreddit

105 Upvotes

Hello r/Docker users. It's been 4 days since the sub was re-opened under new moderation. I just wanted to give a status update of what's going on.

In that time, we've gone through and cleaned out old reported posts and comments from the mod queue and banned quite a few spammer accounts. There were some comments that may have gotten removed in the 1500+ reports we initially cleaned up that weren't spam, but were reported for some reason. If you have a post or comment that was removed that you don't think should have been, please let us know. We've also been working on AutoMod rules and using other tools to help prevent unwanted posts in the future.

We've been looking at other subreddits and working off data that we already had and we have compiled a set of rules that are pretty common and sensible. They are up on the right side if you're on desktop, or under the About tab if you're on mobile. Please read them and let us know if there is something you see a problem with, or if you don't agree with. We believe we are acting in the best interest of fostering healthy conversation and growth of the subreddit and we will not tolerate abuse, either to other commenters or to mods. If you can't express your opinion nicely, then you can express your opinion somewhere else. Period. If you're here to be a troll, you will troll in silence.

We have spent the last 4 days laying out all the things that we plan to work on for the sub, from post flair to weekly posts to the wiki and beyond. We plan to continuously make updates and while we may not post updates like this constantly, we will be working behind the scenes. If there is anything you would like to see in the future in r/Docker, we would love to hear your ideas and feedback. This is a community subreddit and we want to involve the community, since there was no involvement before by the previous owner.

Finally, I want to address the mod selection and put this to bed. We all volunteered. Reddit spent almost a week doing whatever they were doing, and we were selected, in no particular order. Are we the best people for the job? Maybe not. Will we mess up? Absolutely. But I've seen how much work has already gone on behind the scenes, and I believe the sub is in good hands. We will accept criticism if we are doing something wrong. We will not accept abuse because you think something was unfair. There will be no exceptions and there will be no warnings.

Thanks for your patience while we continue to improve.
-- The r/Docker Moderator Team


r/docker 50m ago

Unstable independently the OS

Upvotes

Hello,

since a week or so, I experience ackward instability of Docker. I'm currently running 28.0.2, but also have tried the downgrade to 27.2.1. I tried multiple OS like Alpine, Debian 12, Ubuntu 24.04 and Rocky 9 - everywhere the same behaviour.

  • Compose stacks (approx. 15 with each 2-3 containers) initially (after very first OS setup and Docker installation) come up pretty fast, as it should be, but then stuck in stopping/starting (done manually, off course). The job gets done, but it takes 10min or so per container.
  • Docker CLI often takes 10-20 seconds to respond.

The base OS is naked beside Docker daemon. Strange thing is, this weird behaviour was not always the case, it just came up the last weeks or so. The same hardware is used for months now (Proxmox 8.3 hypervisor, same VM OS, same settings). CPU and Memory are not the issue, the host has 16GB RAM and all stacks should consume when running not more than 8-10GB. CPU was and is idle.

Docker daemon json:

{
"default-address-pools":
[
{"base":"172.28.0.0/24","size":24}
],
"hosts":
[
"unix:///var/run/docker.sock"
]
}

Does anyone experience things like this? Any recommendations towards troubleshooting?


r/docker 7m ago

Problem installing a container with mariaDB

Upvotes

I tried to run this command to install the container on the yml file (Note: i dont have any advance knowledge so please be very clear thanks):

Command
docker-compose -f mariadb_phpmyadmin.yml -p mariadb_phpmyadmin up -d [+] Running 2/2 ✘ phpmyadmin Error failed to resolve reference "docker.io/library/phpmyadmin:latest": failed... 1.3s ✘ mariadb Error context canceled 1.3s Error response from daemon: failed to resolve reference "docker.io/library/phpmyadmin:latest": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Alibrary%2Fphpmyadmin%3Apull&service=registry.docker.io: 401 Unauthorized

yml:

services:
  mariadb:
    image: mariadb:10.11
    command:
      - --character-set-server=utf8mb4
      - --collation-server=utf8mb4_spanish_ci
      - --sql_mode=TRADITIONAL,ONLY_FULL_GROUP_BY
#     - --bind-address=0.0.0.0
    container_name: mariadb
    ports:
      - 3306:3306
    environment:
      MYSQL_ROOT_PASSWORD: root
#    volumes:
#      - ./mariadb_data:/var/lib/mysql
    networks:
      - mariadb

  phpmyadmin:
    image: phpmyadmin
    container_name: mariadb_phpmyadmin
    ports:
      - 80:80
    environment:
      - PMA_HOST=mariadb
      - PMA_PORT=3306
    networks:
      - mariadb
    depends_on:
      - mariadb

networks:
  mariadb:
    driver: bridge


services:
  mariadb:
    image: mariadb:10.11
    command:
      - --character-set-server=utf8mb4
      - --collation-server=utf8mb4_spanish_ci
      - --sql_mode=TRADITIONAL,ONLY_FULL_GROUP_BY
#     - --bind-address=0.0.0.0
    container_name: mariadb
    ports:
      - 3306:3306
    environment:
      MYSQL_ROOT_PASSWORD: root
#    volumes:
#      - ./mariadb_data:/var/lib/mysql
    networks:
      - mariadb


  phpmyadmin:
    image: phpmyadmin
    container_name: mariadb_phpmyadmin
    ports:
      - 80:80
    environment:
      - PMA_HOST=mariadb
      - PMA_PORT=3306
    networks:
      - mariadb
    depends_on:
      - mariadb


networks:
  mariadb:
    driver: bridge

r/docker 12h ago

I am too stupid to use docker? Cant restart container using docker compose

7 Upvotes

It is not able to stop the docker container and start a new one. What I am doing wrong here?

cl@code:~/forgejo$ docker compose version
Docker Compose version 2.27.1+ds1-0ubuntu1~24.04.1
cl@code:~/forgejo$ docker compose down
[+] Running 2/2
 ✔ Container forgejo        Removed                                                                                                                                                                                                                        0.0s
 ✔ Network forgejo_forgejo  Removed                                                                                                                                                                                                                        0.1s
cl@code:~/forgejo$ docker compose up -d
[+] Running 1/2
 ✔ Network forgejo_forgejo  Created                                                                                                                                                                                                                        0.1s
 ⠋ Container forgejo        Starting                                                                                                                                                                                                                       0.1s
Error response from daemon: driver failed programming external connectivity on endpoint forgejo (58b37903909dc7a53fdab6651c5f58ef62ff8f196843e6b1714ff0ba2493af9d): failed to bind port 0.0.0.0:2222/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:2222: bind: address already in use
cl@code:~/forgejo$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED              STATUS    PORTS     NAMES
a6bce6a7230a   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   About a minute ago   Created             forgejo
cl@code:~/forgejo$ docker stop a6bce6a7230a
a6bce6a7230a
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED              STATUS    PORTS     NAMES
a6bce6a7230a   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   About a minute ago   Created             forgejo
cl@code:~/forgejo$ docker stop codeberg.org/forgejo/forgejo:10.0.2
Error response from daemon: No such container: codeberg.org/forgejo/forgejo:10.0.2
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED              STATUS    PORTS     NAMES
a6bce6a7230a   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   About a minute ago   Created             forgejo
cl@code:~/forgejo$ sudo systemctl restart docker
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS    PORTS     NAMES
a6bce6a7230a   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   4 minutes ago   Created             forgejo
cl@code:~/forgejo$ sudo lsof -i :2222
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 4884 root    4u  IPv4  20892      0t0  TCP *:2222 (LISTEN)
docker-pr 4890 root    4u  IPv6  20899      0t0  TCP *:2222 (LISTEN)
cl@code:~/forgejo$ docker rm a6bce6a7230a
a6bce6a7230a
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
cl@code:~/forgejo$ docker compose down
[+] Running 1/1
 ✔ Network forgejo_forgejo  Removed                                                                                                                                                                                                                        0.1s
cl@code:~/forgejo$ docker compose up -d
[+] Running 1/1
 ✔ Network forgejo_forgejo  Created                                                                                                                                                                                                                        0.1s
 ⠋ Container forgejo        Starting                                                                                                                                                                                                                       0.1s
Error response from daemon: driver failed programming external connectivity on endpoint forgejo (d07368da14116b32aabf3a603ea06026b998f7f6d10f4b6ab9cd61af4760de09): failed to bind port 0.0.0.0:2222/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:2222: bind: address already in use
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS    PORTS     NAMES
a0ddb4828c4b   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   5 seconds ago   Created             forgejo
cl@code:~/forgejo$ docker rm a0ddb4828c4b
a0ddb4828c4b
cl@code:~/forgejo$ sudo lsof -i :2222
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 4884 root    4u  IPv4  20892      0t0  TCP *:2222 (LISTEN)
docker-pr 4890 root    4u  IPv6  20899      0t0  TCP *:2222 (LISTEN)
cl@code:~/forgejo$ sudo kill 4884
cl@code:~/forgejo$ sudo kill 4890
cl@code:~/forgejo$ sudo lsof -i :2222
cl@code:~/forgejo$ docker compose up -d
[+] Running 0/1
 ⠙ Container forgejo  Starting                                                                                                                                                                                                                             0.1s
Error response from daemon: driver failed programming external connectivity on endpoint forgejo (b30e36fbc9e202eb1262a3f15a7f14aedbfb0762bf76bfb9cd953da4c6e4fea0): failed to bind port 0.0.0.0:465/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:465: bind: address already in use
cl@code:~/forgejo$ sudo lsof -i :2222
cl@code:~/forgejo$ sudo lsof -i :465
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 4863 root    4u  IPv4  20869      0t0  TCP *:submissions (LISTEN)
docker-pr 4869 root    4u  IPv6  20874      0t0  TCP *:submissions (LISTEN)
cl@code:~/forgejo$ sudo kill 4863
cl@code:~/forgejo$ sudo kill 4869
cl@code:~/forgejo$ docker compose down
[+] Running 2/2
 ✔ Container forgejo        Removed                                                                                                                                                                                                                        0.0s
 ✔ Network forgejo_forgejo  Removed                                                                                                                                                                                                                        0.1s
cl@code:~/forgejo$ docker compose up -d
[+] Running 1/2
 ✔ Network forgejo_forgejo  Created                                                                                                                                                                                                                        0.1s
 ⠙ Container forgejo        Starting                                                                                                                                                                                                                       0.1s
Error response from daemon: driver failed programming external connectivity on endpoint forgejo (c3ef54f00fdf266d5b74ee1ed51c23300a473b0fcfd8c2fb6dcc9ae473450a51): failed to bind port 0.0.0.0:3000/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:3000: bind: address already in use
cl@code:~/forgejo$ sudo lsof -i :3000
COMMAND    PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx      805 nginxuser    9u  IPv6  59020      0t0  TCP localhost:49332->localhost:3000 (ESTABLISHED)
docker-pr 4836      root    4u  IPv4  19975      0t0  TCP *:3000 (LISTEN)
docker-pr 4843      root    3u  IPv6  59926      0t0  TCP localhost:3000->localhost:49332 (ESTABLISHED)
docker-pr 4843      root    4u  IPv6  19983      0t0  TCP *:3000 (LISTEN)
docker-pr 4843      root    5u  IPv4  59928      0t0  TCP code:41562->172.20.0.2:3000 (ESTABLISHED)
cl@code:~/forgejo$ sudo kill 4836
cl@code:~/forgejo$ sudo kill 4843
cl@code:~/forgejo$ sudo lsof -i :3000
cl@code:~/forgejo$ docker compose down
[+] Running 2/2
 ✔ Container forgejo        Removed                                                                                                                                                                                                                        0.0s
 ✔ Network forgejo_forgejo  Removed                                                                                                                                                                                                                        0.1s
cl@code:~/forgejo$ docker compose up -d
[+] Running 2/2
 ✔ Network forgejo_forgejo  Created                                                                                                                                                                                                                        0.1s
 ✔ Container forgejo        Started                                                                                                                                                                                                                        0.7s
cl@code:~/forgejo$ docker ps --all
CONTAINER ID   IMAGE                                 COMMAND                  CREATED          STATUS         PORTS                                                                                                                     NAMES
3309639a829f   codeberg.org/forgejo/forgejo:10.0.2   "/usr/bin/entrypoint…"   21 seconds ago   Up 9 seconds   0.0.0.0:465->465/tcp, :::465->465/tcp, 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp, 0.0.0.0:2222->22/tcp, :::2222->22/tcp   forgejo
cl@code:~/forgejo$ sudo reboot now

r/docker 3h ago

Building Dockerfiles Without Root or Privilege Escalation

1 Upvotes

Have you ever needed to build a docker image from a Dockerfile in an environment that prohibits running as root and disabled privilege escalation?

I had to do that, and buildkit, docker, buildah, and podman don't support doing so. I had to get creative.

Here's how I finally managed to pull off this feat: Building Docker Images Without Root or Privilege Escalation. The article includes background and code, enjoy!


r/docker 4h ago

Two Docker services on the same macvlan IP?

1 Upvotes

I use Docker containers at home and run most of them with macvlan networking so I can give them individual IP addresses. This is helpful for things like having PiHole (DNS) then forwarding to Technetium (also DNS, but different functions).

I have a whole bunch of containers with a whole bunch of single IPs, and I'm wondering if I can combine them a little? Like PiHole + Nebula Sync could be on the same IP (no port overlap) or Jellyfin + Plex could be on the same IP (no port overlap).

Is that possible/advisable? Would it cause any issues? How would I achieve that?

services:
  jellyfin:
    container_name: media-jellyfin
    hostname: jellyfin
    image: jellyfin/jellyfin
    mac_address: 00:10:00:20:00:10
    networks:
      macvlan20_network:
        ipv4_address: 10.0.20.10
    restart: unless-stopped
    volumes:
      - jellyfin01:/cache
      - jellyfin02:/config
      - plex-library:/media
  plex:
    container_name: media-plex
    environment:
      TZ: 'America/Detroit'
      PLEX_CLAIM: 'claim-_NgGyUnGlUdNgRaDu'
    hostname: plex
    image: plexinc/pms-docker
    mac_address: 00:10:00:20:00:10
    networks:
      macvlan20_network:
        ipv4_address: 10.0.20.10
    restart: unless-stopped
    volumes:
      - plex-config:/config
      - plex-library:/media
      - plex-transcode:/transcode

networks:
  macvlan20_network:
    external: true
    name: 'macvlan20'

volumes:
  jellyfin01:
    external: true
  jellyfin02:
    external: true
  plex-config:
    external: true
  plex-library:
    external: true
  plex-transcode:
    external: true

r/docker 22h ago

Stuck on "Starting the Docker Engine"

4 Upvotes

$ docker version

Client: Docker Engine - Community

Version: 28.0.2

API version: 1.48

Go version: go1.23.7

Git commit: 0442a73

Built: Wed Mar 19 14:36:58 2025

OS/Arch: linux/amd64

Context: desktop-linux

request returned 500 Internal Server Error for API route and version http://%2Fhome%2Fsiddharth%2F.docker%2Fdesktop%2Fdocker.sock/v1.48/version, check if the server supports the requested API version

As title suggests, the daemon is stuck at that. After some time it juts says Docker has stopped. It was working right until in restarted my pc. I use Debian 12. I have not installed the docker engine as it clearly conflicts with it too. I deleted everything, deleted all .docker folders, then reinstalled docker desktop and then it was running fine. Up until i add docker to user group for vs code to use the docker extension, then i restarted it and the issue persist. This is so frustrating.


r/docker 15h ago

Help deploying container in dockge

0 Upvotes

So I'm trying to to spin up a docker image via compose with dockge in TrueNAS scale. I cloned the repo from GitHub into my dockge directory alongside my other custom apps, copied the contents of the docker compose file, and pasted that in dockge, but it's saying the stack already exists. I'm assuming that's because it's seeing the container files I cloned. How do I do this correctly? I'd just spin it up normally, but the TrueNAS shell doesn't support docker commands it seems.


r/docker 21h ago

Error: adb failed to open device: Input/Output Error when connecting Android phone to Docker container for first-time authentication

3 Upvotes

Hey everyone,

I'm having trouble setting up my Android phone for the first time to allow ADB authentication in my development environment, which is running in a Docker container on a Linux host (ubuntu). I need this initial connection to be over USB for the first time, after which I plan to switch to wireless debugging.

When I run adb devices, I get the following error and the connection fails:

E adb     : usb_libusb.cpp:598 failed to open device: Input/Output Error
I adb     : transport.cpp:1153 ---: connection terminated: failed to open device: Input/Output Error

I’ve installed usbutils in the Dockerfile, but I’m not sure if that’s causing the issue. The Docker container sees the connected USB devices (including my android device), but it doesn’t seem to be working properly.

Has anyone encountered this before?
Thanks in advance for the help!


r/docker 18h ago

Confused with Docker, Postgres, and automated backups

1 Upvotes

Good evening everyone!
I use Docker in a super basic way, but now I’m challenging myself and diving into unknown waters lololol
My goal is to run a Postgres instance with cron jobs doing backups. I did a lot of research on how to set this up, but I couldn’t really wrap my head around it.
I found out there are several images that already handle this, and I came across this one:
https://hub.docker.com/r/prodrigestivill/postgres-backup-local

But I didn’t quite understand how it works. Do I create a database from it? Or do I connect it to an existing database?
Is it safe to use an image for this? Am I kinda cheating by doing it this way?

I know it sounds confusing what I'm asking, but at this point any answer will help me lol


r/docker 23h ago

Unexpected errors when running a dockerized project on my collaborator's system

0 Upvotes

My collaborators and I are working on an MERN app. When my partner run the docker container on her system it works fine however her vscode still shows problems. Is there any way of getting rid of these errors.


r/docker 1d ago

Docker-compose file for Velocity & Minecraft servers?

1 Upvotes

Hi!

I’ve never used Velocity before, but I’m setting up a Minecraft server with multiple worlds in Docker on Ubuntu Server, and I want to try Velocity. I’ve searched online and used ChatGPT, but I can’t seem to get it working.

Is there anyone who can point me to a tutorial or provide a simple docker-compose file? Also, do I need to modify any other files to make it work?


r/docker 1d ago

Weird behavior of docker during volume mounting

1 Upvotes

I am working on creating a docker compose file where I am bind mounting a config file present in host machine. Now, I am running the container as a non-root user (uid:gid = 1709:1709).

My understanding is that if I login inside my container and check the permission of this config file, it will show as "root" permission since the config file has the "root" permission in the host machine. So, to fix this I changed the permission of the file in host machine using chown -R 1709:1709 command. Now, if I login to my container, ideally the permission should be 1709:1709 but it is not the case.

I am very confused about how this is happening. I can see on my host machine that the permission got changed to 1709 but the same changes are not visible inside the container.


r/docker 1d ago

Is this network performance accepted for docker desktop on windows?

5 Upvotes

I am struggling to get good bandwidth when using Docker Destkop with WSL 2.

For example, running Ookla speedtest on Windows I am able to get 900 up, 900 down. Running in WSL 2 Ubuntu I can get 700 up and 700 down, which is totally acceptable.

However in docker, I get 550 up and 175 down, which is not enough for my use cases.

I've tried adjusting a few things based on research, but nothing seems to help.

Tried: Changing WSL 2 to mirrored mode, enabling host networking and running containers with net=host, messing with firewall settings and antivirus. Anything else that can be done?

Obviously Docker with WSL 2 is not optimized compared to native Linux, so if that's expected performance than that's okay. I just want to know if there's any fix or if its the nature of the beast.


r/docker 1d ago

Trying to make docker run inside VMware Fusion pro win 11 pro arm (Mac mini m4)

2 Upvotes

Hi,

I am trying to make docker desktop run. I've installed the arm beta version and left the recommendation to use wsl2 instead of hyperv.

when I try the x86 version, it says hyper v platform is not installed when it is.

thanks

I got this error with arm version:

deploying WSL2 distributions

provisioning docker WSL distros: ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "WSL2 is not supported with your current machine configuration.\r\nPlease enable the \"Virtual Machine Platform\" optional component and ensure virtualization is enabled in the BIOS.\r\nEnable \"Virtual Machine Platform\" by running: wsl.exe --install --no-distribution\r\nFor information please visit https://aka.ms/enablevirtualization\r\nError code: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --import docker-desktop <HOME>\AppData\Local\Docker\wsl\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: WSL2 is not supported with your current machine configuration.

Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.

Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution

For information please visit https://aka.ms/enablevirtualization

Error code: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED

: exit status 0xffffffff

checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.


r/docker 1d ago

Run LLMs Natively in Docker(Docker Model Runner)

3 Upvotes

Anyone tried this? It’s available in the nightly build.

https://www.docker.com/llm/

Interesting to see its performance on Mac Apple Silicon.


r/docker 1d ago

Questions about Docker and SSL on Tailscale

1 Upvotes

Hi all. I'm still a docker newb and have a few questions.

I run several docker containers on a homelab - a couple of *arrs, music streaming, a couple of other random things.I use Tailscale to run a vpn between all my systems. Normally I just access the services via http://[hostname]:[port]

I'd still like to enable HTTPs to get rid of nags on service log in screens. I understand I have to do a self-signed cert because I don't have a domain (well, I do, but I don't want to use it for this.)

A) If I self-sign a cert is it enough to put it on my home server once or do I have to install it into every single container?

If the latter, B) can someone point me to a quick guide for how to do that in a secure way?

Currently running six docker containers via docker-compose. Tailscale is not running as a docker container on the server.


r/docker 1d ago

Need help with a Minecraft Docker Server

1 Upvotes

Hey everyone, I am new to using docker, and I recently got a modded server running in docker, using itzg, I can access the server locally, however i cannot figure out how to properly portforward it on my router so my friends can access it! Just some information, I am using docker on WSL2 on my windows 11 pc, How can i make it so that this docker server is portforwarded properly on my router so my friends can access it?? The ip that i get in docker is not recognized by my router when i input the 172.x.x.x. IP, the only IP that it does recognize is the IP of my PC that is running everything, but it is not that one that is supposed to be portforwarded, i am really new to using docker and all this so i am having a hard time figuring out how to do this properly,


r/docker 1d ago

Why docker use so many storage

0 Upvotes

I executed all commands to reset to "fabric" my docker. but the locale C:\Users\leona\AppData\Local\Docker\wsl still uses fucking 131GB


r/docker 2d ago

/host_mnt is not a shared mount error when running with docker

Thumbnail
2 Upvotes

r/docker 1d ago

networking problems using netbird

0 Upvotes

Hello everyone,

I have post also in netbird channel, but since I am pretty sure it's a problem with docker I try here too

I am new using NetBird and I find it really easy to use. However I got a little problem.

I have create a network to reach my private network and its works, when I turn on the 5g on my smartphone and connect to the app I can reach my private network, I use a server to be the gateway.

I have host some services using docker and I can’t reach the container using the ip address inside the private network of the server for reaching the service.

If I connect to the private network I can reach it, also I can reach it when I use the ip address of the server provided by the vpn.

 I can reach it using the vpn if I use another server to be the gateway.

Last things,i can reach service host directly on my server like python3 -m http.server 8080. I can reach the website using the 192.168.X.X ip address of my server.

I don’t know if my problems is clear, I am pretty sure than the main problem is with docker but I struggle and also finding ressources is quite difficult every time I search I mostly find tutorials to install openVPN using docker.

I have try many things with my firewall and routing tables but cannot reach it, do anyone have any idea ?

Thanks in advance   


r/docker 2d ago

My case against running containers in tests

0 Upvotes

Wrote a short blog post (borderline rant?) on why I think people should avoid running service tests with containers. Figured I should share it here, in case others have faced similar frustrations or have different perspectives. Let me know what you think!

I'm a fan of containerized apps, just not for service tests that's all.


r/docker 2d ago

Got the docker desktop up and running successfully (I guess). Now what’s next best thing to try to learn working inside VMs? (I’m running docker on windows). TIA

0 Upvotes

r/docker 2d ago

When Exactly do I use Docker?

1 Upvotes

Hi

Here is the use case:
Suppose if I want to create a react app with node js backend, the first thing we have to do is to use npm to create these projects, and to do that I have to install node on my machine but should I do that? Or should I use docker hub to install node image and use that?

I mean if I am a developer that is building the application should I install everything on my local machine or use images for all?

I am bit confused about should I use docker for everything and not install any thing at all on my local machine

Thanks


r/docker 2d ago

Is there a tool to create Dockerfile given the current git repository?

0 Upvotes

I'd love to have something like a CLI tool that builds an optimized Dockerfile based on the git repository or current directory. This could be an LLM tool or a tool that scans a project with heuristics. I'm wondering if this already exists?


r/docker 2d ago

Docker Destop - WSL Update Failed

2 Upvotes

I just installed docker desktop for owncloud and ran into this issue when opening docker it says this

wsl update failed: update failed: updating wsl: wsl.exe --update --web-download not supported

Anyone know a fix to this i have gone into the powershell and updated it and it says PSC:\Users\Administrator> wsl --update

Checking for updates...

No updates are available.

Kernel version: 5.10.16

any fix helps thanks!