{"id":866,"date":"2023-05-17T02:55:27","date_gmt":"2023-05-16T17:55:27","guid":{"rendered":"https:\/\/shinke1987.net\/?p=866"},"modified":"2023-09-17T15:26:52","modified_gmt":"2023-09-17T06:26:52","slug":"laravel-sail-%e3%81%ae%e9%96%8b%e7%99%ba%e5%8b%89%e5%bc%b7%e7%92%b0%e5%a2%83%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"https:\/\/shinke1987.net\/?p=866","title":{"rendered":"Laravel Sail \u306e\u958b\u767a\u52c9\u5f37\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7"},"content":{"rendered":"\n<h2 id=\"toc0\" class=\"wp-block-heading\">\u6982\u8981<\/h2>\n\n\n\n<p>Laravel Sail\u3092\u958b\u767a\u52c9\u5f37\u74b0\u5883\u69cb\u7bc9\u306e\u305f\u3081\u306bWindows\u306eWSL\u3092\u5229\u7528\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3002<br>\u4eca\u5f8c\u3001\u3082\u3057\u30a8\u30e9\u30fc\u7b49\u304c\u51fa\u305f\u5834\u5408\u306b\u7279\u5225\u306a\u7406\u7531\u304c\u7121\u3051\u308c\u3070\u3001<br>XAMPP\u3067\u69cb\u7bc9\u3057\u305f\u65b9\u304c\u697d\u304b\u3082\u3057\u308c\u306a\u3044\u3068\u601d\u3063\u305f\u3002<\/p>\n\n\n\n<h2 id=\"toc1\" class=\"wp-block-heading\">\u53c2\u8003\u306b\u3057\u305fWeb\u30da\u30fc\u30b8<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Laravel Sail &#8211; Laravel &#8211; The PHP Framework For Web Artisans<br><a href=\"https:\/\/laravel.com\/docs\/8.x\/sail#introduction\">https:\/\/laravel.com\/docs\/8.x\/sail#introduction<\/a><br><a href=\"https:\/\/laravel.com\/docs\/10.x\/sail\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/laravel.com\/docs\/10.x\/sail<\/a><\/li>\n\n\n\n<li>How to Install Laravel PHP Framework on Rocky Linux | <a href=\"http:\/\/Atlantic.Net\">Atlantic.Net<\/a><br>\uff08\u5b9f\u969b\u306bRedHat\u7cfb\u30c7\u30a3\u30b9\u30c8\u30ea\u3067\u516c\u958b\u3059\u308b\u6642\u306b\u53c2\u8003\u306b\u306a\u308a\u305d\u3046\uff09<br><a href=\"https:\/\/www.atlantic.net\/dedicated-server-hosting\/how-to-install-laravel-php-framework-on-rocky-linux-8\/\">https:\/\/www.atlantic.net\/dedicated-server-hosting\/how-to-install-laravel-php-framework-on-rocky-linux-8\/<\/a><\/li>\n\n\n\n<li>Docker on wsl2\u304c\u3046\u3093\u3068\u3082\u3059\u3093\u3068\u3082\u8a00\u308f\u306a\u304f\u306a\u3063\u305f &#8211; Qiita<br><a href=\"https:\/\/qiita.com\/F_clef\/items\/0827eff5205f2aa104f1\">https:\/\/qiita.com\/F_clef\/items\/0827eff5205f2aa104f1<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"toc2\" class=\"wp-block-heading\">\u624b\u9806<\/h2>\n\n\n\n<h3 id=\"toc3\" class=\"wp-block-heading\">WSL\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-shinke-1987-net wp-block-embed-shinke-1987-net\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"f4JS375IxP\"><a href=\"https:\/\/shinke1987.net\/?p=844\">WSL(Windows Subsystem for Linux)\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;WSL(Windows Subsystem for Linux)\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7&#8221; &#8212; shinke1987.net\" src=\"https:\/\/shinke1987.net\/?p=844&#038;embed=true#?secret=hz1hcPL9iC#?secret=f4JS375IxP\" data-secret=\"f4JS375IxP\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306bWSL\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<h3 id=\"toc4\" class=\"wp-block-heading\">Docker Desktop \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n\n\n\n<p>Docker Desktop \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001<br>Docker Desktop \u306b\u3066WSL\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c7\u30a3\u30b9\u30c8\u30ea\u304b\u3089<br>Docker\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"582\" src=\"https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-1024x582.png\" alt=\"\" class=\"wp-image-861\" srcset=\"https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-1024x582.png 1024w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-300x170.png 300w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-768x436.png 768w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-1536x873.png 1536w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-2048x1163.png 2048w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-120x68.png 120w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/20230516_DockerDesktop-160x90.png 160w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 id=\"toc5\" class=\"wp-block-heading\">Laravel\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n\n\n\n<h4 id=\"toc6\" class=\"wp-block-heading\">curl\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u305f\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<br>\uff08RedHat\u7cfb\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u3060\u3068\u8a70\u307e\u308b\u306e\u3067\u6ce8\u610f\uff09<\/h4>\n\n\n\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Laravel\u306e\u305f\u3081\u306bDB\u306a\u3069\u3092\u542b\u3080Docker\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u308b\u3068\u306e\u3053\u3068\u3060\u304c\u3001\u30cf\u30de\u3063\u305f\u90e8\u5206\u304c\u3042\u3063\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/laravel.build\/\u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d | bash\n<\/pre><\/div>\n\n\n<p><br>\u4e0a\u8a18URL\u304b\u3089\u53d6\u5f97\u3067\u304d\u308b\u306e\u306f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3001<br>\u5185\u5bb9\u3092\u8aad\u3080\u3068\u6700\u521d\u306bdocker info\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066docker\u304c\u4f7f\u3048\u308b\u72b6\u614b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u304c\u3001<br>Windows\u3092\u518d\u8d77\u52d5\u3057\u306a\u3044\u3068\u30c7\u30a3\u30b9\u30c8\u30ea\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089docker info\u306e\u7d50\u679c\u304c\u51fa\u3066\u3053\u306a\u304f\u306a\u308a\u3001<br>\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u307e\u307e\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u524d\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304f\u308b\u304b\u78ba\u8a8d\u3057\u305f\u65b9\u304c\u826f\u3044\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ docker info\n<\/pre><\/div>\n\n\n<p>docker info\u304c\u5b9f\u884c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u9032\u3081\u308b\u3068\u3001apt-get\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u305f\u304c\u3001<br>WSL\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u30c7\u30a3\u30b9\u30c8\u30ea\u304cRedHat\u7cfb\u306eOracleLinux\u306a\u306e\u3067apt-get\u306f\u4f7f\u3048\u306a\u3044\u3002<br>\u306a\u306e\u3067\u3001\u307e\u305f\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u307e\u307e\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>WSL\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3068\u6a19\u6e96\u3067Ubuntu\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u304c\u3001<br>\u308f\u3056\u308f\u3056\u30c7\u30a3\u30b9\u30c8\u30ea\u3092\u5909\u66f4\u3057\u3066\u3044\u308b\u3068\u3053\u3053\u3067\u8a70\u307e\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3002<\/p>\n\n\n\n<h4 id=\"toc7\" class=\"wp-block-heading\">https:\/\/laravel.build\/&lt;\u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d&gt;\u3067\u53d6\u5f97\u3067\u304d\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u5bb9<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ndocker info &gt; \/dev\/null 2&gt;&amp;1\n# Ensure that Docker is running...\nif &#x5B; $? -ne 0 ]; then\n    echo &quot;Docker is not running.&quot;\n    exit 1\nfi\ndocker run --rm \\\n    --pull=always \\\n    -v &quot;$(pwd)&quot;:\/opt \\\n    -w \/opt \\\n    laravelsail\/php82-composer:latest \\\n    bash -c &quot;laravel new \u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d &amp;&amp; cd 20230516test &amp;&amp; php .\/artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium &quot; \ncd 20230516test\n.\/vendor\/bin\/sail pull mysql redis meilisearch mailpit selenium\n.\/vendor\/bin\/sail build\nCYAN=&#039;\\033&#x5B;0;36m&#039;\nLIGHT_CYAN=&#039;\\033&#x5B;1;36m&#039;\nBOLD=&#039;\\033&#x5B;1m&#039;\nNC=&#039;\\033&#x5B;0m&#039;\necho &quot;&quot;\nif sudo -n true 2&gt;\/dev\/null; then\n    sudo chown -R $USER: .\n    echo -e &quot;${BOLD}Get started with:${NC} cd \u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d &amp;&amp; .\/vendor\/bin\/sail up&quot; \nelse\n    echo -e &quot;${BOLD}Please provide your password so we can make some final adjustments to your application&#039;s permissions.${NC}&quot;\n    echo &quot;&quot;\n    sudo chown -R $USER: .\n    echo &quot;&quot;\n    echo -e &quot;${BOLD}Thank you! We hope you build something incredible. Dive in with:${NC} cd \u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d &amp;&amp; .\/vendor\/bin\/sail up&quot; \nfi\n<\/pre><\/div>\n\n\n<h4 id=\"toc8\" class=\"wp-block-heading\">WSL\u306bUbuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<p>apt-get\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3001Debian\u7cfb\u306eUbuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n&gt; wsl --install -d Ubuntu\n<\/pre><\/div>\n\n\n<h4 id=\"toc9\" class=\"wp-block-heading\">Ubuntu\u304b\u3089curl\u3092\u5229\u7528\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h4>\n\n\n\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/laravel.build\/20230516test | bash\n<\/pre><\/div>\n\n\n<p>\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  1039    0  1039    0     0   2172      0 --:--:-- --:--:-- --:--:--  2173\nDocker is not running.\n<\/pre><\/div>\n\n\n<p>WSL\u306e\u898f\u5b9a\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u306bUbuntu\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u3068\u3053\u306e\u7d50\u679c\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308b\u3089\u3057\u3044\u306e\u3067\u3001<br>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067Ubuntu\u3092WSL\u306e\u898f\u5b9a\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n&gt; wsl -s Ubuntu\n<\/pre><\/div>\n\n\n<p>\u5ff5\u306e\u305f\u3081Docker Desktop\u3084Ubuntu\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u518d\u5ea6\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/laravel.build\/20230516test | bash\n<\/pre><\/div>\n\n\n<p>\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  1039    0  1039    0     0    969      0 --:--:--  0:00:01 --:--:--   970\nlatest: Pulling from laravelsail\/php82-composer\nDigest: sha256:37549f980be6146efcb16b0dc352644edfc5cca32b9862494631eb197ef89737\nStatus: Image is up to date for laravelsail\/php82-composer:latest\n   _                               _\n  | |                             | |\n  | |     __ _ _ __ __ ___   _____| |\n  | |    \/ _` | &#039;__\/ _` \\ \\ \/ \/ _ \\ |\n  | |___| (_| | | | (_| |\\ V \/  __\/ |\n  |______\\__,_|_|  \\__,_| \\_\/ \\___|_|\n   WARN  TTY mode requires \/dev\/tty to be read\/writable.\n    Creating a &quot;laravel\/laravel&quot; project at &quot;.\/20230516test&quot;\n    https:\/\/repo.packagist.org could not be fully loaded (curl error 28 while downloading https:\/\/repo.packagist.org\/packages.json: Failed to connect to repo.packagist.org port 443: Connection timed out), package information was loaded from the local cache and may be out of date\n    In CurlDownloader.php line 365:\n      curl error 28 while downloading https:\/\/repo.packagist.org\/p2\/laravel\/larav\n  el.json: Failed to connect to repo.packagist.org port 443: Connection timed\n   out\n    create-project &#x5B;-s|--stability STABILITY] &#x5B;--prefer-source] &#x5B;--prefer-dist] &#x5B;--prefer-install PREFER-INSTALL] &#x5B;--repository REPOSITORY] &#x5B;--repository-url REPOSITORY-URL] &#x5B;--add-repository] &#x5B;--dev] &#x5B;--no-dev] &#x5B;--no-custom-installers] &#x5B;--no-scripts] &#x5B;--no-progress] &#x5B;--no-secure-http] &#x5B;--keep-vcs] &#x5B;--remove-vcs] &#x5B;--no-install] &#x5B;--no-audit] &#x5B;--audit-format AUDIT-FORMAT] &#x5B;--ignore-platform-req IGNORE-PLATFORM-REQ] &#x5B;--ignore-platform-reqs] &#x5B;--ask] &#x5B;--] &#x5B;&amp;lt;package&gt; &#x5B;&amp;lt;directory&gt; &#x5B;&amp;lt;version&gt;]]]\nbash: line 17: cd: 20230516test: No such file or directory\nbash: line 19: .\/vendor\/bin\/sail: No such file or directory\nbash: line 20: .\/vendor\/bin\/sail: No such file or directory\nPlease provide your password so we can make some final adjustments to your application&#039;s permissions.\n&#x5B;sudo] password for shinke:\nThank you! We hope you build something incredible. Dive in with: cd 20230516test &amp;amp;&amp;amp; .\/vendor\/bin\/sail up\n<\/pre><\/div>\n\n\n<p><br>\u8981\u3059\u308b\u306bcurl\u3067https:\/\/repo.packagist.org\/packages.json\u3092<br>\u8aad\u307f\u8fbc\u3082\u3046\u3068\u3057\u305f\u3089\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306b\u306a\u308a\u307e\u3057\u305f\u3001\u3063\u3066\u3053\u3068\u3089\u3057\u3044\u306e\u3067\u3001<br>\u8a66\u3057\u306b\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/repo.packagist.org\/packages.json\n<\/pre><\/div>\n\n\n<p>\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u304b\u3068\u601d\u3063\u305f\u3089\u554f\u984c\u7121\u304f\u8868\u793a\u3055\u308c\u305f\u3002<br>\u307e\u305f\u3001Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089packages.json\u3092\u8868\u793a\u3057\u305f\u304c\u3001\u6587\u5b57\u5217\u306b\u9055\u3044\u306f\u7121\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u5ff5\u306e\u305f\u3081Windows\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u518d\u5ea6\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/laravel.build\/test | bash\n<\/pre><\/div>\n\n\n<p>\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndocker: Error response from daemon: dial unix \/mnt\/wsl\/docker-desktop\/shared-sockets\/guest-services\/docker.proxy.sock: connect: no such file or directory.\n<\/pre><\/div>\n\n\n<p><a href=\"https:\/\/qiita.com\/F_clef\/items\/0827eff5205f2aa104f1\" data-type=\"URL\" data-id=\"https:\/\/qiita.com\/F_clef\/items\/0827eff5205f2aa104f1\" target=\"_blank\" rel=\"noreferrer noopener\">\u3053\u306e\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u8003\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ sudo rm \/usr\/share\/doc\/docker-ce-cli\/changelog.Debian.gz\n$ sudo rm \/usr\/run\/docker*\n<\/pre><\/div>\n\n\n<p>Docker Desktop\u3092\u518d\u8d77\u52d5\u5f8c\u3001\u518d\u5ea6\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u7121\u4e8b\u5b8c\u4e86\u3057\u305f\u69d8\u5b50\u3060\u3063\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl https:\/\/laravel.build\/test | bash\n<\/pre><\/div>\n\n\n<p>\u306a\u306e\u3067\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067Laravel\u3092\u5b9f\u884c\u3057\u3066\u3001<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd \u8a2d\u5b9a\u3057\u305f\u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\n$ .\/vendor\/bin\/sail up\n<\/pre><\/div>\n\n\n<p>\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u30b5\u30fc\u30d0\u3078\u306e\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u72b6\u614b\u3067Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089http:\/\/localhost\/\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001<br>\u6b21\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u3001\u3072\u3068\u307e\u305aLaravel\u306f\u52d5\u3044\u3066\u3044\u308b\u3068\u5224\u65ad\u3057\u3066\u3001<br>\u3068\u308a\u3042\u3048\u305a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5b8c\u4e86\u3068\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-1024x488.png\" alt=\"\" class=\"wp-image-867\" srcset=\"https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-1024x488.png 1024w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-300x143.png 300w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-768x366.png 768w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-1536x733.png 1536w, https:\/\/shinke1987.net\/wp-content\/uploads\/2023\/05\/2023-05-17-01.32.15-localhost-847dcac33492-2048x977.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Laravel Sail\u3092\u958b\u767a\u52c9\u5f37\u74b0\u5883\u69cb\u7bc9\u306e\u305f\u3081\u306bWindows\u306eWSL\u3092\u5229\u7528\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3002\u4eca\u5f8c\u3001\u3082\u3057\u30a8\u30e9\u30fc\u7b49\u304c\u51fa\u305f\u5834\u5408\u306b\u7279\u5225\u306a\u7406\u7531\u304c\u7121\u3051\u308c\u3070\u3001XAMPP\u3067\u69cb\u7bc9\u3057\u305f\u65b9\u304c\u697d\u304b\u3082\u3057\u308c\u306a\u3044\u3068\u601d\u3063\u305f\u3002 \u53c2\u8003\u306b\u3057\u305fW [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96,80],"tags":[88,81,17,87],"class_list":["post-866","post","type-post","status-publish","format-standard","hentry","category-laravel","category-php","tag-laravel","tag-php","tag-windows","tag-wsl"],"_links":{"self":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=866"}],"version-history":[{"count":7,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/866\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/866\/revisions\/874"}],"wp:attachment":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}