<p>This would be similar to putting a computer into a sleep mode. FYI: I'm asking this in the context of managing containers using Kubernetes.</p>

<p>The reason for asking is that we would like to run many interactive jobs and want to suspend these jobs when users are not actively working on them so that resources can be released and used by other users.</p>

<p>Yes, you can use <code>docker stop</code> and <code>docker start</code> commands. It would like you suspend pc.</p>

<p>All data produced inside container will be saved. But main process will receive <code>SIGTERM</code> signal. After docker start this process will be started again</p>

<p>Also take a look at <code>docker pause command</code>.</p>

<blockquote>
  <p>The docker pause command suspends all processes in the specified
  containers. On Linux, this uses the cgroups freezer. Traditionally,
  when suspending a process the SIGSTOP signal is used, which is
  observable by the process being suspended. With the cgroups freezer
  the process is unaware, and unable to capture, that it is being
  suspended, and subsequently resumed. On Windows, only Hyper-V
  containers can be paused.</p>
</blockquote>
