Docker ubuntu image - bash: man: command not found -
am getting started docker , pulled basic ubuntu image. on windows 7 box running docker via docker-machine.
do not know why, not able find man command on bash. tried exporting path of man $path still no joy.
docker@default:~$ docker run -it ubuntu bash root@2dd12b770666:/# man ls bash: man: command not found root@2dd12b770666:/# whereis man man: /usr/local/man /usr/share/man root@2dd12b770666:/# export path=/usr/local/man:/usr/share/man:$path root@2dd12b770666:/# echo $path /usr/local/man:/usr/share/man:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin root@2dd12b770666:/# man bash: man: command not found root@2dd12b770666:/#
if export command not work, not sure if editing bashrc have effect. did not try yet. there else need able run man on docker image?
you have install man
command in container:
sudo apt-get install man
Comments
Post a Comment