Scenario #16

Name: Reloading without restarting the container

Description:

  • There is a Docker container running called myapp.
  • The configuration for the program running inside the container needs to be reloaded.
  • The container must not be stopped or restarted.
  • The program running inside the container handles the following signals:
    • SIGHUP: Reloads its configuration.
    • SIGUSR1: Shows its current configuration.

Tasks:

  • Reload the configuration for the program running inside the container without restarting the container.

Level: Beginner

Estimated duration: 15min

Access: Pro plan required

Tags: Docker

Scenarios