LoginSignup
0
0

More than 3 years have passed since last update.

[Docker] rootパスワードを忘れたときのログイン方法

Posted at

rootパスワードを忘れたときのログイン方法

rootパスワードを忘れたときのログイン方法を解説します!

回答

docker exec -u 0 -it 2f /bin/bash

解説

ユーザID0を指定することによりrootでインスタンスに入ることができる。

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