๐Ÿณ Docker Cheat Sheet

godoriยท2019๋…„ 4์›” 28์ผ
9
post-thumbnail

๐Ÿšข Run Container

Examples:

  • /bin/sh: Alpine Linux has no bash shell. Instead, use "/bin/sh" to execute shell.

๐Ÿณ List

  • -aย : for all. works even if your container is not running
  • -qย : for quiet. output only the ID
  • -fย : forย filter.

Filter Examples:

image.png

๐Ÿ— Build Images

โŒ Remove Containers & Images

๐Ÿ‹ Dockerfile

asciicast

Create Project Dir

Write Dockerfile

Build Image & Run Container

profile
Love ๐ŸŽง Play ๐ŸŽฎ Drink ๐Ÿบ

6๊ฐœ์˜ ๋Œ“๊ธ€

comment-user-thumbnail
2019๋…„ 4์›” 28์ผ

ํ˜น์‹œ VSCODE๋ฅผ ์‚ฌ์šฉํ•˜์‹ ๋‹ค๋ฉด, Docker extension์„ ์ถ”์ฒœํ•ด๋“œ๋ฆฝ๋‹ˆ๋‹ค.
์ฐธ๊ณ  (https://code.visualstudio.com/docs/azure/docker)

1๊ฐœ์˜ ๋‹ต๊ธ€
comment-user-thumbnail
2019๋…„ 4์›” 28์ผ

๋‹ค์Œ์€ Docker Compose Cheat Sheet ๋„ ์ข€ ์จ์ฃผ์„ธ์š” (๋ป”๋ป”)

3๊ฐœ์˜ ๋‹ต๊ธ€