{"url":"https://www.yokoyan.net/entry/2022/06/25/080000","provider_url":"https://hatena.blog","type":"rich","width":"100%","blog_title":"\u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d","author_name":"yokoyantech","blog_url":"https://www.yokoyan.net/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2022%2F06%2F25%2F080000\" title=\"\u3010\u4f5c\u696d\u30e1\u30e2\u3011AWS EC2 \u306b Apache \u30b3\u30f3\u30c6\u30ca\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806 - \u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-06-25 08:00:00","version":"1.0","description":"\u306f\u3058\u3081\u306b \u30b3\u30f3\u30c6\u30ca\u3092\u5b66\u7fd2\u3057\u3066\u3044\u308b\u306e\u3067\u30e1\u30e2\u3002 \u3084\u308a\u305f\u3044\u3053\u3068 AWS EC2 \u306b Apache \u3092\u5165\u308c\u3066\u52d5\u304b\u3057\u305f\u3044 \u4f5c\u696d\u30e1\u30e2 Apache \u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Dockerfile \u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3002 docker run \u30b3\u30de\u30f3\u30c9\u306f\u3001\u4ee5\u4e0b3\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u307e\u3068\u3081\u3066\u5b9f\u884c\u3057\u3066\u3044\u308b\u3002 docker pull \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97 $ docker pull httpd:2.4 docker create \u30a4\u30e1\u30fc\u30b8\u304b\u3089\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210 $docker create --name my-apache-app -p 8080:80 -v \"$PWD\":/usr/local/apache2/htdocs\u2026","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yokoyantech/20220622/20220622130809.png","title":"\u3010\u4f5c\u696d\u30e1\u30e2\u3011AWS EC2 \u306b Apache \u30b3\u30f3\u30c6\u30ca\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806","author_url":"https://blog.hatena.ne.jp/yokoyantech/","categories":["Docker"]}