この記事は約0分30秒で読むことができます。

docker root login

[oracle@centos7 ~]$ docker exec --interactive --tty --user root --workdir / orcl_12cr2 bash
bash-4.2# whoami
root
bash-4.2# yum install -y vim
Complete!
bash-4.2# vim
bash-4.2# exit
[oracle@centos7 ~]$

Leave a Reply

Your email address will not be published. Required fields are marked *