- Windows: Docker Desktop
docker-compose -f docker-compose.yml up --watch # also use -w
# check
docker ps
check on browser http://localhost:8080
# Containers
docker container stop wp mysql && docker container rm wp mysql
# Volumes
docker volume rm [hoge hoge] # nead to specify id
file/dir name | meaning |
---|---|
.env |
passwordなど編集して使用できる予定たぶん |
-
- Exec: コンテナ内の CLI
- Files: コンテナ内の ファイルを表しているみたい
- Stats: ながめる
Command | 概要 |
---|---|
wp admin | ブラウザで /wp-admin/ を開く |
wp cache | WPオブジェクトのCacheObjectの 操作 |
wp cap | ユーザー権限の操作 |
wp cli | ... |
wp comment | |
wp config | |
wp core | |
wp db | |
wp dist-archive | |
wp embed | |
wp eval | |
wp eval-file | |
wp export | |
wp find | |
wp help | |
wp i18n | |
wp import | |
wp language | |
wp maintenance-mode | |
wp media | |
wp menu | |
wp network | |
wp option | |
wp package | |
wp plugin | |
wp post | |
wp post-type | |
wp profile | |
wp rewrite | |
wp role | |
wp scaffold | |
wp search-replace | |
wp server | |
wp shell | |
wp sidebar | |
wp site | |
wp super-admin | |
wp taxonomy | |
wp term | |
wp theme | |
wp transient | |
wp user | |
wp widget |
more: WP-CLI Commands