DOCKER

docker 설치

라구엘 2022. 12. 12. 21:56

1. docker run --name repo alpine/git clone https://github.com/docker/getting-started.git

 

GitHub - docker/getting-started: Getting started with Docker

Getting started with Docker. Contribute to docker/getting-started development by creating an account on GitHub.

github.com

2. docker cp repo:/git/getting-started/ .

3. cd getting-started

4. docker build -t docker101tutorial .

5. docker run -d -p 80:80 --name docker-tutorial docker101tutorial

'DOCKER' 카테고리의 다른 글

docker - root 계정접속 실패  (0) 2022.12.16
docker - mysql8 설치  (0) 2022.12.15
docker 설치 (ubuntu 20.04 LTS)  (0) 2022.12.15