In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to deploy springBoot project to Docker under Mac. The article is very detailed and has certain reference value. Interested friends must read it!
operational flow
local deployment
Install Startup Docker on Mac. For detailed steps, please refer to: MacOS Installation Docker
clone project: docker-demo, then execute in turn:
docker build -t docker-demo ../ docker-demo
and
docker run -d -p 8080:8080 docker-demo
Online deployment
Take CentOS as an example. The example of online deployment may not be clear to me below. After sorting out the example, it will be updated in time. If you have any questions, please leave a message.
CentOS Installation docker Kubernetes Engine
Push and mirror the locally-deployed docker-demo to CentOS docker Kubernetes Engine.
Docker's image service allows you to manipulate docker images on CentOS directly locally using docker commands.
result graph
The above is "How to deploy springBoot project to Docker under Mac" all the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.