You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the idea of containerized applications, an application in the container which can be called in any other container using (modified) distrobox-export-generated script:
#!/bin/sh# distrobox_binary# name: visif [ -z"${CONTAINER_ID}" ];thenexec /usr/bin/distrobox-enter -n vis -- /usr/bin/vis "$@"elif [ -x"/usr/bin/vis" ] ;then
/usr/bin/vis "$@"elif [ -x"/usr/bin/distrobox-host-exec" ] ;then
/usr/bin/distrobox-host-exec ~/.bin/vis "$@"elseecho"Cannot run vis"exit 255
fi
Everything works just fine, but the only problem is that editor leaves behind itself zero-length some kind of temporary files (.something.vis.something). I guess, there is some confusion about the rights and ownership of files inside of the container and outside of it. However, when looking at ps aux it seems the editor runs under the same user as the user in the container, so there shouldn’t be a problem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I like the idea of containerized applications, an application in the container which can be called in any other container using (modified)
distrobox-export
-generated script:(the Docker file for the container)
Everything works just fine, but the only problem is that editor leaves behind itself zero-length some kind of temporary files (
.something.vis.something
). I guess, there is some confusion about the rights and ownership of files inside of the container and outside of it. However, when looking atps aux
it seems the editor runs under the same user as the user in the container, so there shouldn’t be a problem.Anybody, any idea, what’s going on, please?
Beta Was this translation helpful? Give feedback.
All reactions