Skip to content

Commit

Permalink
Describe how to launch the docker container.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Jun 8, 2022
1 parent b06e0ff commit 71a5c14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,20 @@ See LICENSE.txt for the details of distributing this software.

## Building Docker image

The image can be built with either `docker` or `nerdctl` depending on which container environment you have installed. Here I show the example using
Racher Desktop configured to use `nerdctl`.

```bash
mvn clean package -DskipTests
nerdctl build -t dataone-index-worker:2.4.0 -f docker/Dockerfile --build-arg TAG=2.4.0 .
```

## Running the IndexWorker in the docker container

```bash
nerdctl run --rm dataone-index-worker:2.4.0
```

## History

This is a refactored version of the original DataONE [d1_cn_index_processor](https://github.com/DataONEorg/d1_cn_index_processor) that runs completely independently of other
Expand Down

0 comments on commit 71a5c14

Please sign in to comment.