Home > Net >  How to start Docker from command line on Linux?
How to start Docker from command line on Linux?

Time:01-25

I'm working on a shell script, which from the user's OS, will run a series of commands to open docker, if the user has it already installed, if the user doesn't have it, it will install docker and only after installing docker script will open it.

I've already made the script for MacOs, the linux and windows part is missing, but I can't find anywhere that shows a command that opens docker on linux.

On windows I believe you just install docker and run the .exe

I don't have a linux, so I haven't tried anything yet.

Hope you have a command line that runs and opens Docker on linux.

CodePudding user response:

The command systemctl --user start docker-desktop it's start the Docker with the CLI.

  • Related