ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๋ฐ˜์‘ํ˜•

โœ… [Ubuntu] ์šฐ๋ถ„ํˆฌ 22.04 Docker compose ์„ค์น˜

2024.07.12 - [๐Ÿ“บ Develop/๐Ÿ•‹ Server] - [uBuntu] ์šฐ๋ถ„ํˆฌ 22.04 Docker ์„ค์น˜

 

[Ubuntu] ์šฐ๋ถ„ํˆฌ 22.04 Docker ์„ค์น˜

[Ubuntu] ์šฐ๋ถ„ํˆฌ 22.04 Docker ์„ค์น˜# ์‹œ์Šคํ…œํŒจํ‚ค์ง€ ์—…๋ฐ์ดํŠธsudo apt-get update# ํŒจํ‚ค์ง€ ์„ค์น˜sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common# GPGํ‚ค ์ถ”๊ฐ€curl -fsSL https://download.docke

qwercode.com

์ž ์‹œ์ž‘ํ•ด๋ด…์‹œ๋‹ค

sudo apt update
sudo apt install -y docker.io
sudo apt install -y docker-compose
sudo systemctl enable docker

์„ค์น˜์‹œ ๋‚˜ ๊ฐ™์€ ๊ฒฝ์šฐ๋Š” docker.io ์„ค์น˜์‹œ ์•„๋ž˜์™€ ๊ฐ™์€ ์ถฉ๋Œ์ด ๋ฐœ์ƒํ•˜์˜€์Šต๋‹ˆ๋‹ค.

 

์ถฉ๋Œ์ด ๋ฐœ์ƒํ• ๊ฒฝ์šฐ์—๋Š” ์‚ญ์ œํ›„ ์˜์กด์„ฑ ๋ฌธ์ œ ํ•ด๊ฒฐํ•œ ๋‹ค์Œ ์žฌ์„ค์น˜ ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

# ํŒจํ‚ค์ง€ ๋ชฉ๋ก ์—…๋ฐ์ดํŠธ
sudo apt update

# ํŒจํ‚ค์ง€ ์—…๊ทธ๋ ˆ์ด๋“œ
sudo apt upgrade

# ์ถฉ๋Œ ํŒจํ‚ค์ง€ ์‚ญ์ œ
sudo apt-get remove containerd.io
sudo apt-get remove runc

# ์˜์กด์„ฑ ๋ฌธ์ œ ์ž๋™์œผ๋กœ ํ•ด๊ฒฐ
sudo apt --fix-broken install

# ์œ„์— ๊บผ๋ฅผ ์‹คํ–‰ํ•˜๋‹ˆ๊น ์ด๊ฒƒ๋„ ์‹คํ–‰ํ•˜๋ผ๊ณ  ํ•˜๋„ค์š”
sudo apt autoremove

# ํŒจํ‚ค์ง€ ์žฌ์„ค์น˜
sudo apt install containerd
sudo apt install runc
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
๊ธ€ ๋ณด๊ด€ํ•จ
๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (80)
๐Ÿ“บ Develop (0)
๐ŸŒ‹ Error Fixed (5)
๐Ÿ— Tool (5)
๐Ÿ’ป MacBook M1 (15)
๐Ÿ“ฆ ETC (1)

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์Šต๋‹ˆ๋‹ค.