Skip to content

Commit a86e87e

Browse files
authored
Fix Docker install instructions (#14)
1 parent 2e30a02 commit a86e87e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

src/docker-install.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ Please follow the instructions you can find there: [https://www.docker.com/](htt
1111
## Installing HADDOCK3 from provided image
1212

1313
```bash
14-
# Run the latest haddock3 version
15-
docker run ghcr.io/haddocking/haddock3:latest
14+
# Install the latest haddock3 version
15+
docker pull ghcr.io/haddocking/haddock3:latest
16+
docker tag ghcr.io/haddocking/haddock3:latest haddock3
1617

1718
## OR
1819

19-
# Run a haddock3 specific version (e.g: 2024.12.0b7)
20+
# Install a haddock3 specific version (e.g: 2024.12.0b7)
2021
docker run ghcr.io/haddocking/haddock3:2024.12.0b7
22+
docker tag ghcr.io/haddocking/haddock3:2024.12.0b7 haddock3
23+
24+
# Run HADDOCK with a workflow file, e.g. myworkflow.cfg
25+
docker run \
26+
-v $(pwd):/cwd \
27+
--workdir /cwd \
28+
-u $(id -u) \
29+
haddock3 \
30+
myworkflow.cfg
31+
2132
```

0 commit comments

Comments
 (0)