Re:My Fediverse use – I'm hosting everything myself – PeerTu...
by dgellow on Tuesday December 05, 2023 @01:54PM
(#38535321)
Docker compose makes it relatively easy to coordinate multiple containers. But to answer your actual question, yes, that’s possible though definitely not recommended for standard hosting, it’s called DiD (docker in docker) and is fairly common for CIs.
[ Parent
| on HN ]
Re:My Fediverse use – I'm hosting everything myself – PeerTu...
by mappu on Tuesday December 05, 2023 @03:02PM
(#38536207)
It is common to use --privileged (or -v docker.sock) and run docker commands inside docker. But then you're not really in the container, you may as well be on the host.
I think genuinely containerizing inside an ordinary container, without --privileged, would mean taking extreme compromises like bocker or proot.
What's the state of the art here?