Starting and Stopping the Docker Spawner

The Docker spawner is the preferred spawner because it supports user isolation, which can help improve security.

Perform these tasks from the directory where Jupyter Notebooks is installed.

Procedure

  1. To start the Docker spawner, run the following command.
    docker-compose up -d
    
    The Docker spawner is started.
  2. To stop the Docker spawner, run the following command.
    docker-compose down
    
    The Docker spawner is stopped.