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 Offer a better way to visually distinguish between containers · Issue #98 · containers/toolbox · GitHub

2 Likes