-
docker
The
docker
cli is used when managing individual containers on a docker engine.It is the client command line to access the docker daemon api.
-
docker-compose
The
docker-compose
cli can be used to manage a multi-container application.It also moves many of the options you would enter on the
docker run
cli into thedocker-compose.yml
file for easier reuse.It works as a front end “script” on top of the same docker api used by
docker
, so you can do everythingdocker-compose
does withdocker
commands and a lot of shell scripting. -
References
理解differences between docker vs. docker-compose
猜你喜欢
转载自blog.csdn.net/The_Time_Runner/article/details/108893376
今日推荐
周排行