「インストール - Podman」の版間の差分

ナビゲーションに移動 検索に移動
581行目: 581行目:


==== コンテナの作成 ====
==== コンテナの作成 ====
* <code>-t</code> または <code>--tty</code>
*: コンテナに擬似TTYを割り当てる。
* <code>-d</code> または <code>--detach</code>
*: コンテナをバックグラウンドで実行して、コンテナIDを表示する。
<br>
  # コンテナを作成して、フォアグラウンドで起動
  # コンテナを作成して、フォアグラウンドで起動
  podman run --name <コンテナ名> <イメージ名>
  podman run --name <コンテナ名> <イメージ名>

案内メニュー