From 8060f65f1ac44578b81af36ef5fed2b4cf934d80 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sun, 15 May 2022 18:30:16 +0800 Subject: [PATCH] revert base image to Debian 10 per https://github.com/Jamesits/docker-ripe-atlas/issues/19 --- Dockerfile | 2 +- README.md | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5be204e..c8da792 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## builder -FROM --platform=$BUILDPLATFORM debian:stable-slim as builder +FROM --platform=$BUILDPLATFORM debian:10-slim as builder LABEL image="ripe-atlas-builder" ARG BUILDPLATFORM ARG TARGETPLATFORM diff --git a/README.md b/README.md index 770fc33..ef7aabe 100644 --- a/README.md +++ b/README.md @@ -126,15 +126,3 @@ Then start the RIPE Atlas container with argument `--label=com.centurylinklabs.w ### Backup All the config files are stored at `/var/atlas-probe`. Just backup it. - -### `sleep` command not working - -On some systems, syscall `clock_nanosleep` and `clock_nanosleep_time64` are blocked by the default Docker seccomp. - -Symptoms: -- During container startup, `WARNING: clock_nanosleep or clock_nanosleep_time64 is not available on the system` is printed -- Atlas software stops working after a while, printing logs like `sleep: cannot read realtime clock: Operation not permitted` - -Temporary workaround: - -Add `--security-opt seccomp:unconfined` to the `docker run` commandline.