{"id":1349,"date":"2022-02-26T20:25:07","date_gmt":"2022-02-26T11:25:07","guid":{"rendered":"http:\/\/snow-cat.net\/?p=1349"},"modified":"2022-02-26T20:25:11","modified_gmt":"2022-02-26T11:25:11","slug":"docker%e3%81%a7mysql%e3%81%ae%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e3%81%ae%e3%83%93%e3%83%ab%e3%83%89%e3%81%a7%e5%a4%b1%e6%95%97%e3%81%97%e3%81%9f%e9%9a%9b%e3%81%ae%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/snow-cat.net\/?p=1349","title":{"rendered":"docker\u3067mysql\u306e\u30b3\u30f3\u30c6\u30ca\u306e\u30d3\u30eb\u30c9\u3067\u5931\u6557\u3057\u305f\u969b\u306e\u89e3\u6c7a\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u5148\u65e5\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3082\u624b\u3092\u4ed8\u3051\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u306a\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001mysql\u306edocker\u30b3\u30f3\u30c6\u30ca\u306e\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u89e3\u6c7a\u7b56\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Dockerfile\u306e\u4e2d\u8eab\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FROM mysql:5.6\n\nRUN apt update\nRUN apt install -y openssh-server vim<\/code><\/pre>\n\n\n\n<p>\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092clone\u3057\u305f\u306f\u3044\u3044\u3082\u306e\u306e\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3059\u308b\u3068\u304b\u305d\u3093\u306a\u304a\u8a71\u3060\u3063\u305f\u306e\u3067\u3001Mac\u3067\u74b0\u5883\u69cb\u7bc9\u3059\u308b\u306e\u3082\u3081\u3093\u3069\u304f\u3055\u3044\u3057\u3001docker\u74b0\u5883\u3067\u3082\u6574\u5099\u3057\u3088\u3046\u3068\u3057\u3066\u8d77\u304d\u305f\u30a8\u30e9\u30fc\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>=&gt; ERROR &#91;2\/3] RUN apt update                                                                                    5.1s\n------                                                                                                                 \n &gt; &#91;2\/3] RUN apt update:                                                                                               \n#6 0.335                                                                                                               \n#6 0.335 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.                               \n#6 0.335                                                                                                               \n#6 0.562 Get:1 http:\/\/security.debian.org\/debian-security stretch\/updates InRelease &#91;53.0 kB]\n#6 0.571 Ign:2 http:\/\/deb.debian.org\/debian stretch InRelease\n#6 0.595 Get:3 http:\/\/repo.mysql.com\/apt\/debian stretch InRelease &#91;21.6 kB]\n#6 0.639 Get:4 http:\/\/deb.debian.org\/debian stretch-updates InRelease &#91;93.6 kB]\n#6 0.765 Get:5 http:\/\/deb.debian.org\/debian stretch Release &#91;118 kB]\n#6 0.801 Get:6 http:\/\/security.debian.org\/debian-security stretch\/updates\/main amd64 Packages &#91;771 kB]\n#6 0.846 Get:7 http:\/\/deb.debian.org\/debian stretch Release.gpg &#91;3177 B]\n#6 0.866 Err:3 http:\/\/repo.mysql.com\/apt\/debian stretch InRelease\n#6 0.866   The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering &lt;mysql-build@oss.oracle.com&gt;\n#6 1.246 Get:8 http:\/\/deb.debian.org\/debian stretch\/main amd64 Packages &#91;7080 kB]\n#6 4.370 Reading package lists...\n#6 4.990 W: GPG error: http:\/\/repo.mysql.com\/apt\/debian stretch InRelease: The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering &lt;mysql-build@oss.oracle.com&gt;\n#6 4.990 E: The repository 'http:\/\/repo.mysql.com\/apt\/debian stretch InRelease' is not signed.\n------\nfailed to solve: rpc error: code = Unknown desc = executor failed running &#91;\/bin\/sh -c apt update]: exit code: 100<\/code><\/pre>\n\n\n\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u8a3c\u660e\u66f8\u304c\u5207\u308c\u3066\u308b\u3068\u306e\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u8a3c\u660e\u66f8\u3092\u66f4\u65b0\u3057\u3066\u3082\u3044\u3044\u306e\u3067\u3059\u304c\u3001docker\u30d5\u30a1\u30a4\u30eb\u306b\u3044\u3061\u3044\u3061\u8a18\u8f09\u3057\u305f\u308a\u3059\u308b\u306e\u3082\u3084\u3060\u3057\u3001\u5fc5\u305a\u3057\u3082\u4ed6\u306e\u4eba\u306e\u74b0\u5883\u3067\u3082\u8d77\u304d\u308b\u3053\u3068\u3067\u3082\u306a\u3044\u306a\u3068\u8003\u3048\u3066\u3001apt\u3067\u306f\u306a\u304fapt-get\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4fee\u6b63\u3057\u305fDockerfile\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FROM mysql:5.6\n\nRUN apt<meta charset=\"utf-8\">-get update\nRUN apt-get install -y openssh-server vim<\/code><\/pre>\n\n\n\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3084\u3063\u305f\u3089\u7121\u4e8b\u306b\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3082\u624b\u3092\u4ed8\u3051\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u306a\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001mysql\u306edo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1349","post","type-post","status-publish","format-standard","hentry","category-1"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pattVc-lL","jetpack-related-posts":[{"id":547,"url":"https:\/\/snow-cat.net\/?p=547","url_meta":{"origin":1349,"position":0},"title":"swagger\u306e\u74b0\u5883\u69cb\u7bc9","author":"hiro","date":"2020\u5e746\u67086\u65e5","format":false,"excerpt":"swagger\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u52c9\u5f37\u4f1a\u306b\u53c2\u52a0\u3057\u305f\u306e\u3067\u3001swagger\u306e\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u305f\u30e2\u30c3\u30af\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u3066\u307f\u2026","rel":"","context":"\u6280\u8853","block_context":{"text":"\u6280\u8853","link":"https:\/\/snow-cat.net\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2020\/06\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2020-06-06-16.57.38-3-300x25.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":959,"url":"https:\/\/snow-cat.net\/?p=959","url_meta":{"origin":1349,"position":1},"title":"heroku\u306bdocker-compose\u3092\u4f7f\u3063\u3066Laravel\u88fd\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","author":"hiro","date":"2021\u5e745\u67082\u65e5","format":false,"excerpt":"\u6700\u8fd1\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30d5\u30e9\u3069\u3046\u3057\u3088\u3046\u304b\u306a\u3068\u601d\u3063\u3066\u3068\u308a\u3042\u3048\u305aheroku\u3067\u884c\u3053\u3046\u3068\u2026","rel":"","context":"heroku","block_context":{"text":"heroku","link":"https:\/\/snow-cat.net\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":775,"url":"https:\/\/snow-cat.net\/?p=775","url_meta":{"origin":1349,"position":2},"title":"Laravel\u306e\u81ea\u52d5\u30c6\u30b9\u30c8\u3092MySQL\u3067\u884c\u3046\u65b9\u6cd5","author":"hiro","date":"2020\u5e7412\u670819\u65e5","format":false,"excerpt":"\u958b\u767a\u304c\u3072\u3068\u6bb5\u843d\u3057\u3066\u304d\u305f\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u305d\u308d\u305d\u308d\u81ea\u52d5\u30c6\u30b9\u30c8\u5165\u308c\u305f\u3044\u3088\u306d\u30fc\u3068\u3044\u3046\u3053\u3068\u3067\u81ea\u52d5\u30c6\u30b9\u30c8\u3092\u3084\u308d\u3046\u2026","rel":"","context":"PHP","block_context":{"text":"PHP","link":"https:\/\/snow-cat.net\/?cat=20"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":947,"url":"https:\/\/snow-cat.net\/?p=947","url_meta":{"origin":1349,"position":3},"title":"October\u3092Mac\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","author":"hiro","date":"2021\u5e743\u670828\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u7686\u3055\u3093\u306f\u666e\u6bb5CMS\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f \u4ee5\u524dwagtail\u3092\u89e6\u3063\u3066\u3044\u305f\u306e\u3067\u2026","rel":"","context":"PHP","block_context":{"text":"PHP","link":"https:\/\/snow-cat.net\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/03\/qa-207x300.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1000,"url":"https:\/\/snow-cat.net\/?p=1000","url_meta":{"origin":1349,"position":4},"title":"Assertion failed: (thread_id key != 0x7777), function find thread_id key, file ..\/src\/coroutine.cc\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u7b56","author":"hiro","date":"2021\u5e745\u67084\u65e5","format":false,"excerpt":"Laravel\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067Vue.js\u5074\u958b\u767a\u3057\u3066\u305f\u3089\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u7d50\u69cb\u56f0\u3063\u305f\u306e\u3067\u305d\u306e\u6642\u306e\u89e3\u6c7a\u2026","rel":"","context":"JavaScript","block_context":{"text":"JavaScript","link":"https:\/\/snow-cat.net\/?cat=11"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":898,"url":"https:\/\/snow-cat.net\/?p=898","url_meta":{"origin":1349,"position":5},"title":"amplify\u3067\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u516c\u958b\u3059\u308b","author":"hiro","date":"2021\u5e742\u670814\u65e5","format":false,"excerpt":"\u6700\u8fd1\u7c21\u5358\u306aweb\u30b5\u30a4\u30c8\u306a\u3089amplify\u3067\u3084\u308a\u305f\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u57fa\u672c\u7684\u306awe\u2026","rel":"","context":"AWS","block_context":{"text":"AWS","link":"https:\/\/snow-cat.net\/?cat=16"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/02\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-02-14-21.37.59-300x273.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1349"}],"version-history":[{"count":5,"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions"}],"predecessor-version":[{"id":1357,"href":"https:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions\/1357"}],"wp:attachment":[{"href":"https:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}