Skip to content

Commit

Permalink
chore: add docker section to readme (ipfs#1560)
Browse files Browse the repository at this point in the history
* chore: add docker section to readme

* Update README.md

* Update README.md

Co-authored-by: Jessica Schilling <[email protected]>
  • Loading branch information
rafaelramalho19 and jessicaschilling authored Jul 24, 2020
1 parent ae79a1b commit 2175e0e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ To reset your config back to the default configuration, run the following comman

You might also like to copy the `~/.ipfs/config` file somewhere with a useful name so you can use `ipfs config replace <file>` to switch your node between default and dev mode easily.

## Running with Docker

If you need to run IPFS in a Docker container, you can still have Web UI available by exposing both the Gateway and Web UI ports.

Using the default ports:

```sh
docker pull ipfs/go-ipfs
docker run -p 8080:8080 -p 5001:5001 -it ipfs/go-ipfs
```

See the [go-ipfs page](https://hub.docker.com/r/ipfs/go-ipfs) on Docker Hub to get started using IPFS with Docker.

## Build

To create an optimized static build of the app, output to the `build` directory:
Expand Down

0 comments on commit 2175e0e

Please sign in to comment.