Skip to content

Commit

Permalink
docker-system, docker-compose: add Japanese translation, update page (t…
Browse files Browse the repository at this point in the history
…ldr-pages#9828)

* docker-system: add Japanese translation

* docker-compose: add Japanese translation

* Update pages.ja/common/docker-compose.md: add a note that the container is running

* Update pages/common/docker-compose.md: exchange short option for long one

* Update pages.ja/common/docker-compose.md: exchange short option for long one

* docker-compose: update command to long flag

---------

Co-authored-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
Kumamoto-Hamachi and kbdharun authored Feb 8, 2023
1 parent d6d48e8 commit f9bad72
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages.es/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Crea e inicia todos los contenedores en segundo plano usando el archivo `docker-compose.yml` en el directorio actual:

`docker compose up -d`
`docker compose up --detach`

- Inicia todos los contenedores y reconstruye si es ncesario:

Expand Down
2 changes: 1 addition & 1 deletion pages.fr/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Crée et démarre en arrière-plan tous les conteneurs décrits dans le fichier `docker-compose.yml` du répertoire courant :

`docker compose up -d`
`docker compose up --detach`

- Démarre tous les conteneurs après les avoir recréés si nécessaire :

Expand Down
2 changes: 1 addition & 1 deletion pages.it/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Crea ed avvia tutti i container in background utilizzando il file `docker-compose.yml` nella directory corrente:

`docker compose up -d`
`docker compose up --detach`

- Avvia tutti i container, buildandoli di nuovo se necessario:

Expand Down
36 changes: 36 additions & 0 deletions pages.ja/common/docker-compose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# docker compose

> 複数コンテナを持つDockerアプリケーションの実行と管理をします。
> 詳しくはこちら: <https://docs.docker.com/compose/reference/>.
- 実行中のコンテナ全てをリスト表示する:

`docker compose ps`

- カレントディレクトリにある `docker-compose.yml`ファイルを使用してバックグラウンドで全てのコンテナを作成・起動する:

`docker compose up --detach`

- 全てのコンテナを起動し、必要に応じて再ビルドする:

`docker compose up --build`

- 代替composeファイルを使って全てのコンテナを起動する:

`docker compose --file {{ファイルパス}} up`

- 実行中の全てのコンテナを停止する:

`docker compose stop`

- 全てのコンテナ、ネットワーク、イメージ、ボリュームを停止して削除する:

`docker compose down --rmi all --volumes`

- 全てのコンテナのログをフォローする(表示し続ける):

`docker compose logs --follow`

- 特定コンテナのログをフォローする(表示し続ける):

`docker compose logs --follow {{コンテナ名}}`
36 changes: 36 additions & 0 deletions pages.ja/common/docker-system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# docker system

> Dockerのデータ管理とシステム全体に関わる情報の表示をします。
> 詳しくはこちら: <https://docs.docker.com/engine/reference/commandline/system/>.
- ヘルプの表示をする:

`docker system`

- Dockerディスクの使用量を表示する:

`docker system df`

- ディスクの使用量に関して詳細な情報を表示する:

`docker system df --verbose`

- 不使用データを削除する:

`docker system prune`

- 不使用データのうち指定時間より前に作成されたものを削除する:

`docker system prune --filter="until={{時}}h{{分}}m"`

- Dockerデーモンからのリアルタイムイベントを表示する:

`docker system events`

- コンテナからのリアルタイムイベントを適正なJSON行としてストリーム表示する:

`docker system events --filter 'type=container' --format '{{json .}}'`

- システム全体に関わる情報の表示をする:

`docker system info`
2 changes: 1 addition & 1 deletion pages.ko/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- 현재 디렉토리의 `docker-compose.yml` 파일을 사용해 모든 컨테이너를 백그라운드에서 생성하고 실행하기:

`docker compose up -d`
`docker compose up --detach`

- 모든 컨테이너 실행, 필요 시 재빌드:

Expand Down
2 changes: 1 addition & 1 deletion pages.pt_BR/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Cria e inicia todos os containers em segundo plano usando um arquivo `docker-compose.yml` do seu diretório atual:

`docker compose up -d`
`docker compose up --detach`

- Inicia todos os containers. Se necessário, realiza um rebuild:

Expand Down
2 changes: 1 addition & 1 deletion pages.tr/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Mevcut dizinde bir `docker-compose.yml` dosyası çalıştırarak arkaplandaki tüm konteynerleri çalıştırın ve başlatın:

`docker compose up -d`
`docker compose up --detach`

- Tüm konteynerleri çalıştırın ve gerekiyorsa yeniden oluşturun:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

`docker compose up -d`
`docker compose up --detach`

- Start all containers, rebuild if necessary:

Expand Down

0 comments on commit f9bad72

Please sign in to comment.