Closed jef-hu closed 4 years ago
Nice catch, thanks!
Yes. Thank you. Documentation is sparse in this area. It is a good thing I found this issue.
Putting this line in the .csproj file under the <PropertyGroup>
corrected the issue for me:
<DockerfileRunArguments>--cap-add=NET_ADMIN --privileged</DockerfileRunArguments>
Specifically:
docker: Error response from daemon: linux spec capabilities: Unknown capability to add: "CAP_CAP_NET_RAW".
Command:
sudo docker run --detach --restart=always --log-opt max-size=10m --cpus=1 --memory=64m --memory-reservation=64m --cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN --mount type=tmpfs,destination=/var/atlasdata,tmpfs-size=64M -v /var/atlas-probe/etc:/var/atlas-probe/etc -v /var/atlas-probe/status:/var/atlas-probe/status -e RXTXRPT=yes --name ripe-atlas --hostname "$(hostname --fqdn)" jamesits/ripe-atlas:latest-armv7l
Fix: corrected syntax of capabilities, ie: --cap-add=NET_RAW --cap-add=CHOWN
Sysinfo: