Depends on how you run the container.
If using the app, then it likely run in kubernetes.
For this you need to have either kubectl or search in the UI how you can exec a command inside the running pod, but basically you need something like
kubectl get po -A | grep "storagenode"
this will allow you to find the pod with storagenode
then
There is no need to know the pod name. You can just open a shell inside the container and execute the storagenode command. This is from TrueNAS Scale but Core should have a similar button or menu.
I choose the way above within the app shellPreformatted text
WARNING: Your user does not have sudo privileges so /usr/local/bin/k3s command will run
on your behalf. This might cause permission issues.
$ ./storagenode exit-satellite --identity-dir identity --config-dir config./storagenode exit-satellite --identity-dir identity --config-dir config
2024-04-16T16:05:46Z INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-04-16T16:05:46Z INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-04-16T16:05:46Z INFO Identity loaded. {"Process": "storagenode", "Node ID": "12ke4aaDAJK3Vuf5uZprmxwgswzgw32XdK1jrkP1Rv3Wy4zfGNr"}
By starting a graceful exit from a satellite, you will no longer receive new uploads from that satellite.
This action can not be undone.
Are you sure you want to continue? [y/n]
:y
Domain Name Node ID Space Used
saltlake.tardigrade.io:7777 1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE 122.67 GB
ap1.storj.io:7777 121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 153.23 GB
us1.storj.io:7777 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S 3.10 TB
eu1.storj.io:7777 12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs 2.23 TB
Please enter a space delimited list of satellite domain names you would like to gracefully exit. Press enter to continue:
Invalid input. Please use valid satellite domian names.
Error: Invalid satellite domain names
$ saltlake
/bin/sh: 2: saltlake: not found
$ us1.storj.io
/bin/sh: 3: us1.storj.io: not found
$ us.storj.io:7777
/bin/sh: 4: us.storj.io:7777: not found
$ ^C
$ ap1.storj.io:7777
/bin/sh: 5: ap1.storj.io:7777: not found
$
please note, these paths identity and config should be like that, they are paths inside the container.
Perhaps the simple double paste and you actually did run it correctly not like you presented here?
you need to provide them as a list of their domain names including port, i.e.