Access container name in Bash

Is it possible to access the container name from a Bash script? I have a custom command prompt and so the default purple hexagon is gone. But ideally, instead of just a purple hexagon it’d be great to see the actual container name.

Is this documented anywhere? Thanks!

1 Like

Just found https://github.com/containers/toolbox/issues/98

2 Likes