๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

OS/๐Ÿง Linux

โœ… Solved * [Ubuntu] no such "ping" command

Docker๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ping์„ ๋ณด๋‚ผ ์ผ์ด ์žˆ์—ˆ๋‹ค.. ๊ทผ๋ฐ ๋˜.. ์—๋Ÿฌ๊ฐ€ ๋–ณ๋‹ค.. ๋งจ๋‚  ์—๋Ÿฌ๋œธ..

 

There's no such command

ping ๋ช…๋ น์–ด๊ฐ€ ์—†๋Š” ๋ช…๋ น์–ด๋ผ๋‹ˆ!! ๐Ÿคช

 

์ด์ œ๋Š” ์ฒ˜์Œ ๊ฒฉ๋Š” ๋ฌธ์ œ๊ฐ€ ์•„๋‹ˆ๋ผ์„œ ์•„ ์„ค์น˜ํ•˜๋ฉด ๋˜๊ฒ ๊ตฌ๋‚˜ ์ƒ๊ฐํ–ˆ์ง€๋งŒ

๋Œ€์ฒด ์–ด๋Š ํŒจํ‚ค์ง€์— ์žˆ๋Š” ๊ฒƒ์ธ๊ฐ€!!

 

๋‚˜ ์ฒ˜๋Ÿผ ๋ฉ˜๋ถ•์˜จ ์‚ฌ๋žŒ๋“ค์—๊ฒŒ ๋„์›€์ด ๋˜๊ธธ ๋ฐ”๋ผ๋ฉฐ ์•„๋ž˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์ฐธ๊ณ ํ•˜์ž.

Solved

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์€ ๊ฐ„๋‹จํ•˜๋‹ค iputils-ping ๋ฅผ ์„ค์น˜ ํ•ด ์ฃผ๋ฉด ๋œ๋‹ค.

 

$ sudo apt-get update
$ sudo apt-get install iputils-ping

 

ํ˜น์‹œ๋‚˜ ์‹ถ์–ด ๋ง๋ถ™์ด์ž๋ฉด, docker์•ˆ์—์„œ์˜ ๊ฒฝ์šฐ root ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ๊ธฐ ๋•Œ๋ฌธ์—

sudo ๋ช…๋ น์–ด๋ฅผ ์“ฐ์ง€ ์•Š๊ณ  apt-get ์ดํ•˜์˜ ๋ฌธ์žฅ๋งŒ ์ž…๋ ฅํ•˜๋ฉด ๋œ๋‹ค!

 

 

 


Thanks for ๐Ÿ™ˆ