Docker-Compose exec命令等价于docker exec命令,使用此子命令,您可以在服务中运行任意命令。默认情况下,命令是分配TTY的,因此您可以使用命令docker-compose exec web sh来获得交互式提示。 语法格式 Usage: exec [options] [-e KEY=VAL...] SERVICE COMMAND [ARGS...] Options: -d ...
How to use Rocky Linux as a Docker container image Your email has been sent The creator of Rocky Linux has made the distribution available as a Docker image. Jack Wallen shows you how to get it, ...