Skip to content

Commit 200e0a9

Browse files
update Docker instructions
1 parent e17f776 commit 200e0a9

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,15 @@ Configuring Solid via the config file can be a concise and convenient method and
216216

217217
## Use Docker
218218

219-
Build with:
219+
Pull with:
220220

221221
```bash
222-
docker build -t node-solid-server .
222+
docker pull nodesolidserver/node-solid-server
223223
```
224224

225225
Run with:
226226
```bash
227-
docker run -p 8443:8443 --name solid node-solid-server
227+
docker run -p 8443:8443 --name solid nodesolidserver/node-solid-server
228228
```
229229

230230
This will enable you to login to solid on https://localhost:8443 and then create a new account
@@ -242,6 +242,14 @@ You can modify the config within the docker container as follows:
242242
- Copy the file back with `docker cp config.json solid:/usr/src/app/`
243243
- Restart the server with `docker restart solid`
244244

245+
If you want to help improve the Docker image, then you can build it locally with:
246+
```bash
247+
git clone https://github.com/solid/node-solid-server
248+
cd node-solid-server
249+
docker build .
250+
```
251+
We have a automatic builds set up so commits to master will trigger a build of https://hub.docker.com/r/nodesolidserver/node-solid-server.
252+
245253
## Library Usage
246254

247255
### Install Dependencies

0 commit comments

Comments
 (0)