README.md: Suggest safer docker flags
Resolves #4271 License: MIT Signed-off-by: kpcyrd <git@rxv.cc>
kpcyrd committed
Oct 2, 2017 at 15:02 UTC
65175e8ac9f906ef37222a736fdfad92a1a7cd25
1 file changed
+1
-1
README.md
+1
-1
@@ -253,7 +253,7 @@ IPFS files that will persist when you restart the container.
253
254
Start a container running ipfs and expose ports 4001, 5001 and 8080:
255
256
- docker run -d --name ipfs_host -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 8080:8080 -p 4001:4001 -p 5001:5001 ipfs/go-ipfs:latest
256
+ docker run -d --name ipfs_host -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/go-ipfs:latest
257
258
Watch the ipfs log:
259