Docker running on windws 10 pro, I have couchbase image which I’d like to run, looking at the provided info I should use the following command:
docker run -d --name cb1 -p 8091-8094:8091-8094 -p 11210:11210 couchbase
So, I run this command instead:
docker run -d --name cb1 couchbase
Now it looks like things are good, however, as I am new to this I wonder what’s the difference between the two commands and should I expect rpoblems, using the shorter command and not mapping those ports explicitly?
However when I run netstat -b I see:
TCP 127.0.0.1:11210 MKRUSTEV:49955 ESTABLISHED
TCP 127.0.0.1:11210 MKRUSTEV:49958 ESTABLISHED
TCP 127.0.0.1:11210 MKRUSTEV:49959 ESTABLISHED
TCP 127.0.0.1:11210 MKRUSTEV:49972 ESTABLISHED
Any help would be extremely appreciated!