ComputerScience/DockerKubernetes(16)
-
[Docker] M1 Docker-machine Error, Ubuntu ์ค์น
์ค๋ ์ฒ์์ผ๋ก m1 ์ ์ ๊ฐ ๋ ๊ฒ์ ํํํฉ๋๋ค .. https://github.com/docker/machine/releases Releases · docker/machineMachine management for a container-centric world. Contribute to docker/machine development by creating an account on GitHub.github.com์ ๋ ์๊น๋ฆฌ๋๋ผ๊ณ ์ ^^* . . ๋๋ฌผ์ ๋จธ๊ธ๊ณ ์ฐ๋ถํฌ ์ค์น r r https://velog.io/@suzu11/Mac-M1-์์-์ฐ๋ถํฌ-์ค์นํ๊ธฐ-UTM Mac M1 ์์ ์ฐ๋ถํฌ ์ค์นํ๊ธฐ ( UTM )๐ง ์ฐ๋ถํฌ๋ฅผ ๊น๊ธฐ ์ํ ์ฌ์ ๐งvelog.io ..
2024.04.17 -
[Docker] CI/CD with Jenkins
๋์ปค์์ ์ ํจ์ค๋ฅผ ํ์ฉํ์ฌ CI/CD ์ฒดํํ๊ธฐ https://www.jenkins.io Jenkins Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software www.jenkins.io https://hub.docker.com/r/jenkins/jenkins Docker hub.docker.com * ์ฃผ์์ฌํญ - ํฐ๋ฏธ๋ ์์์ ํ์๋๋ key ๊ฐ์ ์ ์ฅํด๋ก๋๋ค. - ์ดํ ๋ก๊ทธ์ธ์ admin(ID)๊ณผ key ๊ฐ(๋น๋ฐ๋ฒํธ)๋ก ์งํ๋ฉ๋๋ค. - ๋์ผํ ํฌํธ๋ก ์ปจํ ์ด๋๋ฅผ ๋์ธ ์ ์์ผ๋, ํฌํธ ๋๋ฒ๋ฅผ ์์ ํด์ค๋๋ค. - ์์ดํ ํฌํธ..
2024.04.16 -
[Docker] Docker Compose
2024. 04. 08 Monday * Down ์ ์ฃผ์ ๊ผญ yml ํ์ผ์ด ์๋ ์์น์์ ๋ช ๋ น์ด๋ฅผ ์คํํด์ผ ํ๋ค. curl http://localhost:8000 * Docker Compose - ๋ ์ด์์ ์ปจํ ์ด๋๋ฅผ ๋ค๋ฃฐ ์ ์๋ค! https://docs.docker.com/compose/compose-application-model/ How Compose works Understand how Compose works and the Compose application model with an illustrative example docs.docker.com
2024.04.08 -
[Docker] Dockerfile build & image push
2024. 04. 01 Monday # ๋ช ๋ น์ด ls -al ls -al ๋ฐฉ์์ ๊ฐ์ฅ ๋ง์ด ์ฌ์ฉํ๋ค. ls -al/home/ ๊ณผ ๊ฐ์ด ์ถ๋ ฅํ๊ณ ์ถ์ ๋๋ ํ ๋ฆฌ๋ฅผ ์ง์ ํ ์ ์๋ค. docker container ls ์๋ฌด๊ฒ๋ ์ ๋ธ ์คํ์ค์ธ ๊ฒ๋ง ๋ณด์ฌ์ค๋ค docker container ls -a (—all) About a minute ago py3 ์คํ์ด ์ค์ง๋ ์ปจํ ์ด๋๊น์ง ๋ค ๋ธ docker build -t myapp . current directory๋ฅผ ์๋ฏธํ๋ ์ (.) docker run -it --rm --name py3 myapp Hello, World! ์ฌ๋ฌ ์ปจํ ์ด๋๊ฐ ์์ ๋, ์ปจํ ์ด๋๋ฅผ ๋ฉ์ถ ๊ฒฝ์ฐ docker container ls -a -q ๋งจ ์์ ๋์๋ง ์ถ๋ ฅ๋จ (CONTAINER ID) ..
2024.04.01 -
[Docker] Getting started with Docker
Docker ์ปจํ ์ด๋๋ก ๋์ด ์๋ฒ๋ฅผ ํ์ธํด๋ณด๊ณ ์ถ๋ค๋ฉด? (1) ์น๋ธ๋ผ์ฐ์ (2) curl (3) python requests 1. Web browser 2. curl 3. Python requests ์ฐธ๊ณ ์๋ฃ https://docs.docker.com/get-started/ Overview of the get started guide Get started with the Docker basics in this comprehensive overview, You'll learn about containers, images, and how to containerize your first application. docs.docker.com https://github.com/docker/getting-starte..
2024.03.28 -
[Docker] Docker Image and Container
Docker ๐ณ # Documentation https://docs.docker.com/reference/cli/docker/image/ https://docs.docker.com/reference/cli/docker/container/ docker container docs.docker.com # Ubuntu๋ฅผ pull ํด์ค์ docker image ls docker container ls docker pull ubuntu # ๋์ปค์ผ ์ปจํ ์ด๋ ์คํ docker container run -it -d --rm --name ubuntuos ubuntu:latest -d ์๋ฒ์ฒ๋ผ ๋์์ค --rm ๋๋๋ฉด ์ง์๋ผ -it ํค๋ณด๋ ์ ์ถ๋ ฅ, ๋ด๊ฐ ์ฅ์ ํ ๊ฑฐ์ผ ์ด๋ฆ์ ๋์๊ฐ ์๋ ubuntuos๋ก ๋ถ์ฌ์ค ์ ์๋ค # ์ฐ๋ถ..
2024.03.21