Could you eloborate on why you think containers are on their way out?
Companies are ever more willing (and more crucially: getting away with; even in the EU), running software without proper privilege separation. If data is accidentally accessible, send out the "we value your privacy" mail and keep going. At the same time developers are less slowed down from deploying to insufficiently abstracted/unified target systems: If they do run into problems that could have been completely avoided with something like docker, LLM will reduce the cost of diagnostics. And then there is the diminishing appeal of having docker compose together all the required libraries. Which is not needed, if all the libraries are statically bundled into one huge binary, as has become precariously customary.
Presumably the distinction is Sandboxes vs Containers, maybe.
I am not the commenter but advanced agents are equally capable of manipulating an entire VM (or microvm, whatever you want to call it) equally as easily as a docker container. There's a number of benefits of compartmentalizing something inside an entire VM on a real hypervisor platform for security purposes, and being able to maintain it, versus using pre-baked docker containers from $vendor. Or even use that VM to contain something like a podman container and let the agent have the equivalent of sudo on the VM for a specific purpose.
At a very straightforward guess agents have proven themselves particularly adapt at breaking out of container sandboxing, predominantly Docker rooted containers. Some are increasingly transitioning to microVMs for the security that people until recently assumed containers provided. Claude Code for example runs code on Firecracker VMs.