목록Docker (2)
Moe's Tech Blog
[Docker] 유용한 커멘드들
Docker 이미지 리스트 볼때 docker image ls Docker 이미지 지울때 docker image rm Docker container 리스트 볼려고 할때 docker ps Docker container 안에 커멘드 실행할때 docker exec -it
Docker
2022. 4. 22. 22:26

1. Create "Dockerfile" in project root folder 2. Populate "Dockerfile" with content similar to the following: 3. Make docker image using the following command (where Dockerfile is): docker build . After successful build, the following line will show Successfully built 4. Run the container using the following command: docker run -p 5. To stop the container, run the following command: docker stop ..
Docker
2022. 4. 22. 11:45