Docker - Configuring


Advertisements

In this chapter, we will look at the different options to configure Docker.

service docker stop

This command is used to stop the Docker daemon process.

Syntax

service docker stop 

Options

None

Return Value

A message showing that the Docker process has stopped.

Example

sudo service docker stop 

Output

When we run the above command, it will produce the following result −

Service Docker Stop

service docker start

This command is used to start the Docker daemon process.

Syntax

service docker start 

Options

None

Return Value

A message showing that the Docker process has started.

Example

sudo service docker start

Output

When we run the above command, it will produce the following result −

Service Docker Start
Advertisements