In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to configure CentOS6.4 docker remote api, I hope you will learn something after reading this article, let's discuss it together!
My docker version
# docker versionClient: Version: 1.9.1 API version: 1.21 Go version: go1.4.3 Git commit: a34a1d5 Built: Fri Nov 20 17:56:04 UTC 2015 OS/Arch: linux/amd64Server: Version: 1.9.1 API version: 1.21 Go version: go1.4.3 Git commit: a34a1d5 Built: Fri Nov 20 17:56:04 UTC 2015 OS/Arch: linux/amd64
Edit the file:
Vim / etc/sysconfig/docker join other_args= "- H tcp://0.0.0.0:5555-H unix:///var/run/docker.sock"
Access successful:
# curl http://192.168.133.128:5555/containers/json[{"Id":"24548c4b6ea7411c3e45c2bf33691a60b8ba35de4b1f01719aa70014a9d1601b","Names":["/shipyard-rethinkdb"],"Image":"shipyard/rethinkdb","ImageID":"01d0c7f830abee950e943860d496e5369319e509c560221f22076ec76b9ba64d","Command":"/usr/bin/rethinkdb-- bind all "," Created ": 1467885825," Ports ": [{" IP ":" 0.0.0.0 "," PrivatePort ": 29015," PublicPort ": 32768," Type ":" tcp "} {"IP": "0.0.0.0", "PrivatePort": 28015, "PublicPort": 32769, "Type": "tcp"}, {"IP": "0.0.0.0", "PrivatePort": 8080, "PublicPort": 32770, "Type": "tcp"}], "Labels": {}, "Status": "Up 14 minutes", "HostConfig": {"NetworkMode": "default"}, {"Id": "714dec2d3c2fd55c0a33dc7978668738f1ae0a8540433825e3d382ba1cf3b377", "Names": ["/ shipyard-rethinkdb-data"] "Image": "shipyard/rethinkdb", "ImageID": "01d0c7f830abee950e943860d496e5369319e509c560221f22076ec76b9ba64d", "Command": "/ bin/bash-l", "Created": 1467885824, "Ports": [{"PrivatePort": 29015, "Type": "tcp"}, {"PrivatePort": 28015, "Type": "tcp"}, {"PrivatePort": 8080, "Type": "tcp"}], "Labels": {}, "Status": "Up 14 minutes", "HostConfig": {"NetworkMode": "default"}] finish reading this article I believe you have a certain understanding of "how to configure docker remote api in CentOS6.4". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.