update instructions for docker-compose

This commit is contained in:
James Swineson 2022-05-14 18:38:33 +08:00 committed by GitHub
parent 8e5f708561
commit 520e56103a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,14 @@ cat /var/atlas-probe/etc/probe_key.pub
### Using Docker Compose ### Using Docker Compose
An example [`docker-compose.yaml`](/docker-compose.yaml) is provided. Note that the example config uses volumes instead of local directories. An example [`docker-compose.yaml`](/docker-compose.yaml) is provided.
```shell
git clone https://github.com/Jamesits/docker-ripe-atlas.git
cd docker-ripe-atlas
docker-compose pull
docker-compose up -d
```
## Building ## Building
@ -118,7 +125,7 @@ All the config files are stored at `/var/atlas-probe`. Just backup it.
### `sleep` command not working ### `sleep` command not working
On some systems, syscall `clock_nanosleep` and `clock_nanosleep_time64` are disabled by the default Docker seccomp. On some systems, syscall `clock_nanosleep` and `clock_nanosleep_time64` are blocked by the default Docker seccomp.
Symptoms: Symptoms:
- During container startup, `WARNING: clock_nanosleep or clock_nanosleep_time64 is not available on the system` is printed - During container startup, `WARNING: clock_nanosleep or clock_nanosleep_time64 is not available on the system` is printed