text Docker撰写备忘单

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Docker撰写备忘单相关的知识,希望对你有一定的参考价值。

# Start containers by running docker-compose in the background
docker-compose up -d

# Show containers running as part of docker-compose
docker-compose ps

# Show processes running in each container started by docker-compose
docker-compose top

# Stop the containers without deleting the containers or stopping other resources (network and volumes for example)
docker-compose stop

# Stop the containers and remove them as well as the network (volumes stay intact)
docker-compose down

# Remove containers and network started with docker-compose (volumes and images are left intact)
docker-compose rm

# Restart containers
docker-compose restart

以上是关于text Docker撰写备忘单的主要内容,如果未能解决你的问题,请参考以下文章

markdown Docker备忘单

markdown Docker备忘单

markdown Docker备忘单

markdown Docker备忘单

markdown Docker组成的备忘单

sh Docker备忘单