{"id":5083,"date":"2017-08-09T18:01:47","date_gmt":"2017-08-09T09:01:47","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=5083"},"modified":"2025-03-12T11:26:30","modified_gmt":"2025-03-12T02:26:30","slug":"docker%e3%81%8b%e3%82%89amazon-ec2%e3%81%b8%e3%81%ae%e5%a5%ae%e9%97%98%e8%a8%98","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2017\/08\/09\/docker%e3%81%8b%e3%82%89amazon-ec2%e3%81%b8%e3%81%ae%e5%a5%ae%e9%97%98%e8%a8%98\/","title":{"rendered":"docker\u304b\u3089Amazon EC2\u3078\u306e\u596e\u95d8\u8a18"},"content":{"rendered":"<p>\u4eca\u307e\u3067docker\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u79c1\u3001\u52c9\u5f37\u304c\u3066\u3089Laradock\u3092\u4f7f\u3063\u3066Laravel\u3067\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f<br \/>\n\u305d\u3053\u304b\u3089Amazon EC2\u3078\u79fb\u884c\u3059\u308b\u307e\u3067\u306e\u904e\u7a0b\u3067\u8272\u3005\u884c\u304d\u8a70\u307e\u308a\u3001<br \/>\n\u306a\u3093\u3068\u304bLaradock\u304b\u3089EC2\u3078\u74b0\u5883\u79fb\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u306e\u3067\u3001<br \/>\n\u4eca\u5f8c\u306e\u30e1\u30e2\u306e\u305f\u3081\u306b\u30ed\u30b0\u3092\u6b8b\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059<\/p>\n<p>\u4eca\u56de\u66f8\u304f\u5185\u5bb9\u306fLaradock\u306e\u74b0\u5883\u8a2d\u5b9a\u301cAmazon EC2\u3078\u8a2d\u7f6e\u3059\u308b\u307e\u3067\u306e\u7c21\u5358\u306a\u6d41\u308c\u3067\u884c\u304d\u8a70\u3063\u305f\u3082\u306e\u3092\u6652\u3059\u3060\u3051\u306e\u307b\u307c\u65e5\u8a18\u306e\u69d8\u306a\u3082\u306e\u3067\u3059\uff08\u7b11\uff09<\/p>\n<h2>Docker for Mac \u301c Laradock\u3092\u5c0e\u5165\u3059\u308b\u307e\u3067<\/h2>\n<pre><code>$ git clone --depth=1 -b v5.5.1 https:\/\/github.com\/LaraDock\/laradock.git\n$ cd laradock\n$ cp env-example .env\n$ vi .env\n<\/code><\/pre>\n<p>\u2026\u3068\u3053\u306e\u3088\u3046\u306b\u307e\u305a\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5f93\u3063\u3066\u5c0e\u5165\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f<br \/>\n\u3057\u304b\u3057<\/p>\n<h3>\u554f\u984c\uff11\uff1aLaradock\u3092\u5c0e\u5165\u3057\u305f\u304c\u8d77\u52d5\u3057\u306a\u3044<\/h3>\n<pre><code>$ docker-compose up -d nginx mysql\nERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.\n$ docker-machine start default\nHost does not exist: \"default\"\n<\/code><\/pre>\n<p>default\u3092\u8a2d\u5b9a\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff1f<\/p>\n<pre><code>$ docker-machine create --driver virtualbox default\n<\/code><\/pre>\n<p>\u3092\u3059\u308c\u3070\u3088\u3044\u3001\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u306e\u3067\u5b9f\u884c\u3057\u3066\u307f\u305f\u3051\u308c\u3069\u30a8\u30e9\u30fc\u767a\u751f<br \/>\n\u305d\u3082\u305d\u3082Docker for Mac\u306fvirtualbox\u4f7f\u308f\u306a\u304f\u3066\u3082\u826f\u304f\u306a\u3063\u305f\u3001\u3068\u306e\u8a18\u8ff0\u3092\u898b\u304b\u3051\u305f\u6c17\u304c\u2026<\/p>\n<h3>\u89e3\u6c7a\uff1aboot2docker\u3068Docker for mac\u304c\u6df7\u5728\u3057\u3066\u3044\u305f<\/h3>\n<p>Laradock\u306e\u554f\u984c\u3067\u306f\u306a\u304f\u3001docker\u306e\u554f\u984c\u3067\u3057\u305f<br \/>\n\u3069\u3046\u3084\u3089Docker for Mac\u3092\u5165\u308c\u308b\u524d\u306bboot2docker\u3092homebrew\u3067\u5165\u308c\u3066\u3044\u305f\u3088\u3046\u3067\u3001<br \/>\nPC\u5185\u306bdocker\u304c\uff12\u3064\u3042\u308b\u72b6\u614b\u3067\u3057\u305f<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067boot2doker\u3092\u524a\u9664<\/p>\n<pre><code>brew uninstall docker boot2docker docker-compose docker-machine\n<\/code><\/pre>\n<p>\u5ff5\u306e\u305f\u3081Docker for Mac\u3082\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5165\u308c\u76f4\u3057\u3001\u3082\u3046\u4e00\u5ea6\u52d5\u304b\u3057\u3066\u307f\u305f\u6240\u7121\u4e8b\u306bLaradock\u3092\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\uff01<br \/>\n\u307e\u3041\u3053\u3093\u306a\u3053\u3068\u3057\u3067\u304b\u3059\u306a\u3093\u3066\u81ea\u5206\u304f\u3089\u3044\u3057\u304b\u3044\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u53c2\u8003\u306b\u306f\u306a\u3089\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u601d\u3044\u51fa\u306e\u4e00\u3064\u3068\u3057\u3066\u2026<\/p>\n<h3>\u554f\u984c\uff12\uff1aMySQL\u304c\u52d5\u304b\u306a\u3044<\/h3>\n<p>\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066MySQL\u304c\u8d77\u52d5\u3057\u306a\u3044<br \/>\n<code>docker-compose ps<\/code>\u3092\u5b9f\u884c\u3057\u3066\u307f\u305f\u6240\u3001laradock_mysql_1\u306estate\u306fExit\u3067\u3057\u305f<\/p>\n<pre><code>$ docker-compose up --build -d nginx mysql\n$ docker-compose exec mysql bash\nERROR: No container found for mysql_1\n<\/code><\/pre>\n<p>\u30ed\u30b0\u3092\u78ba\u8a8d<\/p>\n<pre><code>$ docker logs laradock_mysql_1\n2017-08-01T08:01:50.339823Z 0 [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file .\/ibdata1 are 0x4800!\n<\/code><\/pre>\n<h3>\u89e3\u6c7a\uff1aMySQL\u306e\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664<\/h3>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306b\u95a2\u3057\u3066\u306f.env\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3057\u3001MySQL\u306e\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u305f\u6240\u3001\u8d77\u52d5\u306b\u6210\u529f\u3057\u307e\u3057\u305f<\/p>\n<pre><code>$ vi .env   \u21d0 laradock\/.env\u3092\u78ba\u8a8d\n 10 ### Data Path:\n 11 # For all storage systems.\n 12\n 13 DATA_SAVE_PATH=~\/.laradock\/data\n$ cd ~\/.laradock\/data\n$ mv data data.old\n<\/code><\/pre>\n<p>Laradock\u304c\u52d5\u304b\u306a\u3044\u2026\u52d5\u304b\u306a\u3044\u2026\u3068\u5165\u308c\u76f4\u3057\u3092\u7e70\u308a\u8fd4\u3057\u305f\u6642\u306b\u30b4\u30df\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u6b8b\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u6a21\u69d8<\/p>\n<h2>\u30ed\u30fc\u30ab\u30eb\u304b\u3089Amazon EC2\u3078<\/h2>\n<p>\u30b7\u30b9\u30c6\u30e0\u304c\u51fa\u6765\u4e0a\u304c\u308a\u3001\u6b21\u306f\u30b7\u30b9\u30c6\u30e0\u3092\u30ed\u30fc\u30ab\u30eb\u304b\u3089EC2\u3078\u79fb\u884c\u4f5c\u696d\u3078\u2026<br \/>\n\u307e\u305aLaradock\u74b0\u5883\u5185\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d<br \/>\nEC2\u5074\u306b\u3082PHP7.1\u3001MySQL5.7\u3001nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code>$ docker-compose exec workspace bash\n# php -v\nPHP 7.1.4-1+deb.sury.org~xenial+1 (cli) (built: Apr 11 2017 22:12:32) ( NTS )\nCopyright (c) 1997-2017 The PHP Group\nZend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies\n    with Zend OPcache v7.1.4-1+deb.sury.org~xenial+1, Copyright (c) 1999-2017, by Zend Technologies\n# php artisan --version\nLaravel Framework 5.4.30\n# exit\nexit\n\n$ docker-compose exec mysql bash\n# mysql --version\nmysql  Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using  EditLine wrapper\n# exit\nexit\n<\/code><\/pre>\n<h3>EC2\u5074\u74b0\u5883\u4f5c\u6210<\/h3>\n<p>PHP\u3001MySQL\u3001nginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u2026<br \/>\n\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6<\/p>\n<pre><code>$ vi \/etc\/php-fpm.d\/www.conf\n 24 user = nginx\n 25 ; RPM: Keep a group allowed to write in log dir.\n 26 group = nginx\n\n 48 listen.owner = nginx\n 49 listen.group = nginx\n 50 listen.mode = 0660\n<\/code><\/pre>\n<pre><code>$ vi \/etc\/nginx\/nginx.conf\n 40     server {\n\n 44         root         \/var\/www\/html\/public;\n\n 73         location ~ \\.php$ {\n 74             root           \/var\/www\/html\/public;\n 75             fastcgi_pass unix:\/var\/run\/php-fpm\/php-fpm.sock;\n 76             fastcgi_index  index.php;\n 77             fastcgi_param  SCRIPT_FILENAME  \/var\/www\/html\/public$fastcgi_script_name;\n 78             include        fastcgi_params;\n 79         }\n<\/code><\/pre>\n<p>\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5 \uff06 \u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/p>\n<pre><code>$ sudo service nginx start      \u21d0 \u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\n$ sudo service php-fpm start\n$ sudo service mysqld start\n$ sudo chkconfig nginx on           \u21d0 \u81ea\u52d5\u8d77\u52d5\n$ sudo chkconfig php-fpm on\n$ sudo chkconfig mysqld on\n<\/code><\/pre>\n<p>MySQL5.7\u3067\u306froot\u30e6\u30fc\u30b6\u306b\u306f\u521d\u671f\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u308b\u3082\u306e\u304c\u5b58\u5728\u3057\u3001<br \/>\n\u6700\u521d\u306f\u305d\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b<\/p>\n<pre><code>[ec2-user@ip-172-31-46-167 ~]$ sudo cat \/var\/log\/mysqld.log\n2017-08-03T06:59:34.488345Z 1 [Note] A temporary password is generated for root@localhost: Jt?eJUpbO6kl \u21d0\u30b3\u30ec\n<\/code><\/pre>\n<p>root\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u5909\u66f4\u3057\u3066\u304a\u304f\u3079\u3057<\/p>\n<pre><code>$ mysql -u root -p\n&gt; ALTER USER 'root'@'localhost' IDENTIFIED BY '\u30d1\u30b9\u30ef\u30fc\u30c9';\n<\/code><\/pre>\n<p><a href=\"https:\/\/readouble.com\/laravel\/5.4\/ja\/installation.html\">Laravel\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u5f93\u3044Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001Laravel5.4\u3092\u5c0e\u5165<\/p>\n<pre><code>$ composer global require \"laravel\/installer\"\n$ cd \/var\/www\/\n$ laravel new html\n<\/code><\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067Laravel\u306eTOP\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<h3>Laradock\u304b\u3089\u304a\u5f15\u3063\u8d8a\u3057<\/h3>\n<p>\u30ed\u30fc\u30ab\u30eb\u306eLaravel\u3088\u308a\u3001git\u3092\u4f7f\u3063\u3066\u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\uff01<br \/>\nLaradock\u306b\u306f\u65e2\u306b.gitignore\u30d5\u30a1\u30a4\u30eb\u304c\u6e96\u5099\u3055\u308c\u3066\u304a\u308a\u3001log\u30d5\u30a1\u30a4\u30eb\u7b49\u306a\u3069\u5fc5\u8981\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306f\u7701\u304b\u308c\u308b\u69d8\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u4fbf\u5229\uff01<\/p>\n<pre><code>git archive HEAD --output=~\/WorkSpace\/project\/release\/archive.zip\n<\/code><\/pre>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\/var\/www\/html\u306b\u4e0a\u66f8\u304d\uff08.env\u306e\u53d6\u6271\u3044\u6ce8\u610f\uff01\uff09\u3057\u3001<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u3092\u5909\u66f4 <code>chmod o+w -R storage<\/code><br \/>\n\u305d\u3057\u3066\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c<\/p>\n<pre><code>$ php artisan config:cache\n$ php artisan route:cache\n<\/code><\/pre>\n<p>.env.example\u3092.env\u306b\u66f8\u304d\u63db\u3048\u3001EC2\u4e0a\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u305f\u8a2d\u5b9a\u306b\u66f8\u304d\u63db\u3048\u307e\u3059<br \/>\n\u305d\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d\uff01<\/p>\n<h4>The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.<\/h4>\n<p>\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3088\u2026<br \/>\n\u4ee5\u4e0b\u3092\u5b9f\u884c<\/p>\n<pre><code>$ php artisan key:generate\n$ php artisan config:clear\n<\/code><\/pre>\n<p>.env\u30d5\u30a1\u30a4\u30eb\u306e <code>APP_KEY=<\/code> \u306b\u30ad\u30fc\u304c\u30bb\u30c3\u30c8\u3055\u308c\u308b\u308f\u3051\u3067\u3059\u306d<br \/>\n\u7121\u4e8bTOP\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\uff01<\/p>\n<h4>\u3067\u3082\u30da\u30fc\u30b8\u304c\u9077\u79fb\u3057\u307e\u305b\u3093\u3088\uff1f<\/h4>\n<p>\/login\u3078\u9077\u79fb\u3067\u304d\u307e\u305b\u3093\u3002404\u30a8\u30e9\u30fc\u3067\u3059\u3002<br \/>\n\u539f\u56e0\u306fnginx\u306e\u8a2d\u5b9a\u30025.4\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u901a\u308a\u306bnginx.conf\u3092\u7de8\u96c6\u3002<\/p>\n<pre><code>$ vi \/etc\/nginx\/nginx.conf\n 49         location \/ {\n 50             try_files $uri \/index.php?$query_string;\n 51         }\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u4ed6\u306e\u30da\u30fc\u30b8\u3078\u3082\u9077\u79fb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff01<br \/>\n\u4ee5\u4e0a\u304cEC2\u3078\u306e\u5f15\u3063\u8d8a\u3057\u596e\u95d8\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083&#038;t=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083&#038;text=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083&#038;title=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=docker%E3%81%8B%E3%82%89Amazon%20EC2%E3%81%B8%E3%81%AE%E5%A5%AE%E9%97%98%E8%A8%98&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5083\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>\u4eca\u307e\u3067docker\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u79c1\u3001\u52c9\u5f37\u304c\u3066\u3089Laradock\u3092\u4f7f\u3063\u3066Laravel\u3067\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f \u305d\u3053\u304b\u3089Amazon EC2\u3078\u79fb\u884c\u3059\u308b\u307e\u3067\u306e\u904e\u7a0b\u3067\u8272\u3005\u884c\u304d\u8a70\u307e\u308a\u3001 \u306a\u3093\u3068\u304bLaradock\u304b\u3089EC2\u3078 [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[165,153,130],"class_list":["post-5083","post","type-post","status-publish","format-standard","hentry","category-php","tag-amazon-ec2","tag-docker","tag-laravel"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=5083"}],"version-history":[{"count":5,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5083\/revisions"}],"predecessor-version":[{"id":5102,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5083\/revisions\/5102"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=5083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=5083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=5083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}