[英]How Can I install rethinkdb on Fedora 26 using docker?
I followed the following tutorial https://store.docker.com/images/rethinkdb but I can not see the ip address.What is the problem?我按照以下教程https://store.docker.com/images/rethinkdb但我看不到 ip 地址。有什么问题?
First of all: Your containers are exited so you won't be able to contact them anyway.首先:您的容器已退出,因此您无论如何都无法联系到它们。 Second: containers will be available on localhost and respond to the ports you map with the -p
flag, so -p 12345:80
will map port 80 in the container to 12345 on your machine, meaning you can connect on localhost:12345
.第二:容器将在 localhost 上可用并响应您使用-p
标志映射的端口,因此-p 12345:80
会将容器中的端口 80 映射到您机器上的 12345,这意味着您可以在localhost:12345
上进行连接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.