toolbox cannot create containers

I'm on a pretty fresh bazzite install and ssh'd into the device. When running toolbox create container-name --verbose, I get two errors. 1. host directory cannot be empty 2. failed to create container container-name Any ideas? I've never dealt with toolbox before.
2 Replies
dodos
dodosOP2mo ago
https://github.com/containers/toolbox/issues/886 Seems its caused by XDG_RUNTIME_DIR being empty. Need to find out a fix for this.
GitHub
"Error: host directory cannot be empty" when running "toolbox creat...
Toolbox cannot be used by a user other than root. Running the command as root is not helpful, though, because it does not integrate properly with my user's files. toolbox create --log-level deb...
dodos
dodosOP2mo ago
I guess its just not possible to use toolbox on ssh. $(whoami) returns the username, but /run/user/$(whoami) doesn't exist, just the uid 1000

Did you find this page helpful?