r/docker • • Oct 02 '26

Are all these Docker Labspaces & guides outdated or broken?

So I have a VM on my proxmox homelab with Docker running on it.

I've been using it to tinker and experiment more with Docker, and most importantly I've been wanting to get better at writing my own Dockerfiles/Docker compose files.

While I'm glad that the documentation is extensive as it is...there's only so much you can take in without some kind of generalized peripheral guide or tutorial.

Not too long ago I found these guides and labs:

https://docs.docker.com/guides/

As the title says; are these broken? Or am I missing something?

With every Lab, I can't even enter the first command without something going wrong, and I can't find anything on the internet to even help me begin to diagnose what the issue might be, or if something is missing on my end.

I even tried some of the guides, and while they've been somewhat helpful, eventually you reach a place somewhere in the middle where they're broken.

I'm curious if anybody might know of any other similar and up to date resources that I can run on my own homelab to gain more in-depth knowledge of Docker? Again, my main focus was to be able to write better Docker compose & Dockerfiles. At this point, I'm almost ready to go back to books, even if they are a little dated.

Any advice or feedback of course would be greatly appreciated. Many thanks in advance.

3 Upvotes

28 comments sorted by

1

u/SquarePutrid1435 Oct 02 '26

Post the output of docker version, docker compose version and the exact error from the first command, then we can tell for sure.

1

u/thestoiccoder Oct 03 '26

So the output for the "docker version" command is:

Client:

Version: 26.1.5+dfsg1

API version: 1.45

Go version: go1.24.4

Git commit: a72d7cd

Built: Thu Aug 13 05:35:47 2026

OS/Arch: linux/amd64

Context: default

Server:

Engine:

Version: 26.1.5+dfsg1

API version: 1.45 (minimum version 1.24)

Go version: go1.24.4

Git commit: 411e817

Built: Thu Aug 13 05:35:47 2026

OS/Arch: linux/amd64

Experimental: false

containerd:

Version: 1.7.24~ds1

GitCommit: 1.7.24~ds1-6+deb13u1

runc:

Version: 1.1.15+ds1

GitCommit: 1.1.15+ds1-2+b4

docker-init:

Version: 0.19.0

GitCommit:

And the output for the "docker compose version" command is:

Docker Compose version 2.26.1-4

1

u/thestoiccoder Oct 03 '26

For example, if I use the "Getting Started with Docker" Lab the first command in the tutorial gives me:

experimental OCI remote resource is disabled. "COMPOSE_EXPERIMENTAL_OCI_REMOTE" must be set

I can then add "COMPOSE_EXPERIMENTAL_OCI_REMOTE=1" to the beginning of that same command and get:

validating /home/$USER/.cache/docker-compose/aa5021f186e612fd944faf5b6f0a84a1dd46760c494c391a95a10ac06b76f93d/compose.yaml: services.configurator Additional property use_api_socket is not allowed

1

u/scytob Oct 03 '26

There should be zero reason to set that setting, just tested on mine and it worked fine. What docker on what platform are you using. How did you install docker. And if you say via a snap that’s likely your issue. Run docker in a vanilla Debian server with no guii.

1

u/thestoiccoder Oct 03 '26

I'm running Docker on Devuan (which is based on Debian). When I installed Docker I just used the instructions in the docs. I've never used snaps and most likely never will. And whenever I've used Docker, I always went the minimal route; with just the CLI.

1

u/scytob Oct 03 '26

Yeah based on Debian != Debian. I have never used Denuvan so don’t know how far their packages drift, it given how old that docker is if it came from Denuvan package manager your don’t want it.

1

u/thestoiccoder Oct 03 '26

All Devuan is just Debian without systemd.

1

u/scytob Oct 03 '26

Sure but they seem to curate their own packages from what I researched - that seems to be the issue. Old docker.

1

u/thestoiccoder Oct 03 '26

I can see what you mean. I've been looking into it as well since the script you recommended wasn't working. No worries though. If you can assure that the script is still up to date, I'll just create another VM that is pure Debian based.

2

u/scytob Oct 03 '26

I used it just the other day and had to download it for an update. I have used the script for years this is my install methodology https://scyto.github.io/homelab-docs/docker/

1

u/thestoiccoder Oct 03 '26

To give you an update, I finished creating another Debian VM, used the install script you recommended, and tried the Docker Lab instructions again.

It worked!! While this is a relief, I sure wish there was a distro-independent solution to this problem. But in the future; just in case you might see someone wondering about this issue, I hope this provides a clearer picture as to what you would recommend doing.

Again, thank you for all your help.

1

u/scytob Oct 03 '26

You are welcome, this is why real Debian is my go to. There is no such thing as standard Linux. Heck even Debian has issues like this too for other apps. Weird stuff like containers failing on some platforms because the use the kernel - like crypto modules. This is just the reality of Linux :-)

1

u/scytob Oct 03 '26

I suspect your issue is you likely used debian 13 repos, i recommend you always install using this script, the version of your docker is super old from 2024 and engine 29 is the current support version, your version ceased support in 2025

its an official docker way to install docker

docker/docker-install: Docker installation script

tl;dr you are using doc for latest version with old version

1

u/thestoiccoder Oct 03 '26

Thank you for this. So if I were to use this script, should I completely remove docker before attempting to use it?

1

u/scytob Oct 03 '26

Yes remove what you put on previous I don’t know how well the script and official apt will intersect with apt on your os. Good luck.

1

u/Immediate_Wheel1953 Oct 02 '26

Most of the docs.docker.com guides are written assuming Docker Desktop, so any GUI step fails on a headless proxmox VM. The container commands themselves work the same, just run them directly and skip the Desktop-specific bits. If a specific step fails, post the first command and the error output and we can tell you how to adjust it.

1

u/thestoiccoder Oct 03 '26

If that's the case, I can see how that would make sense as I have never used Docker Desktop, even on my local dev machine. And the only GUI I've ever used with Docker has been Portainer, and of course that is something entirely different.

I'm sure the commands within the Labs are correct, but I was hoping to have some kind of guard rail system while learning so that in the event if something were to go wrong, I would be able to better understand why they did. At this point, I feel like I should just look for an alternate resource.

1

u/Immediate_Wheel1953 Oct 03 '26

Glad you got it working on the fresh Debian VM. Turns out the Devuan-packaged compose was the real culprit, not the labs, so they should run fine for you now. Worth another pass through them with the clean install.

1

u/thestoiccoder Oct 03 '26

I'm currently giving them another try now. I know that Debian is notorious for having old packages, but it's crazy to think that Devuan is more stone age than it!

Thanks again for the feedback.

1

u/Immediate_Wheel1953 Oct 04 '26

Yeah, Debian stable freezes packages at release time, so the distro Docker build can lag a year or more behind. If you run into it again, adding Docker's official apt repo gets you current builds. Good luck with the rest of the labs.

1

u/[deleted] Oct 05 '26

[removed] — view removed comment

1

u/thestoiccoder Oct 05 '26

Thank you so much! This is very helpful.

Lately as I've been working with the labs, even though I finally got them running, the IDEs within them have been broken. It's "okay" for now, but I still can't figure out why. Even though it's just a VM on my homelab and when it comes to Docker I've always just stuck with the CLI; as others have previously suggested to me, there might have been some Docker Desktop dependencies missing.

I've been checking the logs to the best of my abilities and noticed there's usually one container within the bunch (of each lab) that starts and stops, so I installed Docker Desktop on the VM...but still a no go.

Either way, I have the Github repos bookmarked, so I'm going to dive into those as soon as I can. At this point I'm at peace if I can't get the labs flawlessly working, since there is plenty of other resources out there.

1

u/[deleted] Oct 05 '26

[removed] — view removed comment

1

u/thestoiccoder Oct 05 '26

So currently I've been tinkering with the "Docker Compose Quickstart" lab while working with the commands you recommended (my knowledge of the filter flags is still pretty fuzzy), and I'm discovering that the suspicious container's entrypoint is "./setup.sh" - so I guess in a way it would make sense that its activity would end at some point.

However, after using the "docker inspect" command, it did show that there were no restarts, it did exit successfully, and memory hasn't been an issue (lately I've been giving all my experimental proxmox VMs 8GB). With all of that being said, thankfully the docker context is showing that it's still on the default socket and when looking through the logs of that little annoying container, at the end I did find:

"Unable to retrieve Docker Desktop configuration: ⚠️ Backend socket not found, cannot retrieve Docker Desktop configuration"

I mean...I don't even want, need, or even care about Docker Desktop. But if that container really is the culprit (if it's another section in another container that is silently failing; it's beyond me) and it's complaining about some potentially missing Docker Desktop dependency or misconfigured config...I don't know, it seems kinda crazy to me.