Docker Init command without installing docker Desktop


I would like to use the cli docker init to initialize some projects but it seems that i can’t use this command.
I don’t use docker desktop on ubuntu. I use have updated to the last release.

Is the init command only available to those who have installed docker desktop?

If not, how i could installed it ?

My versions :
Docker: 25.0.3
docker-compose: 1.27.4

Yes, it is available only in Docker Desktop for now

OK, any chance to have it without docker desktop ?

It is not opensource, so you can’t install it without Docker Desktop, but it is a docker cli plugin, so you can install Docker Desktop and Docker CE and switch back to the default context.

docker context use default

Docker Desktop doesn’t have to run to use the cli plugin.