-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
privileged: true is problematic w/Debian 10, official Docker #532
Comments
uguhghghghhghghghhhh why is Docker LIKE this? I thought the whole point was to be reproducible, but for the last four years I've been trapped in an endless hellscape of PRs which fix Docker on one person's system and break it on another's. 😭 @chhetripradeep, @dancmeyers, @m1l4n54v1c, since y'all have contributed to the Docker scripts on various platforms recently, any chance you can help sort this out? |
Because the hellscape frequently does a container escape? At the current time, it just might not be possible for Docker to support the needed Jepsen privileges in many common environments. I think it's fair to say to fully use Jepsen, this is the host OS, etc. needed to support it's capabilities. I switched to stock Debian 10 and official Docker hoping it was the core development/supported environment for Jepsen. What is the expected environment to develop with master? |
I use Debian 10/11 with LXC, and the AWS Marketplace build for testing on physical machines. The docker build's not something I use very often (in large part because it seems like it's always breaking in new ways, haha). |
What do you mean by ‘official’ docker? Official from Debian’s repo for 10 (which is dog-old and the Docker website itself recommends against, IIRC), or the official Docker repo that you can add as a separate apt source? I do the latter, and added the separate |
Ah, that's a good question--if we depend on a certain minimum version of Docker, maybe we could check that version in the script and let people know if they're running an older version? |
Yes, added Docker repo as apt source from Docker.
Docker Engine >= 20.10 per container forums. Forums also say Debian 11, Ubuntu 21.10, Docker 20.10, are better aligned re cgroup v2. Rereading the Jepsen docs, they do favor Debian LXC and AWS images. I don't know how to resolve the cross .yml commits cycle, LWW? 😄 |
Installed LXC and it's a wonderful environment. Very productive. I'll keep periodically trying Docker. Thanks! |
Tried again with latest Debian + Docker: Debian 11.3 and it failed in a similar fashion as with earlier versions. |
If you want to fix this, I'd be delighted. |
Current host/container/systemd/Docker configs/behavior have evolved to the point where systemd containers, e.g.
can only be configured with Configuring systemd containers is documented by debain-base-standard Container Invocation, Docker release notes, and misc forum posts:
(In addition Debian doesn't need Current The current workaround is to use |
Current master fails with Debian 10, Ubuntu 20.04, when
privileged: true
.Returning to mounting cgroup works better but still has errors.
Fresh install of Debian 10 and official Docker,
bin/up
:On restarting host then only starting control:
Control log:
Attaching a control node shell:
DB node logs Ok.
Edit
docker-compose.yml
template:bin/up
does bring up environment with errors in log:along with huge tables and several others.
Attaching to node shows:
The above is also true for Ubuntu 20.04.
In addition, tried editing boot parms on Ubuntu to explicitly insure hierarchical cgroup, force v2, etc.
Always similar errors.
The text was updated successfully, but these errors were encountered: