Skip to content

Latest commit

 

History

History
22 lines (22 loc) · 343 Bytes

Docker.md

File metadata and controls

22 lines (22 loc) · 343 Bytes

Docker

build an image

docker build -t image-name .

run bash

docker run -ti image-name [bash]

remove dangling images

docker image prune [-f]

Docker compose

compose up

docker compose up [--build] [-d]

run specific container

docker compose run --rm server bash