./composer.json has been updated
Running composer update laravel/sail
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
INFO Discovering packages.
laravel/sail ....................................................................................................... DONE
laravel/sanctum ............................................................................................. DONE
laravel/tinker .................................................................................................... DONE
nesbot/carbon .................................................................................................. DONE
nunomaduro/collision ..................................................................................... DONE
nunomaduro/termwind .................................................................................. DONE
spatie/laravel-ignition ................................................................................... DONE
83 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force
INFO No publishable resources for tag [laravel-assets].
Found 6 security vulnerability advisories affecting 5 packages.
Run "composer audit" for a full list of advisories.
Using version ^1.41 for laravel/sail
PS C:\Users\sutar\PhpLaravel\example-app> php artisan vendor:publish --tag=laravel-assets --ansi --force
INFO No publishable resources for tag [laravel-assets].
Which services would you like to install? [mysql]
mysql ......................................................................................................... 0
pgsql .......................................................................................................... 1
mariadb .................................................................................................... 2
mongodb ................................................................................................. 3
redis ........................................................................................................... 4
valkey ........................................................................................................ 5
memcached ............................................................................................. 6
meilisearch .............................................................................................. 7
typesense .................................................................................................. 8
minio .......................................................................................................... 9
mailpit ........................................................................................................ 10
selenium ................................................................................................... 11
soketi ........................................................................................................ 12
❯ 0
The system cannot find the path specified.
INFO Sail scaffolding installed successfully. You may run your Docker containers using Sail's "up" command.
➜ ./vendor/bin/sail up
WARN A database service was installed. Run "artisan migrate" to prepare your database:
➜ ./vendor/bin/sail artisan migrate
PS C:\Users\sutar\PhpLaravel\example-app> ./vendor/bin/sail up
/bin/bash: C:\Users\sutar\PhpLaravel\example-app\vendor\bin\/../laravel/sail/bin/sail: No such file or directory
bashコマンドがwindowsでエラーが発生する場合
bash ./vendor/laravel/sail/bin/sail upを使いましょう
PS C:\Users\sutar\PhpLaravel\example-app> bash ./vendor/laravel/sail/bin/sail up
Docker is not running. が表示される場合はDocker deaktopを起動してみてください
PS C:\Users\sutar\PhpLaravel\example-app> bash ./vendor/laravel/sail/bin/sail up
[+] Running 9/9
✔ mysql Pulled 25.7s
✔ 6a4a3ef82cdc Pull complete 7.0s
✔ 5518b09b1089 Pull complete 7.3s
✔ b6b576315b62 Pull complete 22.1s
✔ 349b52643cc3 Pull complete 22.1s
✔ abe8d2406c31 Pull complete 22.1s
✔ c7668948e14a Pull complete 22.1s
✔ c7e93886e496 Pull complete 22.1s
! laravel.test Warning Get "https://sail-8.3/v2/": dialing sail-8.3:443 container via direct connection because static system has ... 10.2s
Compose now can delegate build to bake for better performances
Just set COMPOSE_BAKE=true
[+] Building 318.8s (19/19) FINISHED docker:default
=> [laravel.test internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.58kB 0.0s
=> [laravel.test internal] load metadata for docker.io/library/ubuntu:24.04 2.8s
=> [laravel.test internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [laravel.test 1/13] FROM docker.io/library/ubuntu:24.04@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782 5.0s
=> => resolve docker.io/library/ubuntu:24.04@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782 0.0s
=> => sha256:3afff29dffbc200d202546dc6c4f614edc3b109691e7ab4aa23d02b42ba86790 424B / 424B 0.0s
=> => sha256:a04dc4851cbcbb42b54d1f52a41f5f9eca6a5fd03748c3f6eb2cbeb238ca99bd 2.30kB / 2.30kB 0.0s
=> => sha256:5a7813e071bfadf18aaa6ca8318be4824a9b6297b3240f2cc84c1db6f4113040 29.75MB / 29.75MB 1.7s
=> => sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782 6.69kB / 6.69kB 0.0s
=> => extracting sha256:5a7813e071bfadf18aaa6ca8318be4824a9b6297b3240f2cc84c1db6f4113040 3.1s
=> [laravel.test internal] load build context 0.0s
=> => transferring context: 1.12kB 0.0s
=> [laravel.test 2/13] WORKDIR /var/www/html 0.4s
=> [laravel.test 3/13] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone 0.3s
=> [laravel.test 4/13] RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && echo "Acquire::http::No-Cache true;" >> /etc/apt/apt 0.5s
=> [laravel.test 5/13] RUN apt-get update && apt-get upgrade -y && mkdir -p /etc/apt/keyrings && apt-get install -y gnupg gosu curl ca-certificates 282.4s
=> [laravel.test 6/13] RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.3 0.3s
=> [laravel.test 7/13] RUN userdel -r ubuntu 0.6s
=> [laravel.test 8/13] RUN groupadd --force -g 1000 sail 0.6s
=> [laravel.test 9/13] RUN useradd -ms /bin/bash --no-user-group -g 1000 -u 1337 sail 0.6s
=> [laravel.test 10/13] COPY start-container /usr/local/bin/start-container 0.0s
=> [laravel.test 11/13] COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf 0.0s
=> [laravel.test 12/13] COPY php.ini /etc/php/8.3/cli/conf.d/99-sail.ini 0.0s
=> [laravel.test 13/13] RUN chmod +x /usr/local/bin/start-container 0.4s
=> [laravel.test] exporting to image 24.8s
=> => exporting layers 24.8s
=> => writing image sha256:0bb8d5b75a6cb6e9ce7925fd6a3e0b57c33bdec68ac54c86388176aee5c37418 0.0s
=> => naming to sail-8.3/app 0.0s
=> [laravel.test] resolving provenance for metadata file 0.0s
[+] Running 5/5
✔ laravel.test Built 0.0s
✔ Network example-app_sail Created 0.0s
✔ Volume "example-app_sail-mysql" Created 0.0s
✔ Container example-app-mysql-1 Created 0.1s
✔ Container example-app-laravel.test-1 Created 0.1s
Attaching to laravel.test-1, mysql-1
mysql-1 | [Entrypoint] MySQL Docker Image 8.0.32-1.2.11-server
mysql-1 | [Entrypoint] Initializing database
mysql-1 | 2025-04-08T01:42:14.732472Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql-1 | 2025-04-08T01:42:14.732575Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.32) initializing of server in progress as process 17
mysql-1 | 2025-04-08T01:42:14.741761Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
laravel.test-1 | 2025-04-08 01:42:15,096 INFO Set uid to user 0 succeeded
laravel.test-1 | 2025-04-08 01:42:15,098 INFO supervisord started with pid 1
mysql-1 | 2025-04-08T01:42:15.110581Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
laravel.test-1 | 2025-04-08 01:42:16,111 INFO spawned: 'php' with pid 16
mysql-1 | 2025-04-08T01:42:16.223993Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
laravel.test-1 | 2025-04-08 01:42:17,113 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mysql-1 | [Entrypoint] Database initialized
mysql-1 | 2025-04-08T01:42:19.653427Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql-1 | 2025-04-08T01:42:19.655930Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 60
mysql-1 | 2025-04-08T01:42:19.670518Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1 | 2025-04-08T01:42:19.805493Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql-1 | 2025-04-08T01:42:20.046040Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql-1 | 2025-04-08T01:42:20.046091Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql-1 | 2025-04-08T01:42:20.061814Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
mysql-1 | 2025-04-08T01:42:20.061986Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/lib/mysql/mysql.sock' port: 0 MySQL Community Server - GPL.
mysql-1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql-1 | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
laravel.test-1 |
laravel.test-1 | INFO Server running on
.
laravel.test-1 |
laravel.test-1 | Press Ctrl+C to stop the server
laravel.test-1 |
mysql-1 | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mysql-1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql-1 | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql-1 |
mysql-1 | [Entrypoint] running /docker-entrypoint-initdb.d/10-create-testing-database.sh
mysql-1 | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql-1 |
mysql-1 | 2025-04-08T01:42:22.145446Z 15 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.32).
mysql-1 | 2025-04-08T01:42:23.717126Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32) MySQL Community Server - GPL.
mysql-1 | [Entrypoint] Server shut down
mysql-1 |
mysql-1 | [Entrypoint] MySQL init process done. Ready for start up.
mysql-1 |
mysql-1 | [Entrypoint] Starting MySQL 8.0.32-1.2.11-server
mysql-1 | 2025-04-08T01:42:24.349065Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql-1 | 2025-04-08T01:42:24.349727Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
mysql-1 | 2025-04-08T01:42:24.355952Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1 | 2025-04-08T01:42:24.441341Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql-1 | 2025-04-08T01:42:24.560877Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql-1 | 2025-04-08T01:42:24.560924Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql-1 | 2025-04-08T01:42:24.576746Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
mysql-1 | 2025-04-08T01:42:24.576862Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server - GPL.
Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 2/2
✔ Container example-app-laravel.test-1 Stopped 1.0s
✔ Container example-app-mysql-1 Stopped 1.3s
PS C:\Users\sutar\PhpLaravel\example-app> wsl --list --verbose
NAME STATE VERSION
* Ubuntu Running 2
docker-desktop Running 2
PS C:\Users\sutar\PhpLaravel\message-board> bash ./vendor/laravel/sail/bin/sail up -d
[+] Running 4/4
✔ Network message-board_sail Created 0.1s
✔ Volume "message-board_sail-mysql" Created 0.0s
✔ Container message-board-mysql-1 Started 0.6s
✔ Container message-board-laravel.test-1 Started 0.8s
PS C:\Users\sutar\PhpLaravel\message-board> php -v
PHP 8.2.0 (cli) (built: Dec 6 2022 15:31:23) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.0, Copyright (c) Zend Technologies
PS C:\Users\sutar\PhpLaravel\message-board> which php
which: The term 'which' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.