2023-12-28 10:07:43 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
2024-01-08 10:56:10 -07:00
|
|
|
exec 2>&1
|
|
|
|
|
2023-12-28 10:07:43 -07:00
|
|
|
me=$(basename $(pwd))
|
|
|
|
image=jamesits/ripe-atlas:latest
|
|
|
|
|
2024-01-08 10:56:10 -07:00
|
|
|
#podman pull $image
|
|
|
|
podman rm -f $me
|
2023-12-28 10:07:43 -07:00
|
|
|
podman run \
|
|
|
|
--name $me \
|
|
|
|
--cpu-shares 128 \
|
|
|
|
--cap-drop ALL \
|
|
|
|
--cap-add CHOWN \
|
|
|
|
--cap-add SETUID \
|
|
|
|
--cap-add SETGID \
|
|
|
|
--cap-add DAC_OVERRIDE \
|
|
|
|
--cap-add NET_RAW \
|
|
|
|
--volume /srv/sys/atlas/etc:/var/atlas-probe/etc \
|
|
|
|
--volume /srv/sys/atlas/status:/var/atlas-probe/status \
|
|
|
|
$image
|