๐ŸŒฑ Infra/Container_Docker 13

[Docker-Basic (3)] ๋„์ปค ๊ธฐ๋ณธ ๋ช…๋ น์–ด ์ตํžˆ๊ธฐ :D

์ด๋ฒˆ ์‹ค์Šต์—์„œ Docker ์ปจํ…Œ์ด๋„ˆ์˜ ๊ธฐ๋ณธ ์‚ฌ์šฉ๋ฒ•์„ ์‹ค์Šตํ•ฉ๋‹ˆ๋‹ค. ๐Ÿ˜ Docker ์ปจํ…Œ์ด๋„ˆ์˜ Status์™€ ๋ผ์ดํ”„์‚ฌ์ดํด(=๋ช…๋ น์–ด)์„ ์•„๋ž˜ ์ฐธ๊ณ  ์‚ฌ์ง„์—์„œ ํ™•์ธํ•  ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค. * Docker ์ปจํ…Œ์ด๋„ˆ์˜ 5๊ฐ€์ง€ Status : created, running, stopped, paused, deleted ์ด์ œ ๊ฐ ๋ช…๋ น์–ด๋ฅผ ํ•˜๋‚˜์”ฉ ์‹คํ–‰ ํ•ด๋ณด๋ฉด์„œ ์‹ค์Šตํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค :) 1. ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑ ๋ฐ ํ™•์ธ 1-1) Create ( pull + create ) Create ๋ช…๋ น์–ด๋Š” ์ด๋ฏธ์ง€๋ฅผ ๊ฐ€์ ธ์˜ค๊ณ , ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๋ช…๋ น์–ด ์ž…๋‹ˆ๋‹ค. Create ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•  ๊ฒฝ์šฐ ์ปจํ…Œ์ด๋„ˆ๋Š” ์ƒ์„ฑ๋˜์ง€๋งŒ, Start๋ฅผ ๋ณ„๋„๋กœ ํ•ด์ฃผ์–ด์•ผ ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. # Docker container create ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด httpd ์ปจํ…Œ์ด๋„ˆ..

[Docker-Basic (2)] ์ปจํ…Œ์ด๋„ˆ ์‚ด์ง ๋ง›๋ณด๊ธฐ :)

์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ๋„์ปค ๋ง›๋ณด๊ธฐ ์ž…๋‹ˆ๋‹ค. ์ „์ฒด์ ์œผ๋กœ ์ญ‰~ ๋”ฐ๋ผ๊ฐ€๊ธฐ๋งŒ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค :) 1. ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑํ•˜๊ธฐ ๋„์ปค ์ด๋ฏธ์ง€๋ฅผ ์›๊ฒฉ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์—์„œ๋ถ€ํ„ฐ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. [root@docker /]# docker pull mariadb Using default tag: latest latest: Pulling from library/mariadb d72e567cc804: Pull complete 0f3630e5ff08: Pull complete b6a83d81d1f4: Pull complete 4bf2111ecf0e: Pull complete 9572d64978a0: Pull complete bcc9953bffb3: Pull complete de429570dda5: Pull complete 3652bc6ea9f9: ..

[Docker-Basic (1)] Centos7 Docker ์„ค์น˜ํ•˜๊ธฐ

Docker ์„ค์น˜์— ๋Œ€ํ•œ ์ •ํ™•ํ•œ ๋ฐฉ๋ฒ•์€ ๋ญ๋‹ˆ๋ญ๋‹ˆํ•ด๋„ Docker ๊ณต์‹ํ™ˆํŽ˜์ด์ง€์— ์ž˜ ๋‚˜์™€์žˆ์Šต๋‹ˆ๋‹ค.! ๊ทธ๋ž˜๋„ ์„ค์น˜ ๋‹จ๊ณ„๋งˆ๋‹ค ์•„๋ž˜ ์„ค๋ช…๋˜์–ด์žˆ์œผ๋‹ˆ, ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”! docs.docker.com/engine/install/centos/ Install Docker Engine on CentOS To get started with Docker Engine on CentOS, make sure you meet the prerequisites, then install Docker. Prerequisites OS requirements To install Docker Engine, you need a maintained version of... docs.docker.com ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ์„ค์น˜ ๋ช…๋ น์–ด์™€ ์ถœ๋ ฅ ๊ฒฐ๊ณผ๋ฅผ ๊ณต์œ ํ•˜..

728x90