<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>Docker</anon>
  </categories>
  <description>WebサーバーをDockerで作成するために，DockerfileのCMDに以下のように書くことを考えます． CMD gunicorn --bind 0.0.0.0:8000 web.wsgi これにより，DockerでWebサーバーを起動すると，問題なくGunicorn - Python WSGI HTTP Server for UNIXが実行されます． しかし，終了時に問題が発生します．DockerをCtrl+Cで終了させようとしても止まりません． Gracefully stopping... (press Ctrl+C again to force) CMDのドキュメントには，以下のよう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2020%2F10%2F14%2F144303&quot; title=&quot;DockerのCMDは文字列でよいのか - みーのぺーじ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-14 14:43:03</published>
  <title>DockerのCMDは文字列でよいのか</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2020/10/14/144303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
