Преглед изворни кода

readme: document how to disable api access from host

Fabian Peter Hammerle пре 4 година
родитељ
комит
43809beef5
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -53,6 +53,12 @@ docker run --name ipfs \
     fphammerle/ipfs:latest
 ```
 
+## disable api access from host
+
+```sh
+docker run -e IPFS_API_ADDR=/ip4/127.0.0.1/tcp/5001 …
+```
+
 ## publish clipboard
 
 ```sh