Docker-compose command memo

Comparison with docker command (assuming that docker-compose.yml is written)

$ docker build <Path of the file to build> ↔︎ $ docker-compose build
$ docker run <docker image> ↔︎ $ docker-compose up //If it is not built, it will also build
$ docker exec <container><command> ↔︎ $ docker-compose exec <service><command>

$ docker-compose down //  :stop and rm

Recommended Posts

Docker-compose command memo
Command docker-compose
Docker command memo
Frequently used docker-compose command
Docker Machine command memo
docker-compose command list (for Rails)
nft command memo of nf_tables (CentOS8)
Integer memo
Command Pattern
Lombok memo
Dockerfile memo
Iterator memo
corretto memo
Java memo
AWS memo
Docker command
try docker-compose
Dcokerfile memo
Ruby memo
Memo Stream
Environment construction command memo with Docker on AWS