You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
735 B
34 lines
735 B
# docker-q2pro
|
|
Dockerfile to build q2proded container
|
|
|
|
How build:
|
|
```
|
|
$docker build . --tag q2image
|
|
```
|
|
|
|
How run:
|
|
```
|
|
$docker run --name q2 -d --rm -v /home/santic/.q2pro_t:/home/quake2/.q2pro -p 27999:27910/udp q2image +set game openffa +exec server.cfg
|
|
```
|
|
|
|
How to configure Docker in ArchLinux (Rootless mode):
|
|
```
|
|
#echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/99-docker-rootless.conf
|
|
|
|
#sudo sysctl --system
|
|
|
|
$yaourt -S docker-rootless subuid-register
|
|
|
|
$subuid-register
|
|
|
|
#echo 'santic:814481408:65536' > /etc/subgid
|
|
|
|
#echo 'santic:814481408:65536' > /etc/subuid
|
|
|
|
$export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
|
|
|
$systemctl --user start docker
|
|
|
|
$systemctl --user enable docker
|
|
#loginctl enable-linger santic
|
|
```
|
|
|