Drop unnecessary command from CLI plug-in (#3551)

The CLI plug-in stays up even without command. This saves a few
kilobytes of RAM.

It also allows s6-overlay's stage2 to complete. The stage2 execlineb
process has an enormously long cmdline, with strings like "init-stage2
failed" in it. This has previously led people to belive that there is a
problem (while there isn't). So as a side effect, getting stage2 to
complete side steps such confusion and makes the list of processes
cleaner.
This commit is contained in:
Stefan Agner 2022-04-07 18:11:21 +02:00 committed by GitHub
parent 393a11c696
commit b701e1917e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,6 @@ class DockerCli(DockerInterface, CoreSysAttributes):
docker_container = self.sys_docker.run(
self.image,
entrypoint=["/init"],
command=["/bin/bash", "-c", "sleep infinity"],
tag=str(self.sys_plugins.cli.version),
init=False,
ipv4=self.sys_docker.network.cli,