You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/docker/README.md

18 lines
619 B
Markdown

# Build OpenMW using Docker
## Build Docker image
Replace `LINUX_VERSION` with the Linux distribution you wish to use.
```
docker build -f Dockerfile.LINUX_VERSION -t openmw.LINUX_VERSION .
```
## Build OpenMW using Docker
Labeling systems like SELinux require that proper labels are placed on volume content mounted into a container.
Without a label, the security system might prevent the processes running inside the container from using the content.
The Z option tells Docker to label the content with a private unshared label.
```
docker run -v /path/to/openmw:/openmw:Z -e NPROC=2 -it openmw.LINUX_VERSION
```