Deploy Docker containers using the Docker CLI commands by running Docker commands in the local command line. You can use the “docker run” command to start a container, or the “docker-compose” command to launch an application composed of multiple containers.
Using Docker Compose: Docker Compose is a tool used to define and run applications with multiple Docker containers. By writing a docker-compose.yml file to define the services and configurations of the application, then using the docker-compose command to start and manage these services.
Utilizing Docker Swarm: Docker Swarm is a native Docker cluster management tool, used to deploy and manage Docker containers across multiple hosts. Applications are deployed through creating services and tasks within the Swarm cluster.
Using Docker Desktop: Docker Desktop is a desktop application for Windows and Mac OS that provides a graphical user interface and one-click deployment functionality, making it easy to deploy and manage Docker containers.
Third-party tools: There are also some third-party tools and services such as Kubernetes, Rancher, etc., which can help users deploy and manage Docker containers in local environments. These tools often offer more features and convenience, suitable for complex application deployment scenarios.