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

docker oracle passwd install


[oracle@centos7 ~]$ docker exec --interactive --tty --user root --workdir / orcl_12cr2 bash
bash-4.2# whereis passwd
passwd: /etc/passwd
bash-4.2# passwd
bash: passwd: command not found
bash-4.2# yum install -y passwd
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package passwd.x86_64 0:0.79-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                          Arch                             Version                                 Repository                            Size
======================================================================================================================================================
Installing:
 passwd                           x86_64                           0.79-4.el7                              ol7_latest                           104 k

Transaction Summary
======================================================================================================================================================
Install  1 Package

Total download size: 104 k
Installed size: 420 k
Downloading packages:
passwd-0.79-4.el7.x86_64.rpm                                                                                                   | 104 kB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : passwd-0.79-4.el7.x86_64                                                                                                           1/1 
  Verifying  : passwd-0.79-4.el7.x86_64                                                                                                           1/1 

Installed:
  passwd.x86_64 0:0.79-4.el7                                                                                                                          

Complete!
bash-4.2# whereis passwd
passwd: /usr/bin/passwd /etc/passwd
bash-4.2# 

Leave a Reply

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