Skip to content

Commit 1e72c3a

Browse files
committed
Update README with new build instructions
Signed-off-by: Kevin Klues <[email protected]>
1 parent 5d2f30e commit 1e72c3a

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,26 @@ The implementation relies on kernel primitives and is designed to be agnostic of
1212

1313
## Installing the library
1414
### From packages
15-
Refer to the [repository configuration](https://nvidia.github.io/libnvidia-container/) for your Linux distribution.
15+
Configure the [package repository](https://nvidia.github.io/libnvidia-container/) for your Linux distribution.
16+
17+
Install the packages:
18+
```bash
19+
libnvidia-container1
20+
libnvidia-container-tools
21+
```
1622

1723
### From sources
1824
With Docker:
1925
```bash
20-
# Generate packages for a given distribution in the dist/ directory
21-
make docker-ubuntu:16.04
26+
# Generate docker images for a supported <os><version>
27+
make {ubuntu18.04, ubuntu16.04, debian10, debian9, centos7, amazonlinux1, amazonlinux2, opensuse-leap15.1}
28+
29+
# Or generate docker images for all supported distributions in the dist/ directory
30+
make docker
2231
````
2332

33+
The resulting images have the name `nvidia/libnvidia-container/<os>:<version>`
34+
2435
Without Docker:
2536
```bash
2637
make install

0 commit comments

Comments
 (0)