Open sbruhse opened 3 years ago
Hi Simon,
I encountered the same problem today. I noticed that all my containers could not retrieve the time. After a little research, I came across https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements. There the problem is described, and also how to solve (or work around) it. The issue is actually not related to samba, but to running docker on arm (64 bit) itself.
Cite:
In order to run under old Docker or libseccomp versions, the moby default seccomp profile should be downloaded and on line 2,
defaultAction
changed toSCMP_ACT_TRACE
, then--seccomp-profile=default.json
can be passed to dockerd, or--security-opt=seccomp=default.json
passed to docker create or docker run. This will cause the system calls to returnENOSYS
instead ofEPERM
, allowing the container to fall back to 32-bit time system calls. In this case, the container will not be compatible with dates past 2038.Alternatively,
--security-opt=seccomp=unconfined
can be passed with no default.json required, but note that this will reduce the security of the host against malicious code in the container.
Greetings, Gareon
Hello! When I am sending a file via my printer (pretty old smb client) I am getting following error message:
When I execute a "date" on the container I get back the following:
Sun Jan 0 00:100:4174038 1900
The docker-compose.yml is the following:
The installation was working once. Since I made a docker-compose pull I discovered that issue. I am running the container on an rpi, so the arm image is been taken.
I hope you can help me.
Greetings Simon