In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Uninstall the existing docker:apt-get remove docker docker-engine docker.io2. Install: apt-get install\ apt-transport-https\ ca-certificates\ curl\ software-properties-common3.curl-fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add- 4.apt-key fingerprint 0EBFCD885.add-apt-repository\ "deb [arch=amd64] https://download.docker.com/linux/ubuntu\ $(lsb_release-cs)\ stable" 6.apt-get update7.apt-get install docker-ce
Note:
Custom network
Docker network create-- subnet 10.136.22.0 take 24 cnpro
View the created bridge
Docker network ls
Common docker uses:
Docker run-d-- name test\-- privileged-- restart=always\-- net uspro-- ip 172.31.3.11\-v / opt/app/test:/usr/local/tomcat/webapps/ROOT\-v / opt/app/logs/test:/usr/local/tomcat/logs\-v / storage:/storage\-p 8081 privileged 8080\ tomcat:8.0
Reference official website: https://docs.docker.com/install/linux/docker-ce/ubuntu/#docker-ee-customers
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.