Home [Docker] 자주 사용하는 커멘드
Post
Cancel

[Docker] 자주 사용하는 커멘드

  • Builds, (re)creates, starts, and attaches to containers for a service

    docker-compose up (-d : detached mode)

  • delete with id

    docker rmi [image id]

  • list images

    docker images

  • build image

    docker build –tag [tag-name] –build-arg [key]=[value] . --no-cache : 이미 빌드된 layer 재빌드

  • push image

    docker push [registry:tag]

  • list running container

    docker container ls

  • run container

    docker container run [-it : interactive mode] –publish [container port]:[host port] [-d] –name [name] -e [key]=[value]

  • delete container

    docker container rm (-f) [CONTAINER ID]

  • run container

    docker run –name [container name] [tag]

This post is licensed under CC BY 4.0 by the author.

[Trouble Shooting] Spring Maven Project에서 갑자기 api endpoint에 404 error가 뜰때 + Dynamic Web Module to x.x Error in Eclipse

[Spring Boot] Spring 2.x 버전에서 JAR로 Packaging 하는 것에 대하여

Comments powered by Disqus.

Trending Tags