I followed the following tutorial https://store.docker.com/images/rethinkdb but I can not see the ip address.What is the problem?
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
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.