0
0

More than 1 year has passed since last update.

コンテナイメージから中に入る

Last updated at Posted at 2023-02-08

コンテナイメージからコンテナを立ち上げて、
そのまま中に入って、bashコマンドを使用して中身を確認できます。

ディレクトリ構造の確認などに使えます。

docker container run -it <image名> bash

中に入れました。

コンテナ内
root@n5sp8fo4noa2:/# ls
bin  boot  dev  etc  home  lib  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0