๐Ÿณ Docker x Hacktoberfest 2022 - Docker ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ ๊ตฌ์ถ• ๋ฐฉ๋ฒ•

4206 ๋‹จ์–ด hacktoberfesthackingdockerdeveloper
์—์„œ ์šฐ๋ฆฌ๋Š” ์˜ฌํ•ด Docker๊ฐ€ ์˜คํ”ˆ ์†Œ์Šค ๊ฐœ๋ฐœ์ž ์ปค๋ฎค๋‹ˆํ‹ฐ์™€ ํ•จ๊ป˜ โ€‹โ€‹Hacktoberfest 2022๋ฅผ ์ถ•ํ•˜ํ•œ๋‹ค๋Š” ์†Œ์‹์„ ๊ณต์œ ํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ธ”๋กœ๊ทธ ๊ฒŒ์‹œ๋ฌผ์—์„œ๋Š” Docker ํ™•์žฅ์„ ์‹œ์ž‘ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณด๋‹ค ๊ฐ„๋‹จํ•œ ๋ฐฉ๋ฒ•์œผ๋กœ Docker Extensions๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ ์œ„ํ•ด ๋”ฐ๋ฅผ ์ˆ˜ ์žˆ๋Š” ์ž์Šต์„œ, ๋น„๋””์˜ค ๋ฐ ์ฐธ์กฐ ๋งํฌ๋ฅผ ํŽธ์ง‘ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋›ฐ์–ด๋“ค์ž.

๐Ÿ—๏ธ์ฒซ ๋ฒˆ์งธ Docker ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ๋นŒ๋“œํ•˜๋Š” ๋ฐฉ๋ฒ•



์‹œ์ž‘ํ•˜๋ ค๋ฉด ๋ช‡ ๋ถ„ ์•ˆ์— ์ฒซ ๋ฒˆ์งธ Docker ํ™•์žฅ์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋‹น์‚ฌQuickStart guide๋ฅผ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.

๊ฐ„๋‹จํžˆ ๋งํ•ด์„œ:
  • ์•„์ง Docker Desktop์„ ์„ค์น˜ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ install Docker Desktop .
  • ํ„ฐ๋ฏธ๋„์— ๋‹ค์Œ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  • docker extension init my-extension
    


    ํ™•์žฅ์— ๋Œ€ํ•œ Docker ์ด๋ฏธ์ง€ ์ด๋ฆ„๊ณผ ๋ช‡ ๊ฐ€์ง€ ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•˜๋ผ๋Š” ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ๊ธฐ๋ณธ UI ๋ฐ ์—ฐ๊ฒฐ๋œ ๋ฐฑ์—”๋“œ ์„œ๋น„์Šค(์„ ํƒ ์‚ฌํ•ญ)๊ฐ€ ํฌํ•จ๋œ hello-world ํ™•์žฅ์ด ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.
  • ์ƒ์„ฑ๋œ ํด๋”๋กœ ์ด๋™ํ•˜๊ณ  ๋‹ค์Œ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  • make install-extension
    


    ์ƒ์„ฑ๋œ ํ™•์žฅ์„ ๋นŒ๋“œํ•˜๊ณ  ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.
  • Docker Desktop ๋Œ€์‹œ๋ณด๋“œ๋ฅผ ์—ด๊ณ  Test-Extension ํƒญ์œผ๋กœ ์ด๋™ํ•˜์—ฌ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ํ…Œ์ŠคํŠธํ•ฉ๋‹ˆ๋‹ค. ์ด์ œ ์‹คํ–‰ ์ค‘์ธ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์ด ์žˆ์Šต๋‹ˆ๋‹ค!



  • ์ฐธ๊ณ :



    ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ์ถ”๊ฐ€ํ•  ๋•Œ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์—์„œ Hacktoberfest ๊ธฐ์—ฌ๋ฅผ ์ˆ˜๋ฝํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ์ง€์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋ฉด ๋‹ค๋ฅธ ์‚ฌ๋žŒ๋“ค์ด ์ฐธ์—ฌํ•˜๊ณ  ์ œ์•ˆํ•˜๋Š” ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ๊ฐœ์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

    ์งˆ๋ฌธ์ด ์žˆ์œผ์‹œ๋ฉด Community Slack channel #extensions์— ๊ฐ€์ž…ํ•˜์‹ญ์‹œ์˜ค.

    ๐Ÿ—ฃ๏ธHacktoberfest ๋ชฉ๋ก์—์„œ Docker ํ™•์žฅ ์ œ์•ˆ


  • ํ™•์žฅ์— ๋Œ€ํ•œ GitHub ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๊ฐ€ ์žˆ์œผ๋ฉด README.md๋ฅผ ํŽธ์ง‘ํ•˜๊ณ  ํ™•์žฅ, ๋ฌธ์ œ์  ๋˜๋Š” ํ•ด๊ฒฐํ•ด์•ผ ํ•˜๋Š” ์‚ฌ์šฉ์ž๋ฅผ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.
  • ์ƒˆ Git ์ €์žฅ์†Œ๋ฅผ GitHub ๊ณ„์ •์œผ๋กœ ํ‘ธ์‹œํ•ฉ๋‹ˆ๋‹ค.

  •  git remote add origin https://github.com/my-account/my-extension.git
     git push -u origin main
    


  • ํฌํฌhttps://github.com/docker/hacktoberfest-2022 ๋ ˆํฌ
  • docker/harcktoberfest repo์˜ ๋กœ์ปฌ ๋ณต์ œ๋ณธ์—์„œ ๋ชฉ๋ก์— ํ™•์žฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค( README.md ). ๋‹ค์Œ์„ ํฌํ•จํ•˜๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์‹ญ์‹œ์˜ค.
  • ํ™•์žฅ์ž ์ด๋ฆ„ ๋ฐ ํ•œ ์ค„ ์„ค๋ช…
  • ์„ค๋ช…์„ ์œ„ํ•œ Github ์ €์žฅ์†Œ
  • ์ถ”๊ฐ€ํ•˜๋Š” ํ™•์žฅ์˜ ์ƒํƒœ: idea (ํ™•์žฅ์„ ์‹ค์ œ๋กœ ์ฝ”๋”ฉํ•˜๊ธฐ ์‹œ์ž‘ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ), Community (์ผ๋ถ€ ์ฝ”๋“œ๊ฐ€ ์‹œ์ž‘๋จ), functional (๊ธฐ๋Šฅ์ด ๊ตฌํ˜„๋จ)
  • ๋‹ค๋ฅธ Hacktoberfest ์ฐธ๊ฐ€์ž์˜ PR์„ ์ˆ˜๋ฝํ• ์ง€ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค(git repo์— hacktoberfest ๋ ˆ์ด๋ธ” ์„ค์ •)

  • ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ปค๋ฐ‹ํ•˜๊ณ  ๋กœ์ปฌ ํฌํฌ์— ๋ธŒ๋žœ์น˜๋ฅผ ํ‘ธ์‹œํ•˜๊ณ  ๋ธŒ๋žœ์น˜์™€ ํ•จ๊ป˜ docker/harcktoberfest์—์„œ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค
  • .

    ๐Ÿ“น๋™์˜์ƒ




    ์ฒซ ๋ฒˆ์งธ Docker ํ™•์žฅ์„ ๋นŒ๋“œํ•˜๋Š” ๋ฐฉ๋ฒ•
    ์ฒ˜์Œ๋ถ€ํ„ฐ Docker ํ™•์žฅ ๋งŒ๋“ค๊ธฐ







    Docker ํ™•์žฅ ์†Œ๊ฐœ
    Docker ํ™•์žฅ์ด๋ž€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?





    ๐Ÿ’ฌ์ง€์› ๋ฐ ์ปค๋ฎค๋‹ˆํ‹ฐ



    Docker Extension์„ ๊ตฌ์ถ•ํ•˜๋Š” ๋ฐ ์ถฉ๋ถ„ํ•œ ๊ด€์‹ฌ์ด ์žˆ๋‹ค๋ฉด Docker ํŒ€์—์„œ ์ง€์›์„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    Docker Forum์—์„œ ์šฐ๋ฆฌ๋ฅผ ์ฐพ๊ฑฐ๋‚˜ SDK repo์— ๋ฌธ์ œ๋ฅผ ๊ฒŒ์‹œํ•˜๊ฑฐ๋‚˜ ์ด๋ฉ”์ผ ํ™•์žฅ(AT)docker.com์„ ํ†ตํ•ด ์—ฐ๋ฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

    ์ฐธ์กฐ:


  • Introduction to Docker Extensions
  • How to create your own Docker Extensions
  • Create Your First Extensions
  • Minimal frontend extensions tutorial
  • Minimal React Extensions tutorial
  • Minimal Docker CLI Extensions tutorial
  • ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ