Docker sq
Docker Fundamentals - Container Lifecycle

Debugging the Issue from the Last Course

PRO
Outline

Debugging the Issue from the Last Course

The example from the previous course utilizes a container that cannot be stopped with ctrl-c, because the Process ID 1 in nginx is the shell, which does not forward SIGINT interrupts.

You can see this by starting a shell inside the container and running # ps but you would need to install this command using # app-get update && apt-get install -y procps, because the lightweight image does not include it.

 

I finished! On to the next chapter