연두색연필
LimePencil's Log
연두색연필
전체 방문자
오늘
어제

About Me

  • GitHub
  • Instagram
  • Gmail

인기 글

  • 분류 전체보기 (70)
    • Machine Learning (3)
      • MNIST (2)
    • PS & Algorithm (9)
    • Web (4)
      • HTML (1)
      • JavaScript (3)
    • Rust (2)
      • The Rust Programming Langua.. (2)
    • 논문 리뷰 (12)
      • Reinforcement Learning (10)
      • Computer Vision (2)
    • DevOps (17)
      • Docker (9)
      • Kubernetes (8)
    • Development (6)
      • SQL (6)
    • 잡다한 것들 (15)
      • 부스트캠프 AI Tech 4기 (13)

최근 댓글

Tag

  • 백준
  • ML
  • docker
  • 파이썬
  • K8s
  • Kubernetes
  • 쿠버네티스
  • 도커
  • 부스트캠프
  • Python
03-19 07:53
hELLO · Designed By 정상우.
연두색연필

LimePencil's Log

[Docker 배우기] Section 4. Docker Images
DevOps/Docker

[Docker 배우기] Section 4. Docker Images

2023. 12. 21. 22:37

Docker for the Absolute Beginner - Hands On - DevOps | Udemy

Dockerfile can be used to make a custom docker image.

  • FROM: starting image from another image
  • RUN: executes certain commands behind it
  • COPY: copy certain files to the image
  • ENTRYPOINT: specify a command that runs when the container is started
    • the parameter can be delivered by appending the parameter to docker run
  • ENV: specify environmental variable
    • can also be used as docker run -e [variable]
  • CMD: specifies the command to run when docker starts, but unlike ENTRYPOINT, it can be overwritten when docker run

 

docker build: used to create a docker image from Dockerfile

  • the commands in the Dockerfile are made into layers that build on top of each other
    • faster rebuild due to caching

 

docker push: pushes the image to the public hub

'DevOps > Docker' 카테고리의 다른 글

[Docker 배우기] Section 6. Docker Registry  (0) 2023.12.21
[Docker 배우기] Section 5. Docker Compose  (0) 2023.12.21
[Docker 배우기] Section 3. Docker Run  (0) 2023.12.21
[Docker 배우기] Section 2. Docker Commands  (0) 2023.12.20
[Docker 배우기] Section 1. Introduction  (0) 2023.12.19
    'DevOps/Docker' 카테고리의 다른 글
    • [Docker 배우기] Section 6. Docker Registry
    • [Docker 배우기] Section 5. Docker Compose
    • [Docker 배우기] Section 3. Docker Run
    • [Docker 배우기] Section 2. Docker Commands
    연두색연필
    연두색연필
    ML, Programming, PS, 삶의 순간을 기록

    티스토리툴바