새소식

반응형
Tool/DocKer

Docker 리눅스(우분투/아마존리눅스 ) top command not found 해결

  • -
반응형

2024-01-24


 

사진: Unsplash 의 Jigar Panchal


1. 방법

 

우분투 apt
$ apt install procps

 

아마존 리눅스 yum
$ yum install procps

설치후 top 커맨드 실행시 정상 동작한다. 


2. 출처

https://superuser.com/questions/1646014/there-is-no-top-command-in-docker-container

 

There is no top command in docker container

I try to deploy an app in docker container using mcr.microsoft.com/dotnet/aspnet:5.0 image that need to have top command when I try to run top command the following result shown: bash: top: command...

superuser.com


메인 이미지 출처 : 사진: UnsplashJigar Panchal

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.