后续为大家逐个讲解一下docker常用命令及其相关用法。docker常用命令查看如下:
[root@centos79 ~]# docker --helpUsage:  docker [OPTIONS] COMMANDA self-sufficient runtime for containersCommon Commands:run         Create and run a new container from an imageexec        Execute a command in a running containerps          List containersbuild       Build an image from a Dockerfilepull        Download an image from a registrypush        Upload an image to a registryimages      List imageslogin       Log in to a registrylogout      Log out from a registrysearch      Search Docker Hub for imagesversion     Show the Docker version informationinfo        Display system-wide informationManagement Commands:builder     Manage buildsbuildx*     Docker Buildx (Docker Inc., v0.11.2)compose*    Docker Compose (Docker Inc., v2.21.0)container   Manage containerscontext     Manage contextsimage       Manage imagesmanifest    Manage Docker image m