서버 관리/Docker

[Docker] Ubuntu에서 man 명령어 사용

uni2237 2023. 3. 6.
728x90
728x90

😢 에러

Docker에서 설치한 Ubuntu 에서 man 명령어를 사용하려는데 에러가 났다 🤷‍♀️ 

깨알지식 (man 명령어 : 리눅스나 유닉스 시스템에서 명령어의 사용법과 정보를 확인하는 데 사용)

 

root@79c00c6b662a:/# man file
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, including manpages, you can run the 'unminimize'
command. You will still need to ensure the 'man-db' package is installed.

Docker에서 필요하지 않은 패키지들은 삭제해서 최소화를 해두었으니 다시 설치하고 unminimize하라는 내용!

 

 

 

💁‍♀️ 해결방안

# apt install man-db

# unminimize 

 

하면 끝 -

 

root@79c00c6b662a:/# apt install man-db

root@79c00c6b662a:/# unminimize
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

This script restores content and packages that are found on a default
Ubuntu server system in order to make this system more suitable for
interactive use.

Reinstallation of packages may fail due to changes to the system
configuration, the presence of third-party packages, or for other
reasons.

This operation may take some time.

Would you like to continue? [y/N] y
...(생략)

 

728x90

댓글